Skip to main content

Fix Rclone Config Corruption and Recovery Issues in RcloneView

· 5 min read
Tayson
Senior Engineer

A corrupted rclone config file can make all your cloud remotes disappear. This guide explains why it happens, how to recover, and how to prevent it from happening again.

Your rclone configuration file (rclone.conf) stores every remote you have set up — cloud credentials, tokens, encryption keys, and connection settings. If this file becomes corrupted, you lose access to all configured remotes until you repair or recreate them. RcloneView reads and writes the same config file that the rclone CLI uses, so corruption affects both tools equally. Here is how to diagnose and fix the problem.

RcloneView app preview

Manage & Sync All Clouds in One Place

RcloneView is a cross-platform GUI for rclone. Compare folders, transfer or sync files, and automate multi-cloud workflows with a clean, visual interface.

  • One-click jobs: Copy · Sync · Compare
  • Schedulers & history for reliable automation
  • Works with Google Drive, OneDrive, Dropbox, S3, WebDAV, SFTP and more
WindowsmacOSLinux
Get Started Free →

Free core features. Plus automations available.

Symptoms of Config Corruption

You may have a corrupted config file if you experience any of the following:

  • Remotes disappear from the RcloneView remote list or rclone listremotes returns nothing.
  • Parsing errors appear on startup, such as Failed to load config file or invalid character.
  • Authentication fails for remotes that previously worked, with token errors or credential mismatches.
  • Partial remote entries — some remotes load but others are missing or have incomplete settings.
  • Garbled text when you open rclone.conf in a text editor — unreadable characters instead of INI-format sections.
Check RcloneView job history for config-related errors

Common Causes

Interrupted Config Saves

The most frequent cause is a write operation that was interrupted before completing. This can happen when:

  • The system crashes or loses power while rclone is saving a token refresh.
  • You force-quit RcloneView or rclone while it is updating the config.
  • A disk write fails due to insufficient space or a filesystem error.

Disk and Filesystem Errors

Underlying storage problems can silently corrupt any file, including your config:

  • Bad sectors on a hard drive.
  • Filesystem corruption after an unclean shutdown.
  • Network filesystem (NFS/SMB) latency causing partial writes.

Encryption Key Issues

If your config is encrypted with RCLONE_CONFIG_PASS, problems arise when:

  • The password environment variable is not set or changes between sessions.
  • The password was stored in a keychain entry that has been deleted or reset.
  • You copied the config to another machine without also transferring the password.

Manual Editing Mistakes

Opening rclone.conf in a text editor and accidentally introducing syntax errors — missing brackets, broken INI section headers, or deleted lines — will corrupt the config for the parser.

Locating Your Config File

Before recovery, find your config file:

OSDefault Location
Windows%APPDATA%\rclone\rclone.conf
macOS~/.config/rclone/rclone.conf
Linux~/.config/rclone/rclone.conf

You can also check the active config path by running rclone config file in a terminal. RcloneView uses this same file path.

Recovery Steps

Step 1: Check for Backup Copies

Before making any changes, look for automatic or manual backups:

  • Some systems create .bak files in the same directory. Check for rclone.conf.bak.
  • If you use a backup tool or cloud sync on your home directory, recover the file from a recent snapshot.
  • Check your system's Recycle Bin or Trash — some editors create temporary copies.

Step 2: Validate the File Structure

Open rclone.conf in a plain text editor. A healthy config looks like this:

[my-gdrive]
type = drive
client_id = ...
client_secret = ...
token = {"access_token":"...","token_type":"Bearer",...}

[my-s3]
type = s3
provider = AWS
access_key_id = AKIA...
secret_access_key = ...
region = us-east-1

Look for: missing [section] headers, truncated lines, binary characters, or incomplete JSON token strings.

Step 3: Repair Partial Corruption

If only part of the file is damaged:

  1. Back up the corrupted file first — copy it to rclone.conf.corrupt.
  2. Remove the damaged section — delete the broken remote entry entirely.
  3. Re-add the remote in RcloneView using the New Remote wizard.
Re-add a cloud remote in RcloneView after config repair

Step 4: Rebuild from Scratch

If the file is completely unreadable:

  1. Rename the corrupted file to rclone.conf.old.
  2. Launch RcloneView — it will start with a fresh, empty config.
  3. Re-add each remote using the setup wizard. For OAuth-based remotes (Google Drive, OneDrive, Dropbox), you will need to re-authorize.
  4. For S3-compatible remotes, you will need your access keys and secret keys.
RcloneView explorer after rebuilding remotes

Step 5: Recover Encrypted Configs

If your config was encrypted and you have the password:

  1. Set RCLONE_CONFIG_PASS in your environment.
  2. Run rclone config show to verify decryption works.
  3. If it decrypts correctly, the config is not corrupted — the issue was a missing password.

If you have lost the encryption password, the config cannot be decrypted. You must recreate all remotes from scratch.

Prevention Tips

  • Back up regularly — copy rclone.conf to a safe location after adding or changing remotes. A simple cp ~/.config/rclone/rclone.conf ~/.config/rclone/rclone.conf.backup is enough.
  • Store credentials separately — keep S3 keys, SFTP details, and your RCLONE_CONFIG_PASS in a password manager.
  • Never force-quit RcloneView or rclone during a token refresh or config save.
  • Ensure sufficient disk space on the drive where your config is stored.
  • Use the GUI to manage remotes instead of editing rclone.conf manually.

Getting Started

  1. Download RcloneView from rcloneview.com.
  2. Locate your config with rclone config file.
  3. Back up your config before making changes.
  4. Use the GUI to add and manage remotes safely.

A few minutes spent backing up your config can save hours of reconfiguration. Make it part of your routine.


Related Guides:

Supported Cloud Providers

Local Files
WebDAV
FTP
SFTP
HTTP
SMB / CIFS
Google Drive
Google Photos
Google Cloud Storage
OneDrive
Dropbox
Box
MS Azure Blob
MS File Storage
S3 Compatible
Amazon S3
pCloud
Wasabi
Mega
Backblaze B2
Cloudflare R2
Alibaba OSS
Ceph
Swift (OpenStack)
IBM Cloud Object Storage
Oracle Cloud Object Storage
IDrive e2
MinIO
Storj
DigitalOcean Spaces