Jottacloud non standard mount point doesn't seem to work if device has space in it

What is the problem you are having with rclone?

I'm trying to access the "Backed Up" folders in Jottacloud using the non standard mount point option. This works ok for ones without spaces in but errors when the computer backed up has a space in it. The config script seems to find the device ok and puts it in the config file

Do you want to use a non standard device/mountpoint e.g. for accessing files uploaded using the official Jottacloud client?

y) Yes
n) No (default)
y/n> y
Please select the device to use. Normally this will be Jotta
Choose a number from below, or type in an existing value
 1 > gui-vm
 2 > Jotta
 3 > Martin MacBook Air
 4 > MSI-laptop
 5 > nas1
 6 > PCS desktop
 7 > WIN2008
 8 > WINDOWS10
Devices> 3
Please select the mountpoint to user. Normally this will be Archive
Choose a number from below, or type in an existing value
 1 > Desktop
 2 > Documents
 3 > Downloads
 4 > Interface
 5 > Pictures
 6 > WTF
Mountpoints> 1

What is your rclone version (output from rclone version)

Tried with

rclone v1.53.1
- os/arch: freebsd/amd64
- go version: go1.15

and

rclone v1.54.0-beta.4831.4e2b5389d
- os/arch: freebsd/amd64
- go version: go1.15.2

Which OS you are using and how many bits (eg Windows 7, 64 bit)

FreeBSD, 64 bit

Which cloud storage system are you using? (eg Google Drive)

Jottacloud

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone lsd jc_test:

The rclone config contents with secrets removed.

[jc_test]
type = jottacloud
tokenURL = https://id.jottacloud.com/auth/realms/jottacloud/protocol/openid-connect/token
token = {"access_token":"secret","token_type":"bearer","refresh_token":"secret","expiry":"2020-10-19T13:11:09.390448678+01:00"}
device = Martin MacBook Air
mountpoint = Desktop
configVersion = 1

A log from the command with the -vv flag

2020/10/19 12:27:25 DEBUG : rclone: Version "v1.54.0-beta.4831.4e2b5389d" starting with parameters ["rclone" "lsd" "-vv" "jc_test:"]
2020/10/19 12:27:25 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2020/10/19 12:27:25 DEBUG : Creating backend with remote "jc_test:"
2020/10/19 12:27:26 ERROR : : error listing: directory not found
2020/10/19 12:27:26 DEBUG : 5 go routines active
2020/10/19 12:27:26 Failed to lsd with 2 errors: last error was: directory not found

This is also the same if the device doesn't have a space in it but the mountpoint does, so

[jc_test]
type = jottacloud
tokenURL = https://id.jottacloud.com/auth/realms/jottacloud/protocol/openid-connect/token
token = {"access_token":"secret","token_type":"bearer","refresh_token":"secret","expiry":"2020-10-19T13:11:09.390448678+01:00"}
device = WIN2008
mountpoint = Desktop
configVersion = 1

Works but

[jc_test]
type = jottacloud
tokenURL = https://id.jottacloud.com/auth/realms/jottacloud/protocol/openid-connect/token
token = {"access_token":"secret","token_type":"bearer","refresh_token":"secret","expiry":"2020-10-19T13:11:09.390448678+01:00"}
device = WIN2008
mountpoint = My Documents
configVersion = 1

Doesn't

hello and welcome to the forum,

have you tried to enclose the text using quotes?
mountpoint = "My Documents"

Hi, yes, sorry I should have said I tried manually editing the rclone.conf file with both single and double quotes

mountpoint = "My Documents"

and

mountpoint = 'My Documents'

and also (rather optimistically) with "\" (also when it was enclosed in single or double quotes)

mountpoint = My\ Documents

But get the same issue :frowning_face:

are you sure that device WIN2008 has a mountpoint of My Documents?

Yes, I can see it in the Jottacloud web GUI and also in the rclone config setup

Do you want to use a non standard device/mountpoint e.g. for accessing files uploaded using the official Jottacloud client?

y) Yes
n) No (default)
y/n> y
Please select the device to use. Normally this will be Jotta
Choose a number from below, or type in an existing value
 1 > gui-vm
 2 > Jotta
 3 > Martin MacBook Air
 4 > MSI-laptop
 5 > nas1
 6 > PCS desktop
 7 > WIN2008
 8 > WINDOWS10
Devices> 7
Please select the mountpoint to user. Normally this will be Archive
Choose a number from below, or type in an existing value
 1 > Desktop
 2 > Downloads
 3 > My Documents
 4 > My Pictures
 5 > W
 6 > X
Mountpoints> 3

Hmm, this sounds like a bug I think! Can you please make a new issue on github about this and we'll take a look there - thanks!

Thanks - have raised #4697

1 Like

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