Skip to content
The Chat Archive
deepseek-v3-0324· DeepSeek LMArena Human Preference 140K

help me setup webui on rclone in casaos

  1. User

    help me setup webui on rclone in casaos

  2. Assistant

    Setting up Rclone WebUI in CasaOS involves a few steps. Below is a step-by-step guide to help you install and configure Rclone with its WebUI inside CasaOS.


    Step 1: Install Rclone in CasaOS

    1. Open CasaOS Dashboard

      • Access your CasaOS web interface (usually at http://<your-server-ip>).
    2. Install Rclone via App Store

      • Go to App Store in CasaOS.
      • Search for Rclone and install it.
      • Alternatively, you can install it manually via Terminal (SSH into your CasaOS host):
        curl https://rclone.org/install.sh | sudo bash
        

    Step 2: Configure Rclone

    1. Run Rclone Config

      • Open a Terminal in CasaOS or SSH into your server.
      • Run:
        rclone config
        
      • Follow the prompts to set up your remote storage (Google Drive, Dropbox, etc.).
    2. Verify Configuration

      • List your remotes:
        rclone listremotes
        

    Step 3: Install Rclone WebUI

    Rclone does not have a built-in WebUI, but you can use Rclone Browser or Rclone WebUI (a third-party project). Here’s how to set it up:

    Option 1: Using Rclone WebUI (Docker)

    1. Add a Custom App in CasaOS

      • Go to App Store > Custom Install.
      • Use the following Docker configuration:
        image: rclone/rclone
        ports:
          - 5572:5572
        volumes:
          - /etc/rclone:/config/rclone
          - /path/to/local/storage:/data
        environment:
          - RCLONE_CONFIG=/config/rclone/rclone.conf
          - RCLONE_WEBUI=true
        command: rclone rcd --rc-web-gui --rc-addr :5572 --rc-user=admin --rc-pass=password
        
      • Replace /path/to/local/storage with your desired data directory.
      • Adjust --rc-user and --rc-pass for authentication.
    2. Access WebUI

      • After installation, access it at:
        http://<your-server-ip>:5572
        

    Option 2: Using Rclone Browser (GUI)

    If you prefer a desktop-like GUI, you can install Rclone Browser (not web-based but works via X11 forwarding or VNC).

    1. Install Rclone Browser

      • Run:
        sudo apt install rclone-browser  # For Debian/Ubuntu
        
      • Or download from GitHub.
    2. Run Rclone Browser

      • Launch it from CasaOS terminal (if GUI is available) or via SSH with X11 forwarding.

    Step 4: Automount Remote Storage (Optional)

    If you want to mount your remote storage in CasaOS:

    1. Create a Mount Script

      • Example (mount_remote.sh):
        #!/bin/bash
        rclone mount remote:path /mnt/data --allow-other --vfs-cache-mode full &
        
      • Make it executable:
        chmod +x mount_remote.sh
        
    2. Add to Startup

      • Add the script to CasaOS startup or use crontab -e:
        @reboot /path/to/mount_remote.sh
        

    Step 5: Verify & Troubleshoot

    • Check Rclone WebUI

      • Ensure the Docker container is running:
        docker ps
        
      • Check logs:
        docker logs <container-id>
        
    • Firewall & Ports

      • Ensure port 5572 is open if using WebUI.

    Conclusion

    You now have Rclone WebUI running in CasaOS!

    • Access the WebUI at http://<your-server-ip>:5572.
    • Use rclone commands in CasaOS terminal for advanced operations.

    Let me know if you need further help! 🚀

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.