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

Cloud Sync to Backblaze B2 fails

    XMLWordPrintable

    Details

    • Impact:
      High

      Description

      I have a Cloud Sync setup to BackBlaze B2.  It's about 4.5GB in size.  Snapshot was not enabled.

       

      The task seems to run forever.

       

      Checking /tmp/middleward/jobs/ the last file sync'd is over over 12 hours ago.

       

      When I clicked on the RUNNING label under Tasks > Cloud Sync it showed the attached image for over 10 minutes so the task appeared to be stuck.

       

       

      I stopped the task and got this error:

       

      Error: Traceback (most recent call last):
        File "/usr/local/lib/python3.7/site-packages/middlewared/job.py", line 349, in run
          await self.future
        File "/usr/local/lib/python3.7/site-packages/middlewared/job.py", line 386, in __run_body
          rv = await self.method(*([self] + args))
        File "/usr/local/lib/python3.7/site-packages/middlewared/schema.py", line 961, in nf
          return await f(*args, **kwargs)
        File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/cloud_sync.py", line 1007, in sync
          await rclone(self.middleware, job, cloud_sync)
        File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/cloud_sync.py", line 218, in rclone
          await asyncio.wait_for(check_cloud_sync, None)
        File "/usr/local/lib/python3.7/asyncio/tasks.py", line 414, in wait_for
          return await fut
        File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/cloud_sync.py", line 377, in rclone_check_progress
          read = (await proc.stdout.readline()).decode()
      UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa0 in position 112: invalid start byte
       

      I looked through /var/log/middlewared.log and could only find the entry where rclone starts and no errors after that.

        Attachments

          Attachments

            JEditor

              Issue Links

                Activity

                  People

                  Assignee:
                  vladimirv Vladimir Vinogradenko
                  Reporter:
                  Redemption Howard Ha
                  Watchers:
                  Bug Clerk, Howard Ha, Vladimir Vinogradenko, William Grzybowski
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved: