erplibre/script/install
Mathieu Benoit c87cd2f5bd [FIX] install : os-release au lieu de lsb_release, collision d'IP mieux vue
Deux echecs distincts sur les VM Debian s390x posees par l'installateur.

lsb_release vient du paquet lsb-release, livre avec la tache
« standard ». Les images cloud l'ont ; une Debian posee par
debian-installer, non. Les trois variables devenaient VIDES et le script
concluait « Your version of Ubuntu is not supported » sur une Debian.
/etc/os-release appartient a systemd, il est toujours la, et donne ID,
VERSION_ID et VERSION_CODENAME sans rien installer.

L'autre echec etait pire : l'adresse fixe choisie appartenait deja a une
machine du parc, et l'installation ERPLibre s'est deroulee SUR CETTE
DERNIERE. Le journal ne le disait qu'a demi-mot — « git is already the
newest version », impossible sur un systeme que d-i vient de poser. Un
essai sur le port 22 avec 0,4 s laissait passer toute machine eteinte ou
filtree. On interroge desormais le voisinage ARP, puis ICMP, puis SSH.

--- EN ---

Two distinct failures on Debian s390x VMs laid down by the installer.

lsb_release comes from the lsb-release package, shipped with the
"standard" task. Cloud images have it; a Debian installed by
debian-installer does not. All three variables came out EMPTY and the
script concluded "Your version of Ubuntu is not supported" on a Debian.
/etc/os-release belongs to systemd, is always there, and gives ID,
VERSION_ID and VERSION_CODENAME without installing anything.

The other failure was worse: the chosen static address already belonged
to a machine in the fleet, and the ERPLibre install ran ON THAT ONE. The
log only hinted at it — "git is already the newest version", impossible
on a system d-i just laid down. A port-22 probe with 0.4 s let through
any machine that was off or filtered. We now check the ARP neighbourhood,
then ICMP, then SSH.

Assisted-by: Claude Opus 5
(cherry picked from commit c73db1642a676ece1a06cdbdac3e9cfa5b526f3c)
2026-08-23 02:07:42 -04:00
..
install_arch_linux.sh [ADD] arch: Canadian pacman mirrors first 2026-08-16 23:33:49 -04:00
install_debian_10_prod_docker.sh [UPD] typo certbot 2026-01-10 04:52:39 -05:00
install_debian_dependency.sh [FIX] install : os-release au lieu de lsb_release, collision d'IP mieux vue 2026-08-23 02:07:42 -04:00
install_dev.sh [ADD] install: mise as Python provider, pyenv as fallback 2026-08-16 23:33:49 -04:00
install_dev_extra_ubuntu.sh [UPD] replace docker-compose to docker compose 2024-05-03 23:13:59 -04:00
install_erplibre.sh [IMP] mobile home installation and run 2025-11-11 05:19:14 -05:00
install_fedora_dependency.sh [FIX] install s390x: the compiler was killed for lack of memory 2026-08-17 00:40:01 -04:00
install_git_repo.sh [IMP] refactoring .venv.erplibre 2025-10-31 01:34:26 -04:00
install_locally.sh [FIX] install s390x: the compiler was killed for lack of memory 2026-08-17 00:40:01 -04:00
install_locally_dev.sh [IMP] installation: parallelize repo sync and poetry install 2026-08-07 02:09:35 -04:00
install_locally_prod.sh [FIX] script python: missing color log error 2024-05-03 23:13:59 -04:00
install_ntfy.sh [ADD] install: add NTFY self-hosted push notification server 2026-08-07 02:52:17 -04:00
install_OSX_dependency.sh [UPD] OSX installation: remove python 3.7 2026-02-13 04:07:32 -05:00
install_production.sh [UPD] script refactor install_daemon, python script to customize services 2025-11-02 02:14:15 -05:00
install_production_nginx.sh [IMP] support multi version odoo on same workspace 2025-10-31 01:36:26 -04:00
install_suse_dependency.sh [FIX] install s390x: the compiler was killed for lack of memory 2026-08-17 00:40:01 -04:00
install_ubuntu_docker.sh [UPD] typo certbot 2026-01-10 04:52:39 -05:00
install_venv.sh [ADD] install: mise as Python provider, pyenv as fallback 2026-08-16 23:33:49 -04:00
lib_lowmem.sh [FIX] install s390x: the compiler was killed for lack of memory 2026-08-17 00:40:01 -04:00
lib_pip_provider.sh [ADD] install: uv to place Python packages, pip as fallback 2026-08-16 23:33:49 -04:00
lib_python_provider.sh [ADD] install: mise as Python provider, pyenv as fallback 2026-08-16 23:33:49 -04:00
lib_qpdf.sh [FIX] install: the EL9, EL10 and Fedora build chain 2026-08-16 23:33:49 -04:00