l3uddz / cloudplow

Automatic rclone remote uploader, with support for multiple remote/folder pairings. UnionFS Cleaner functionality: Deletion of UnionFS whiteout files and their corresponding files on rclone remotes. Automatic remote syncer: Sync between different remotes via a Scaleway server instance, that is created and destroyed at every sync.
GNU General Public License v3.0
338 stars 48 forks source link

Error on upload #102

Closed JuezFenix closed 2 years ago

JuezFenix commented 3 years ago

Describe the bug Error on trying to upload

To Reproduce Steps to reproduce the behavior:

  1. Remove excludes lines from "uploader" section
  2. Remote folder have spaces on their name

Expected behavior Upload content from specified on config.json folder

Logs

Traceback (most recent call last): File "/opt/cloudplow/utils/rclone.py", line 156, in upload excludes = self.__excludes2string() File "/opt/cloudplow/utils/rclone.py", line 187, in __excludes2string self.config['rclone_excludes']).replace('=None', '').strip() KeyError: 'rclone_excludes' 2021-02-04 00:47:39,448 - ERROR - cloudplow - do_upload - Exception occurred while uploading: Traceback (most recent call last): File "/opt/cloudplow/cloudplow.py", line 377, in do_upload resp_delay, resp_trigger = uploader.upload() File "/opt/cloudplow/utils/uploader.py", line 53, in upload upload_status, return_code = rclone.upload(self.__logic)

System Information

Additional context

https://hub.docker.com/r/sabrsorensen/alpine-cloudplow/dockerfile

saltydk commented 2 years ago

You're missing rclone_excludes in your config.