Connecting to Swift with KDrive

SAME TOPIC (but better formatted, I hope)

Hello,

I discovered this very practical tool for managing local and Cloud files. I manage to configure several Cloud backends, such as: AWS S3, Google Drive, OneDrive, ..., but I stumble on Kdrive (Infomaniak) with Swift.

My actions are as follows:

$ rclone --version
rclone v1.64.0
- os/version: raspbian 9.13
- os/kernel: 4.19.66-v7+ (armv7l)
- os/type: linux
- os/arch: arm (ARMv7 compatible)
- go/version: go1.21.1
- go/linking: static
- go/tags: none

$ rclone config show kdrive
[kdrive]
type = swift
env_auth = false
user = @mail
key = ******************
auth = https://kdrive.infomaniak.com/
auth_version = 2

$ rclone lsd kdrive: -vv
2023/09/27 09:49:56 DEBUG : rclone: Version "v1.64.0" starting with parameters ["rclone" "lsd" "kdrive:" "-vv"]
2023/09/27 09:49:56 DEBUG : Creating backend with remote "kdrive:"
2023/09/27 09:49:56 DEBUG : Using RCLONE_CONFIG_PASS password.
2023/09/27 09:49:56 DEBUG : Using config file from "/home/patrick/.config/rclone/rclone.conf"
2023/09/27 09:49:56 Failed to create file system for "kdrive:": invalid character '<' looking for beginning of value

$ 


I think my error is in the settings, but I can't find it.

Cordially,

This page shows you how to download your swift config

https://docs.infomaniak.cloud/documentation/00.getting-started/02.Connect_project/

This has all the info you need in.

You can set the environment variables from the file then use

[kdrive]
type = swift
env_auth = true

Or you can copy the values from the enviroment file into the rclone config - see here

Thanks (Merci) :cowboy_hat_face:

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