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

Update rclone to remove dangling symlink

    XMLWordPrintable

    Details

      Description

      Hi,

       

      i use Cloud Sync Tasks to Backup my data to an offsite Backup Location.

      After i updated to FreeNAS 11.2-u7 (one side was 11.2-u5 and the other side was 11.2-u6) i am not able anymore to create new tasks to my other FreeNAS box.

       

      my network:

      • FreeNAS-Server   10.0.0.10 
        • hosts the original data
        • is accessed through user "backup_ext" using user/password
      • FreeNAS-Backup: 192.168.0.2 
        • provides backup-pool
        • has cloud credentials configured 
        • runs cloudsync tasks
      • between both Servers is a ipsec VPN

       

      ssh is working fine with user backup_ext and also with root, but both are not working if used in cloud sync tasks after update to 11.2-u7. 

       

      my Freenas configuration:

      on Freenas-Server 10.0.0.10

      1. create a new cloud credential
      2. then create a new cloud sync task
      3. when try to select the source directory from the remote freenas box this error is shown:
      [EFAULT] 2019/12/02 19:44:48 ERROR : : error listing: stat of non-regular file/dir failed: file does not exist
      
      Error: Traceback (most recent call last):
        File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 165, in call_method
          result = await self.middleware.call_method(self, message)
        File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1107, in call_method
          return await self._call(message['method'], serviceobj, methodobj, params, app=app, io_thread=False)
        File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1055, in _call
          return await methodobj(*args)
        File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 664, in nf
          return await f(*args, **kwargs)
        File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/cloud_sync.py", line 571, in list_directory
          return await self.ls(dict(cloud_sync, credentials=credentials), path)
        File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/cloud_sync.py", line 581, in ls
          raise CallError(proc.stderr)
      middlewared.service_exception.CallError: [EFAULT] 2019/12/02 19:44:48 ERROR : : error listing: stat of non-regular file/dir failed: file does not exist

       

      Note: when the path is entered manually the cloudsynctask can be created and everything is working fine

       

        Attachments

          Attachments

            JEditor

              Issue Links

                Activity

                  People

                  Assignee:
                  vladimirv Vladimir Vinogradenko
                  Reporter:
                  PichlAlex PichlAlex -
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved: