Mount Pcloud HomeAssistant RClone

Hi,

i have a Problem with RClone in Homeassistant. I want to sync my Backup in Pclud and Mount the Pcloud in HomeAssistant

Here the Config;

[grwwrg]
type = pcloud
hostname = eapi.pcloud.com
token = {"access_token":"XXXXXXXXXXXXXX","token_type":"bearer","expiry":"0001-01-01T00:00:00Z"}

rclone mount grwwrg:/Backups/homeassistant /homeassistant/www/pcloud --allow-other --vfs-cache-mode writes

Here the Job Config:

jobs:
  - name: Sync Daily Backups
    schedule: 0 4 * * *
    command: sync
    sources:
      - /backup
    destination: grwwrg:/Backups/homeassistant/backup
dry_run: false
config_path: /homeassistant/rclone.conf
no_rename: true
no_unrename: true
no_slugify: true

Here the LOG:

s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting

-----------------------------------------------------------
 Add-on: Rclone Backup
 Automatically sync backup to remote locations using rclone
-----------------------------------------------------------
 Add-on version: 3.3.2
 You are running the latest version of this add-on.
 System: Home Assistant OS 13.1  (amd64 / generic-x86-64)
 Home Assistant Core: 2024.10.0
 Home Assistant Supervisor: 2024.09.1
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/init.sh
cont-init: info: /etc/cont-init.d/init.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun rclone (no readiness notification)
services-up: info: copying legacy longrun scheduler (no readiness notification)
[11:37:29] INFO: Installed rclone version:
[11:37:29] INFO: Starting Rclone Web GUI...
s6-rc: info: service legacy-services successfully started
[11:37:29] INFO: rclone v1.68.1
- os/version: alpine 3.20.3 (64 bit)
- os/kernel: 6.6.46-haos (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.23.1
- go/linking: static
- go/tags: none
[11:37:29] INFO: Starting Scheduler...
[2024-10-05] [11:37:29] [INFO]: rclone config found
2024/10/05 11:37:29 NOTICE: Serving files from "/usr/share/rclone-webui-react"
2024/10/05 11:37:29 NOTICE: Serving remote control on http://[::]:8099/
2024/10/05 11:37:29 NOTICE: Web GUI is not automatically opening browser. Navigate to http://[::]:8099/ to use.
[2024-10-05] [11:37:30] [INFO]: checking job configs...
[2024-10-05] [11:37:30] [INFO]: scheduled jobs:
0 4 * * * sync "Sync Daily Backups"; /backup -> grwwrg:/Backups/homeassistant/backup
2024/10/05 11:38:07 NOTICE: mount FAILED: failed to mount FUSE fs: cannot open: homeassistant/www/Pcloud/: open homeassistant/www/Pcloud/: no such file or directory
2024/10/05 11:38:07 ERROR : rc: "mount/mount": error: failed to mount FUSE fs: cannot open: homeassistant/www/Pcloud/: open homeassistant/www/Pcloud/: no such file or directory
2024/10/05 11:38:42 NOTICE: mount FAILED: failed to mount FUSE fs: cannot open: homeassistant/www/Pcloud: open homeassistant/www/Pcloud: no such file or directory
2024/10/05 11:38:42 ERROR : rc: "mount/mount": error: failed to mount FUSE fs: cannot open: homeassistant/www/Pcloud: open homeassistant/www/Pcloud: no such file or directory

I have a Connection from Rclone to Pcloud and I can up-/download small Files from/to Pcloud with the Explorer in Rclone, but the Sync doesn´t word.

Thanks for Help

Lars

Could you boil it down to what rclone commands do not work?

Then run them with -vv flag (debug log) and provide output here.

Hi,

I only can do this with the UI:

And that is the LOG:

2024/10/05 13:57:50 NOTICE: mount FAILED: failed to mount FUSE fs: cannot open: homeassistant/www/Pcloud: open homeassistant/www/Pcloud: no such file or directory
2024/10/05 13:57:50 ERROR : rc: "mount/mount": error: failed to mount FUSE fs: cannot open: homeassistant/www/Pcloud: open homeassistant/www/Pcloud: no such file or directory

But it is true, when I do the rclone Command in the Terminal it doesn't work.

it is clear. Isn't it? You want to mount it to non existing mount point.

Hi,

the Place ist still be there...

Thanks for the Help :slight_smile:

homeassistant/www/Pcloud

is not necessarily

/homeassistant/www/Pcloud

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.