python /home/cod/mtr/script_for_cron.py -j default -m 10 -a 'python3 /home/cod/workarea/git/raspi-fotonower-x/python/upload_photos.py -n foto6_sync -u marlene.fotonower.com -f /data_4/data_root/cod/foto6_sync/ -t  f3edbb314dc065ff4da5d1c409a223ac --datou_id=4749 -j upload_by_sql_test -v --status_upload 0 --interval 1 --file_local_db /home/cod/.fotonower_config_foto6_sync/sqlite.db --fotonower_config_path /home/cod/.fotonower_config_foto6_sync ' -s cod_upload_foto6_sync -M 0 -S 0 -U 90,90,90
Traceback (most recent call last):
  File "/usr/lib/python3.8/pathlib.py", line 1288, in mkdir
    self._accessor.mkdir(self, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/data_2/data_log/cod_log/job/2025/August/23082025/check'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/pathlib.py", line 1288, in mkdir
    self._accessor.mkdir(self, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/data_2/data_log/cod_log/job/2025/August/23082025'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/pathlib.py", line 1288, in mkdir
    self._accessor.mkdir(self, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/data_2/data_log/cod_log/job/2025/August'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/pathlib.py", line 1288, in mkdir
    self._accessor.mkdir(self, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/data_2/data_log/cod_log/job/2025'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/pathlib.py", line 1288, in mkdir
    self._accessor.mkdir(self, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/data_2/data_log/cod_log/job'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/pathlib.py", line 1288, in mkdir
    self._accessor.mkdir(self, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/data_2/data_log/cod_log'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/cod/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 18, in <module>
    logger = Logger('Upload', 'uploader_logger', False).start()
  File "/home/cod/workarea/git/raspi-fotonower-x/python/logger.py", line 26, in start
    return self.build_logger(self.debug)
  File "/home/cod/workarea/git/raspi-fotonower-x/python/logger.py", line 36, in build_logger
    return self.printed_logging() if debug else self.file_out_logging()
  File "/home/cod/workarea/git/raspi-fotonower-x/python/logger.py", line 40, in file_out_logging
    Path('%s/%s/%s' % (self.logfolder, datetime.today().strftime("%Y/%B/%d%m%Y"), self.log_path.split('/')[0])).mkdir(parents=True, exist_ok=True) 
  File "/usr/lib/python3.8/pathlib.py", line 1292, in mkdir
    self.parent.mkdir(parents=True, exist_ok=True)
  File "/usr/lib/python3.8/pathlib.py", line 1292, in mkdir
    self.parent.mkdir(parents=True, exist_ok=True)
  File "/usr/lib/python3.8/pathlib.py", line 1292, in mkdir
    self.parent.mkdir(parents=True, exist_ok=True)
  [Previous line repeated 3 more times]
  File "/usr/lib/python3.8/pathlib.py", line 1288, in mkdir
    self._accessor.mkdir(self, mode)
PermissionError: [Errno 13] Permission denied: '/data_2/data_log'
Command exited with non-zero status 1
0.15user 0.02system 0:00.18elapsed 98%CPU (0avgtext+0avgdata 32336maxresident)k
168inputs+0outputs (7major+5520minor)pagefaults 0swaps
