Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-108389

Cloud Sync Task Fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Engineering Closed (View Workflow)
    • Priority: Low
    • Resolution: User Configuration Error
    • Affects Version/s: 12.0-RELEASE
    • Fix Version/s: N/A
    • Component/s: Tasks

      Description

      When Cloud Sync tasks run automatically every day at midnight to an FTP server, the task says it fails and displays this error code

      Error: Traceback (most recent call last):
      File "/usr/local/lib/python3.8/site-packages/middlewared/job.py", line 361, in run
      await self.future
      File "/usr/local/lib/python3.8/site-packages/middlewared/job.py", line 397, in __run_body
      rv = await self.method(*([self] + args))
      File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 973, in nf
      return await f(*args, **kwargs)
      File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/cloud_sync.py", line 1058, in sync
      await self._sync(cloud_sync, options, job)
      File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/cloud_sync.py", line 1105, in _sync
      await rclone(self.middleware, job, cloud_sync, options["dry_run"])
      File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/cloud_sync.py", line 234, in rclone
      raise ValueError(message)
      ValueError: rclone failed with exit code 4

      I have attached the debug logs as well as the logs from the task.

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                releng Triage Team
                Reporter:
                jstockley Jack Stockley
                Watchers:
                Jack Stockley, William Grzybowski
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: