|
| 1 | +# Complete Atheme Services Deployment |
| 2 | + |
| 3 | +## Current Status |
| 4 | + |
| 5 | +The Atheme services container is running but showing "no uplinks configured" because it's missing the required environment variables for IRC server connections. |
| 6 | + |
| 7 | +## Required Action |
| 8 | + |
| 9 | +Run this command on the `magnet-atheme` server (SSH via Tailscale: `ssh [email protected]`): |
| 10 | + |
| 11 | +```bash |
| 12 | +# Stop existing container |
| 13 | +docker stop magnet-atheme |
| 14 | +docker rm magnet-atheme |
| 15 | + |
| 16 | +# Start with full configuration |
| 17 | +docker run -d --name magnet-atheme \ |
| 18 | + --restart unless-stopped \ |
| 19 | + --network container:magnet-atheme-tailscale \ |
| 20 | + -e SERVER_NAME=magnet-atheme \ |
| 21 | + -e TAILSCALE_DOMAIN=camel-kanyu.ts.net \ |
| 22 | + -e SERVICES_PASSWORD=vRH6PLBIQeZpTrla0QH3iR2Hn42WY1pj \ |
| 23 | + -e ADMIN_NAME="Chris Prather" \ |
| 24 | + -e ADMIN_EMAIL= "[email protected]" \ |
| 25 | + -e ATHEME_NETWORK=Magnet \ |
| 26 | + -e ATHEME_HUB_HOSTNAME=magnet-9rl.camel-kanyu.ts.net \ |
| 27 | + -e ATHEME_FALLBACK_HOSTNAME=magnet-1eu.camel-kanyu.ts.net \ |
| 28 | + -e PASSWORD_9RL=vRH6PLBIQeZpTrla0QH3iR2Hn42WY1pj \ |
| 29 | + -e PASSWORD_1EU=vRH6PLBIQeZpTrla0QH3iR2Hn42WY1pj \ |
| 30 | + magnet-atheme-services |
| 31 | + |
| 32 | +# Check logs |
| 33 | +docker logs magnet-atheme --tail 20 |
| 34 | +``` |
| 35 | + |
| 36 | +## Expected Outcome |
| 37 | + |
| 38 | +After running this command, Atheme should connect to the IRC servers and you should see log messages like: |
| 39 | + |
| 40 | +``` |
| 41 | +[timestamp] Connected to uplink magnet-9rl.camel-kanyu.ts.net |
| 42 | +[timestamp] Introducing service NickServ |
| 43 | +[timestamp] Introducing service ChanServ |
| 44 | +[timestamp] Introducing service OperServ |
| 45 | +[timestamp] Introducing service MemoServ |
| 46 | +``` |
| 47 | + |
| 48 | +## Configuration Details |
| 49 | + |
| 50 | +The configuration establishes: |
| 51 | + |
| 52 | +- **Primary uplink**: `magnet-9rl.camel-kanyu.ts.net` (US Hub) |
| 53 | +- **Fallback uplink**: `magnet-1eu.camel-kanyu.ts.net` (EU Leaf) |
| 54 | +- **Services**: NickServ, ChanServ, OperServ, MemoServ |
| 55 | +- **Database**: OpenSEX flat file (no PostgreSQL needed) |
| 56 | +- **Networking**: Via Tailscale mesh (`magnet-atheme.camel-kanyu.ts.net`) |
| 57 | + |
| 58 | +## Alternative Script Method |
| 59 | + |
| 60 | +You can also copy `restart-atheme.sh` to the server and run it: |
| 61 | + |
| 62 | +```bash |
| 63 | +scp restart-atheme.sh [email protected]: ~/ |
| 64 | + |
| 65 | +chmod +x restart-atheme.sh |
| 66 | +./restart-atheme.sh |
| 67 | +``` |
| 68 | + |
| 69 | +## Verification |
| 70 | + |
| 71 | +Once complete, test IRC services functionality: |
| 72 | + |
| 73 | +1. Connect to IRC: `/connect magnet-9rl.camel-kanyu.ts.net 6667` |
| 74 | +2. Register nickname: `/msg NickServ REGISTER password email` |
| 75 | +3. Join channel: `/join #test` |
| 76 | +4. Register channel: `/msg ChanServ REGISTER #test` |
| 77 | + |
| 78 | +The migration from Fly.io to DigitalOcean will be complete once Atheme connects successfully. |
0 commit comments