First linux install test #45
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Linux install: permissions, false success, doctor bind, and handoff URL
Found on: installer v0.8.1, bundle 2026.09.15 (servuo-plugins v1.3.0, uo-link v2.3.0), Ubuntu 24.04, ServUO 57.4 under Mono 6.8. This was the first Linux deployment; until now only Windows had been deployed.
Result: after a manual fix to permissions and to the web bind, the install works end to end.
doctoris clean,[Bridge] enabled=Trueappears at boot, the shard is connected, and the website on another host is linked. Everything below happened along the way.1. File modes and owners come from root's umask
What happened: the installer was run with
umask 077, which is unusual, but CIS-hardened hosts default to027. It created these asroot:root 0700:/etc/runicgateway/<ServUO>/Scripts/Custom/<ServUO>/Scripts/Custom/Bridge/(and the 38.csfiles were root-owned)sidecar.tomlitself waschowned torunicgateway. Its parent directory was still root-only, though, so the sidecar couldn't reach it.Effect:
Error: Permission denied (os error 13).servuo, couldn't read the overlay. See #2.Under
umask 027the result would be0750 root:root, which fails the same way.Fix:
/etc/runicgateway:0755, or0750 root:runicgateway.statthe root and copy its uid/gid), with0644files and0755directories.2. Install and doctor report success while things are broken
What happened:
service runicgateway-link.service activating, enabledandRunic Gateway is installed.while the service was crash-looping (restart counter at 17 within a minute).Build succeeded. 0 Error(s)and simply didn't compile the Bridge. The installer output does warn that a clean boot isn't proof, so that part is known.✓ Overlay in sync — all hashes matchbecause it hashes the files as root. It never notices that the ServUO run-as user can't read them.Fix:
/healthfor a few seconds. If it isn'tok, fail or warn loudly and show the last journal lines.sidecar.tomland every directory on its path traversable and readable byrunicgateway.uo-link.dbdirectory writable byrunicgateway.3. doctor always probes
127.0.0.1:8080What happened: with
[web] bind = "192.168.1.154:8080", doctor reported✗ Sidecar reachable — nothing answered http://127.0.0.1:8080/healthandShard connected — unknown. The sidecar was healthy and the remote website could reach it.Fix: read
[web].bindfromsidecar.toml, honouringUOLINK_WEB_BINDif the unit sets it.0.0.0.0or::, probe loopback.4. The handoff URL doesn't match the default web bind
What happened: the default is
[web] bind = "127.0.0.1:8080", which is loopback only. The handoff then prints:A website on another host, which is probably the common case, can never connect with those defaults. A website running in Docker also may not resolve the bare hostname
servuo.Note: the
[shard] bind = 127.0.0.1:7788loopback is deliberate (the shard↔sidecar IPC) and should stay that way. This item is only about[web].Fix (any of these):
--web-bind <ADDR:PORT>for--game servuo, like Rust's--web-port, or prompt for it: "Will the website run on this host?"[web] bindand restart the service."0.0.0.0, rather than the hostname.--hoststill overrides it.5. Smaller items
Permission denied (os error 13)should name the file or directory it failed on.pid 33779, but the ServUO process was33738. On the first run it showed 33738 correctly. It looks like it sometimes picks up a thread ID (TID) from the/procscan rather than the process ID (TGID). Harmless, but confusing when you go tokillit.--no-print-tokenflag, or printtoken: (in /etc/runicgateway/sidecar.toml)when stdout isn't a TTY.What worked well
SHA256 verification of every download; the
--verifydry run; ServUO 57.4 detection; the refusal to run against a live shard, which caught a stray ServUO process sharing the save directory; backups before overwrite; thelibgdipluscheck; and the Mono compile of the overlay once it was readable.