GRI-1937: install.sh upgrade, purge after a plain uninstall, questions time out #143
No reviewers
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Grimoirix/grimoire-of-digital-signage!143
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/GRI-1937-install-upgrade"
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?
Part 1 of the
setup-wizard-planon GRI-1937.install.sh upgrade server|client: fetch the new source and rebuild, keep config and data. The build cache is kept, so it is faster thanreinstall.uninstall server --purgeafter a plainuninstallnow finds the data by what is on disk: it drops the local database, removes/var/lib/private/grimoire-signageand leftover Docker volumes. Before, it only removed/etc/grimoire-signage.SCRYGLASS_ASK_TIMEOUT, default 300 s) and then stops with a message. Cause of the 5-minute hang on the product owner's Ubuntu 26.04 host: the process list shows the$(ask ...)subshell blocked inreadon/dev/tty, with no child process. Ubuntu 26.04 ships sudo-rs, which runs the command in its own pty (pts/3 vs the session's pts/2) and, with stdin a pipe, does not pass the typedythrough. The message now says: download the script and run it from the file, or answer with an option.Checks:
bash -nclean; the timeout and a normal answer tested under a pseudo-terminal. No CI gate coversinstall.sh(shellcheck is not installed on the build host), and the branch changes no Rust or front-end code.