rclone: 1.59 breaks Jottacloud whitelabel Elgiganten Cloud, 1.58.1 works fine.

The associated forum post URL from https://forum.rclone.org

https://forum.rclone.org/t/rclone-1-59-0-release/31808/3

What is the problem you are having with rclone?

I did a rclone selfupdate from 1.58.1 to 1.59 and my Elgiganten Cloud (Jottacloud whitelabel) mount stopped working with error: 401: org.springframework.security.authentication.BadCredentialsException: No token or token is malformed! (Unauthorized) . I also did a completely new test mount with new token, i get the 2FA and everything as expected (Jottacloud, legacy authentication) but the mount will complain with error 401 and wont work. When i revert back to 1.58.1 everything works just fine again.

What is your rclone version (output from rclone version)

rclone v1.59.0

  • os/version: Microsoft Windows 11 Pro 21H2 (64 bit)
  • os/kernel: 10.0.22000.739 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.18.3
  • go/linking: static
  • go/tags: cmount

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

Windows 11 Pro 64Bit

Which cloud storage system are you using? (e.g. Google Drive)

Elgiganten Cloud ( Jottacloud whitelabel)

The command you were trying to run (e.g. rclone copy /tmp remote:tmp)

I run a bat file with this below:

REM Mount a remote as a mountpoint
REM To run rclone mount, you need WinFsp (FUSE for Windows)
REM Windows File System Proxy : http://www.secfs.net/winfsp/
REM The mountpoint must be an unused drive letter
@ECHO OFF

REM Configuration variables
SET RCLONE_EXE_PATH="C:\Windows\System32\rclone.exe"
SET RCLONE_CONFIG_PATH="C:\Users\Krakkan\.config\rclone\rclone.conf"
REM Paths
SET RCLONE_REMOTE_PATH=test:
SET RCLONE_LOCAL_DRIVE=t:
SET RCLONE_VOLUME_NAME=test
REM Additional rclone flags
SET RCLONE_ADDITIONAL_FLAGS=-o ThreadCount=16 --transfers=16 --vfs-cache-mode=full --file-perms=0777 --jottacloud-hard-delete --cache-dir E:\Cache --vfs-cache-max-age=4h0m0s --vfs-write-back=1s --log-file="C:\rclone\Backup%date:/=_%.log" -vv
REM Console height / width
MODE 50,10| ECHO off
REM Console title
TITLE rclone-mount

ECHO.
ECHO ^> Mount :
ECHO.

SETLOCAL
	
	ECHO %RCLONE_REMOTE_PATH% mounted on %RCLONE_LOCAL_DRIVE%
	ECHO.

	REM Mount %RCLONE_REMOTE_PATH% on %RCLONE_LOCAL_DRIVE% drive letter
	%RCLONE_EXE_PATH% mount %RCLONE_REMOTE_PATH% %RCLONE_LOCAL_DRIVE% --volname=%RCLONE_VOLUME_NAME% --config=%RCLONE_CONFIG_PATH% %RCLONE_ADDITIONAL_FLAGS%
ENDLOCAL
REM Wait 10 seconds, then exit script
TIMEOUT 10 | ECHO off

A log from the command with the -vv flag (e.g. output from rclone -vv copy /tmp remote:tmp)

2022/07/10 17:35:44 DEBUG : rclone: Version "v1.59.0" starting with parameters ["C:\\Windows\\System32\\rclone.exe" "mount" "test:" "t:" "--volname=test" "--config=C:\\Users\\Krakkan\\.config\\rclone\\rclone.conf" "-o" "ThreadCount=16" "--transfers=16" "--vfs-cache-mode=full" "--file-perms=0777" "--jottacloud-hard-delete" "--cache-dir" "E:\\Cache" "--vfs-cache-max-age=4h0m0s" "--vfs-write-back=1s" "--log-file=C:\\rclone\\Backup2022-07-10.log" "-vv"]
2022/07/10 17:35:44 DEBUG : Creating backend with remote "test:"
2022/07/10 17:35:44 DEBUG : Using config file from "C:\\Users\\Krakkan\\.config\\rclone\\rclone.conf"
2022/07/10 17:35:44 DEBUG : test: detected overridden config - adding "{jlU5h}" suffix to name
2022/07/10 17:35:44 DEBUG : fs cache: renaming cache item "test:" to be canonical "test{jlU5h}:"
2022/07/10 17:35:44 INFO  : jottacloud root '': poll-interval is not supported by this remote
2022/07/10 17:35:44 DEBUG : vfs cache: root is "E:\\Cache"
2022/07/10 17:35:44 DEBUG : vfs cache: data root is "\\\\?\\E:\\Cache\\vfs\\test{jlU5h}"
2022/07/10 17:35:44 DEBUG : vfs cache: metadata root is "\\\\?\\E:\\Cache\\vfsMeta\\test{jlU5h}"
2022/07/10 17:35:44 DEBUG : Creating backend with remote "E:/Cache/vfs/test{jlU5h}/"
2022/07/10 17:35:44 DEBUG : fs cache: renaming cache item "E:/Cache/vfs/test{jlU5h}/" to be canonical "//?/E:/Cache/vfs/test{jlU5h}/"
2022/07/10 17:35:44 DEBUG : Creating backend with remote "E:/Cache/vfsMeta/test{jlU5h}/"
2022/07/10 17:35:44 DEBUG : fs cache: renaming cache item "E:/Cache/vfsMeta/test{jlU5h}/" to be canonical "//?/E:/Cache/vfsMeta/test{jlU5h}/"
2022/07/10 17:35:44 DEBUG : Network mode mounting is disabled
2022/07/10 17:35:44 DEBUG : Mounting on "t:" ("test")
2022/07/10 17:35:44 DEBUG : jottacloud root '': Mounting with options: ["-o" "attr_timeout=1" "-o" "uid=-1" "-o" "gid=-1" "--FileSystemName=rclone" "-o" "volname=test" "-o" "ThreadCount=16"]
2022/07/10 17:35:44 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2022/07/10 17:35:44 DEBUG : jottacloud root '': Init: 
2022/07/10 17:35:44 DEBUG : jottacloud root '': >Init: 
2022/07/10 17:35:44 DEBUG : /: Statfs: 
2022/07/10 17:35:44 ERROR : jottacloud root '': Statfs failed: couldn't get drive info: error 401: org.springframework.security.authentication.BadCredentialsException: No token or token is malformed! (Unauthorized)
2022/07/10 17:35:44 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:8796093022207 Bfree:8796093022207 Bavail:8796093022207 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2022/07/10 17:35:44 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:44 DEBUG : /: >Getattr: errc=0
2022/07/10 17:35:44 DEBUG : /: Readlink: 
2022/07/10 17:35:44 DEBUG : /: >Readlink: linkPath="", errc=-40
The service rclone has been started.
2022/07/10 17:35:44 DEBUG : /: Statfs: 
2022/07/10 17:35:44 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2022/07/10 17:35:44 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:44 DEBUG : /: >Getattr: errc=0
2022/07/10 17:35:44 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:44 DEBUG : /: >Getattr: errc=0
2022/07/10 17:35:44 DEBUG : /: Opendir: 
2022/07/10 17:35:44 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/07/10 17:35:44 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/07/10 17:35:44 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/07/10 17:35:44 DEBUG : /: Releasedir: fh=0x0
2022/07/10 17:35:44 DEBUG : /: >Releasedir: errc=0
2022/07/10 17:35:44 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:44 DEBUG : /: >Getattr: errc=0
2022/07/10 17:35:44 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:44 DEBUG : /: >Getattr: errc=0
2022/07/10 17:35:44 DEBUG : /: Opendir: 
2022/07/10 17:35:44 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/07/10 17:35:44 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/07/10 17:35:44 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/07/10 17:35:44 DEBUG : /: Releasedir: fh=0x0
2022/07/10 17:35:44 DEBUG : /: >Releasedir: errc=0
2022/07/10 17:35:44 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:44 DEBUG : /: >Getattr: errc=0
2022/07/10 17:35:44 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:44 DEBUG : /: >Getattr: errc=0
2022/07/10 17:35:44 DEBUG : /: Opendir: 
2022/07/10 17:35:44 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/07/10 17:35:44 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/07/10 17:35:44 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/07/10 17:35:44 DEBUG : /: Releasedir: fh=0x0
2022/07/10 17:35:44 DEBUG : /: >Releasedir: errc=0
2022/07/10 17:35:47 DEBUG : /autorun.inf: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:47 ERROR : /: Dir.Stat error: couldn't list files: error 401: org.springframework.security.authentication.BadCredentialsException: No token or token is malformed! (Unauthorized)
2022/07/10 17:35:47 ERROR : IO error: couldn't list files: error 401: org.springframework.security.authentication.BadCredentialsException: No token or token is malformed! (Unauthorized)
2022/07/10 17:35:47 DEBUG : /autorun.inf: >Getattr: errc=-5
2022/07/10 17:35:47 DEBUG : /autorun.inf: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:47 ERROR : /: Dir.Stat error: couldn't list files: error 401: org.springframework.security.authentication.BadCredentialsException: No token or token is malformed! (Unauthorized)
2022/07/10 17:35:47 ERROR : IO error: couldn't list files: error 401: org.springframework.security.authentication.BadCredentialsException: No token or token is malformed! (Unauthorized)
2022/07/10 17:35:47 DEBUG : /autorun.inf: >Getattr: errc=-5
2022/07/10 17:35:47 DEBUG : /autorun.inf: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:47 ERROR : /: Dir.Stat error: couldn't list files: error 401: org.springframework.security.authentication.BadCredentialsException: No token or token is malformed! (Unauthorized)
2022/07/10 17:35:47 ERROR : IO error: couldn't list files: error 401: org.springframework.security.authentication.BadCredentialsException: No token or token is malformed! (Unauthorized)
2022/07/10 17:35:47 DEBUG : /autorun.inf: >Getattr: errc=-5
2022/07/10 17:35:47 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:47 DEBUG : /: >Getattr: errc=0
2022/07/10 17:35:47 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:47 DEBUG : /: >Getattr: errc=0
2022/07/10 17:35:47 DEBUG : /: Opendir: 
2022/07/10 17:35:47 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/07/10 17:35:47 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/07/10 17:35:47 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/07/10 17:35:47 DEBUG : /: Releasedir: fh=0x0
2022/07/10 17:35:47 DEBUG : /: >Releasedir: errc=0
2022/07/10 17:35:47 DEBUG : /AutoRun.inf: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:47 ERROR : /: Dir.Stat error: couldn't list files: error 401: org.springframework.security.authentication.BadCredentialsException: No token or token is malformed! (Unauthorized)
2022/07/10 17:35:47 ERROR : IO error: couldn't list files: error 401: org.springframework.security.authentication.BadCredentialsException: No token or token is malformed! (Unauthorized)
2022/07/10 17:35:47 DEBUG : /AutoRun.inf: >Getattr: errc=-5
2022/07/10 17:35:47 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:47 DEBUG : /: >Getattr: errc=0
2022/07/10 17:35:47 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:47 DEBUG : /: >Getattr: errc=0
2022/07/10 17:35:47 DEBUG : /: Opendir: 
2022/07/10 17:35:47 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/07/10 17:35:47 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/07/10 17:35:47 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/07/10 17:35:47 DEBUG : /: Statfs: 
2022/07/10 17:35:47 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2022/07/10 17:35:47 DEBUG : /: Releasedir: fh=0x0
2022/07/10 17:35:47 DEBUG : /: >Releasedir: errc=0
2022/07/10 17:35:47 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:47 DEBUG : /: >Getattr: errc=0
2022/07/10 17:35:47 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:47 DEBUG : /: >Getattr: errc=0
2022/07/10 17:35:47 DEBUG : /: Opendir: 
2022/07/10 17:35:47 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/07/10 17:35:47 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/07/10 17:35:47 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/07/10 17:35:47 DEBUG : /: Releasedir: fh=0x0
2022/07/10 17:35:47 DEBUG : /: >Releasedir: errc=0
2022/07/10 17:35:47 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:47 DEBUG : /: >Getattr: errc=0
2022/07/10 17:35:47 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:47 DEBUG : /: >Getattr: errc=0
2022/07/10 17:35:47 DEBUG : /: Opendir: 
2022/07/10 17:35:47 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/07/10 17:35:47 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/07/10 17:35:47 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/07/10 17:35:47 DEBUG : /: Releasedir: fh=0x0
2022/07/10 17:35:47 DEBUG : /: >Releasedir: errc=0
2022/07/10 17:35:47 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:47 DEBUG : /: >Getattr: errc=0
2022/07/10 17:35:47 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:47 DEBUG : /: >Getattr: errc=0
2022/07/10 17:35:47 DEBUG : /: Opendir: 
2022/07/10 17:35:47 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/07/10 17:35:47 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/07/10 17:35:47 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/07/10 17:35:47 DEBUG : /: Releasedir: fh=0x0
2022/07/10 17:35:47 DEBUG : /: >Releasedir: errc=0
2022/07/10 17:35:47 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:47 DEBUG : /: >Getattr: errc=0
2022/07/10 17:35:47 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:47 DEBUG : /: >Getattr: errc=0
2022/07/10 17:35:47 DEBUG : /: Opendir: 
2022/07/10 17:35:47 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/07/10 17:35:47 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/07/10 17:35:47 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/07/10 17:35:47 DEBUG : /: Releasedir: fh=0x0
2022/07/10 17:35:47 DEBUG : /: >Releasedir: errc=0
2022/07/10 17:35:47 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:47 DEBUG : /: >Getattr: errc=0
2022/07/10 17:35:47 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:47 DEBUG : /: >Getattr: errc=0
2022/07/10 17:35:47 DEBUG : /: Opendir: 
2022/07/10 17:35:47 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/07/10 17:35:47 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/07/10 17:35:47 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/07/10 17:35:47 DEBUG : /: Releasedir: fh=0x0
2022/07/10 17:35:47 DEBUG : /: >Releasedir: errc=0
2022/07/10 17:35:47 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:47 DEBUG : /: >Getattr: errc=0
2022/07/10 17:35:47 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:47 DEBUG : /: >Getattr: errc=0
2022/07/10 17:35:47 DEBUG : /: Opendir: 
2022/07/10 17:35:47 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/07/10 17:35:47 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/07/10 17:35:47 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/07/10 17:35:47 DEBUG : /: Releasedir: fh=0x0
2022/07/10 17:35:47 DEBUG : /: >Releasedir: errc=0
2022/07/10 17:35:47 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:47 DEBUG : /: >Getattr: errc=0
2022/07/10 17:35:47 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:47 DEBUG : /: >Getattr: errc=0
2022/07/10 17:35:47 DEBUG : /: Opendir: 
2022/07/10 17:35:47 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/07/10 17:35:47 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/07/10 17:35:47 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/07/10 17:35:47 DEBUG : /: Releasedir: fh=0x0
2022/07/10 17:35:47 DEBUG : /: >Releasedir: errc=0
2022/07/10 17:35:54 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:54 DEBUG : /: >Getattr: errc=0
2022/07/10 17:35:54 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:54 DEBUG : /: >Getattr: errc=0
2022/07/10 17:35:54 DEBUG : /: Opendir: 
2022/07/10 17:35:54 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/07/10 17:35:54 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/07/10 17:35:54 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/07/10 17:35:54 DEBUG : /: Releasedir: fh=0x0
2022/07/10 17:35:54 DEBUG : /: >Releasedir: errc=0
2022/07/10 17:35:54 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:54 DEBUG : /: >Getattr: errc=0
2022/07/10 17:35:54 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:54 DEBUG : /: >Getattr: errc=0
2022/07/10 17:35:54 DEBUG : /: Opendir: 
2022/07/10 17:35:54 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/07/10 17:35:54 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/07/10 17:35:54 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/07/10 17:35:54 DEBUG : /: Releasedir: fh=0x0
2022/07/10 17:35:54 DEBUG : /: >Releasedir: errc=0
2022/07/10 17:35:54 DEBUG : /desktop.ini: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:54 ERROR : /: Dir.Stat error: couldn't list files: error 401: org.springframework.security.authentication.BadCredentialsException: No token or token is malformed! (Unauthorized)
2022/07/10 17:35:54 ERROR : IO error: couldn't list files: error 401: org.springframework.security.authentication.BadCredentialsException: No token or token is malformed! (Unauthorized)
2022/07/10 17:35:54 DEBUG : /desktop.ini: >Getattr: errc=-5
2022/07/10 17:35:54 DEBUG : /desktop.ini: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:54 ERROR : /: Dir.Stat error: couldn't list files: error 401: org.springframework.security.authentication.BadCredentialsException: No token or token is malformed! (Unauthorized)
2022/07/10 17:35:54 ERROR : IO error: couldn't list files: error 401: org.springframework.security.authentication.BadCredentialsException: No token or token is malformed! (Unauthorized)
2022/07/10 17:35:54 DEBUG : /desktop.ini: >Getattr: errc=-5
2022/07/10 17:35:54 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:54 DEBUG : /: >Getattr: errc=0
2022/07/10 17:35:54 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:54 DEBUG : /: >Getattr: errc=0
2022/07/10 17:35:54 DEBUG : /: Opendir: 
2022/07/10 17:35:54 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/07/10 17:35:54 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/07/10 17:35:54 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/07/10 17:35:54 DEBUG : /: Readdir: ofst=0, fh=0x0
2022/07/10 17:35:54 DEBUG : : Dir.ReadDirAll error: couldn't list files: error 401: org.springframework.security.authentication.BadCredentialsException: No token or token is malformed! (Unauthorized)
2022/07/10 17:35:54 ERROR : IO error: couldn't list files: error 401: org.springframework.security.authentication.BadCredentialsException: No token or token is malformed! (Unauthorized)
2022/07/10 17:35:54 DEBUG : /: >Readdir: items=-1, errc=-5
2022/07/10 17:35:54 DEBUG : /: Releasedir: fh=0x0
2022/07/10 17:35:54 DEBUG : /: >Releasedir: errc=0
2022/07/10 17:35:54 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:54 DEBUG : /: >Getattr: errc=0
2022/07/10 17:35:54 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:54 DEBUG : /: >Getattr: errc=0
2022/07/10 17:35:54 DEBUG : /: Opendir: 
2022/07/10 17:35:54 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/07/10 17:35:54 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/07/10 17:35:54 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/07/10 17:35:54 DEBUG : /: Releasedir: fh=0x0
2022/07/10 17:35:54 DEBUG : /: >Releasedir: errc=0
2022/07/10 17:35:55 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:55 DEBUG : /: >Getattr: errc=0
2022/07/10 17:35:55 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/10 17:35:55 DEBUG : /: >Getattr: errc=0
2022/07/10 17:35:55 DEBUG : /: Opendir: 
2022/07/10 17:35:55 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/07/10 17:35:55 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/07/10 17:35:55 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/07/10 17:35:55 DEBUG : /: Releasedir: fh=0x0
2022/07/10 17:35:55 DEBUG : /: >Releasedir: errc=0
The service rclone has been stopped.
2022/07/10 17:35:59 DEBUG : jottacloud root '': Destroy: 
2022/07/10 17:35:59 DEBUG : jottacloud root '': >Destroy: 
2022/07/10 17:35:59 DEBUG : Not calling host.Unmount as mount already Destroyed
2022/07/10 17:35:59 DEBUG : Unmounted successfully
2022/07/10 17:35:59 DEBUG : vfs cache: cleaner exiting
2022/07/10 17:35:59 ERROR : t:: Unmounted rclone mount
2022/07/10 17:35:59 DEBUG : rclone: Version "v1.59.0" finishing with parameters ["C:\\Windows\\System32\\rclone.exe" "mount" "test:" "t:" "--volname=test" "--config=C:\\Users\\Krakkan\\.config\\rclone\\rclone.conf" "-o" "ThreadCount=16" "--transfers=16" "--vfs-cache-mode=full" "--file-perms=0777" "--jottacloud-hard-delete" "--cache-dir" "E:\\Cache" "--vfs-cache-max-age=4h0m0s" "--vfs-write-back=1s" "--log-file=C:\\rclone\\Backup2022-07-10.log" "-vv"]

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don’t comment if you have no relevant information to add. It’s just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 34 (24 by maintainers)

Commits related to this issue

Most upvoted comments

@ncw Tried it and it seems to work great. I also tried removing my username in config, did a rclone config and updated auth username both with and without gmail and they both worked, also did a quick copy test and replacing the files worked fine also.

@albertony I tested it and it shows this: edit: did i test it wrong? I simply replaced the rclone.exe, did a rclone config and updated test: with legacy authentication, got the sms, used my username only without gmail and i also tried mounting it with and without username in config file.

2022/07/14 14:12:47 DEBUG : rclone: Version "v1.60.0-beta.6356.ca513da37.fix-6309-jottacloud" starting with parameters ["C:\\Windows\\System32\\rclone.exe" "mount" "test:" "t:" "--volname=test" "--config=C:\\Users\\Krakkan\\.config\\rclone\\rclone.conf" "-o" "ThreadCount=16" "--transfers=16" "--vfs-cache-mode=full" "--file-perms=0777" "--jottacloud-hard-delete" "--cache-dir" "E:\\Cache" "--vfs-cache-max-age=4h0m0s" "--vfs-write-back=1s" "--log-file=C:\\rclone\\Backup2022-07-14.log" "-vv"]
2022/07/14 14:12:47 DEBUG : Creating backend with remote "test:"
2022/07/14 14:12:47 DEBUG : Using config file from "C:\\Users\\Krakkan\\.config\\rclone\\rclone.conf"
2022/07/14 14:12:47 DEBUG : test: detected overridden config - adding "{jlU5h}" suffix to name
2022/07/14 14:12:47 Failed to create file system for "test:": unable to get username from token: string is not a token

I have built an rclone version for each of the jottacloud commits. @Krakkan83 can you try each one and see which ones work and which don’t.

Here is the file on google drive - too big to attach here alas!

https://drive.google.com/file/d/1TbCvY0b08HyaJZTHqvwcH6yP5bi4M3gJ/view?usp=sharing