Can't decrpyt from ondrive

I've have a encrypted backup on onedrive written with rclone v1.38 running on Debian Linux. But I can't decypt it.

This is my config:

[OneDrive Markus]
type = onedrive
client_id =
client_secret =
token = {"access_token":"Ew...Hw$$","expiry":"2018-11-13T11:04:04.33326931+01:00"}

[OneDriveCrypt Markus]
type = crypt
client_id =
client_secret =
token = {"access_token":"Ew....LQ$$","expiry":"2017-12-13T11:32:54.945198221+01:00"}
remote = Markus:backup_crypt
filename_encryption = off
password = 5D...rQ
password2 =

I've updated the access token for the uncrypted "OneDriveCrypt Markus" successfully with:
rclone authorize "onedrive"

And I'm able to "ls":
rclone ls "OneDrive Markus":

For encrpyted it fails:
rclone --vv ls "OneDriveCrypt Markus":
Failed to create file system for "OneDriveCrypt Markus:": failed to make remote "Markus:backup_crypt" to wrap: didn't find section in config file

What's wrong?

hello and welcome to the forum

try putting the colon inside the quotes, like so
rclone --vv ls "OneDriveCrypt Markus:"

also, that version of over two years old, the latest stable is v1.52.2.
to update

https://rclone.org/install/

curl https://rclone.org/install.sh | sudo bash

Same:
rclone -vv ls "OneDriveCrypt Markus:"
Failed to create file system for "OneDriveCrypt Markus:": failed to make remote "Markus:backup_crypt" to wrap: didn't find section in config file

remote = Markus:backup_crypt

there is no remote named Markus

but there is a remote named OneDrive Markus

I know. I have already installed a newer version. But also the same:

rclone --config "/root/rclone.conf" -vv ls "OneDriveCrypt Markus:"
2020/07/28 15:45:39 DEBUG : rclone: Version "v1.52.2" starting with parameters ["rclone" "--config" "/root/rclone.conf" "-vv" "ls" "OneDriveCrypt Markus:"]
2020/07/28 15:45:39 DEBUG : Using config file from "/root/rclone.conf"
2020/07/28 15:45:40 Failed to create file system for "OneDriveCrypt Markus:": failed to parse remote "Markus:backup_crypt" to wrap: didn't find section in config file

i mentioned above that for OneDriveCrypt Markus
the setting for remote is not correct.

so try remote = "OneDrive Markus:backup_crypt"

rclone --config "/root/rclone.conf" -vv ls "OneDrive Markus:backup_crypt"

Failed to create file system for "OneDrive Markus:backup_crypt": unable to get drive_id and drive_type - if you are upgrading from older versions of rclone, please run rclone config and re-configure this backend

Should I create a new config with new rclone?

i would not migrate.
instead you can create a new config file with v1.52.2.

Works. I've recreated a complete new config with new rclone and use password from old config. I was able to copy and decrypt my files from onedrive.
Thank you.

glad i could hepl solve your problem.

if you have any questions, let me know.