Fresh Ubuntu Desktop install: no curl for the README command, and a renamed PC keeps its old hostname #325
Labels
No labels
Area/Backend
Area/Database
Area/Docs
Area/Frontend
Area/Infra
Area/Security
Area/Tests
Area/Tooling
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Lang/Python
Lang/Rust
Lang/Shell
Lang/SQL
Lang/TypeScript
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Routing
Auto
Routing
Hold
Routing
Human
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Grimoirix/grimoire-of-digital-signage#325
Loading…
Reference in a new issue
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?
Install test on a fresh PC, 2026-11-18 (GRI-2051): 10.1.255.95, Dell OptiPlex 3060, Ubuntu Desktop 26.04.1, kernel 7.0, dev
56dd99c.Result: the install works end to end: no "Welcome to Ubuntu" wizard (#301), auto-login of
scryglass(#232), the player starts, and the device registers. Two defects:1. The README install command fails on a fresh Ubuntu Desktop: no
curlUbuntu Desktop 26.04 does not ship
curl(wgetis installed). The README commandcurl ... install.sh | sudo bash -s -- client --server ...stops at once withcurl: command not found, before the installer starts.Fix: the README gives a
wget -qO- ... | sudo bash -s -- ...command (works on Desktop and Server as shipped), or sayssudo apt install curlfirst.install.shitself must not assumecurleither; if it downloads anything, it falls back towgetor installscurlin its package step.2. A renamed PC keeps its old name on the server
The client sends its hostname only at registration (
devices.hostnameandreported_info.hostname). Afterhostnamectl set-hostname, a reboot and a reconnect ("welcome back"), the server still had the old hostname in both fields. The product owner renamedScryglass-BbloktoScryglass-Pblok; the server record was fixed by hand.Fix: the client reports its current
reported_info(hostname, OS, kernel) on every connect, and the server updateshostnameandreported_info. The displaynameis not changed by this, because an admin may have renamed the device in the panel.Done when: a test registers a device, reconnects it with a different hostname, and reads the new hostname back while
namestays unchanged; and the README command works on a fresh Ubuntu Desktop 26.04.Fixed by GRI-2215, PR #330 (merged into dev at
f6d98ca3):wget -qO-(ships on Ubuntu Desktop/Server) with a note to swap incurl -fsSLif preferred; install.sh itself no longer assumes curl is present.devices::update_reported_info, leaving the admin-set displaynameuntouched.crates/server/tests/ws_integration.rsandcrates/client/tests/sync_survives_restart.rs.Closing as done.