# Fix: tunnel-r630-02 Migration Error ## The Error ``` We have detected that tunnel-r630-02 is not configured for migration. Please ensure that: • The tunnel status is healthy. • The tunnel has been configured via a .yaml configuration file. • The instance of cloudflared is running version 2022.03 or later. ``` ## What This Means The tunnel exists in Cloudflare but: 1. It hasn't been connected/run yet (so status is not "healthy") 2. It needs a proper YAML configuration file 3. cloudflared needs to be a recent version ## Solution I've already configured the tunnel route via API. Now you need to: ### Step 1: Verify Configuration The tunnel route is already configured: - **Hostname**: `r630-02.d-bis.org` - **Target**: `https://192.168.11.12:8006` ### Step 2: Get Token from Dashboard 1. Go to: **https://one.dash.cloudflare.com/** 2. Navigate: **Zero Trust** → **Networks** → **Tunnels** 3. Click on **tunnel-r630-02** 4. Click **"Configure"** tab 5. Look for **"Token"** or **"Quick Tunnel Token"** in the Local Management section 6. Copy the token (base64-encoded string) ### Step 3: Install the Tunnel Once you have the token, install it: ```bash sudo cloudflared service install ``` Or provide the token and I'll install it for you using the same method as the other tunnels. ### Step 4: Verify After installation: - The tunnel will connect to Cloudflare - Status will become "healthy" - The migration error will be resolved ## Current Status ✅ **Tunnel route configured** (via API) ✅ **Config file created** (`configs/tunnel-r630-02.yml`) ✅ **cloudflared version checked** (should be 2022.03+) ⏳ **Waiting for token** to install and connect Once you install the tunnel with a token, it will: 1. Connect to Cloudflare Edge 2. Status will become "healthy" 3. Migration will be possible ## Alternative: Use Credentials File If you can't get a token, you can download the credentials file instead: 1. In Cloudflare Dashboard → tunnel-r630-02 → Configure 2. Scroll to **"Local Management"** 3. Click **"Download credentials file"** 4. Save as `credentials-r630-02.json` 5. Run: `./scripts/setup-credentials-auto.sh`