From 85fe3db2b2ca478c079c6acf92f7d81a91dfcd40 Mon Sep 17 00:00:00 2001 From: rchac Date: Fri, 1 May 2026 15:52:32 +0000 Subject: [PATCH] changes --- docs-es/v2.0/TechnicalDocs/troubleshooting.md | 2 ++ docs-es/v2.0/troubleshooting-es.md | 2 ++ docs/v2.0/troubleshooting.md | 2 ++ src/build_rust.sh | 5 +++-- 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/docs-es/v2.0/TechnicalDocs/troubleshooting.md b/docs-es/v2.0/TechnicalDocs/troubleshooting.md index 31155216..c53a57f6 100644 --- a/docs-es/v2.0/TechnicalDocs/troubleshooting.md +++ b/docs-es/v2.0/TechnicalDocs/troubleshooting.md @@ -67,6 +67,8 @@ sudo dpkg --configure -a sudo systemctl restart lqosd lqos_scheduler ``` +Git-based installs must rebuild the virtual environment before restarting `lqos_scheduler` after pulling updates that change the service file. If systemd reports `status=203/EXEC`, rebuild the virtual environment with the command above and restart `lqos_scheduler`. + ### Python ModuleNotFoundError in older Ubuntu 24.04 installs ``` pip uninstall binpacking --break-system-packages --yes diff --git a/docs-es/v2.0/troubleshooting-es.md b/docs-es/v2.0/troubleshooting-es.md index 1afcd98e..2f661992 100644 --- a/docs-es/v2.0/troubleshooting-es.md +++ b/docs-es/v2.0/troubleshooting-es.md @@ -120,6 +120,8 @@ sudo dpkg --configure -a sudo systemctl restart lqosd lqos_scheduler ``` +Las instalaciones basadas en git deben reconstruir el entorno virtual antes de reiniciar `lqos_scheduler` después de actualizar cambios que modifiquen el archivo de servicio. Si systemd informa `status=203/EXEC`, reconstruya el entorno virtual con el comando anterior y reinicie `lqos_scheduler`. + Si el scheduler falla inmediatamente después de un reinicio con un mensaje como `Socket (typically /run/lqos/bus) not found`, eso indica que `lqosd` todavía no había terminado de enlazar el bus local. Los builds actuales esperan brevemente la disponibilidad del bus al arrancar el scheduler en lugar de abortar de inmediato, por lo que ya no deberían aparecer panics repetidos de arranque tras un reinicio. ### El estado del scheduler en WebUI aparece no saludable diff --git a/docs/v2.0/troubleshooting.md b/docs/v2.0/troubleshooting.md index edb1f60d..8ef8588f 100644 --- a/docs/v2.0/troubleshooting.md +++ b/docs/v2.0/troubleshooting.md @@ -224,6 +224,8 @@ sudo dpkg --configure -a sudo systemctl restart lqosd lqos_scheduler ``` +Git-based installs must rebuild the virtual environment before restarting `lqos_scheduler` after pulling updates that change the service file. If systemd reports `status=203/EXEC`, rebuild the virtual environment with the command above and restart `lqos_scheduler`. + For manual shaping tests, use the same interpreter as the service: ```bash diff --git a/src/build_rust.sh b/src/build_rust.sh index 234dc8fe..3182e4cb 100755 --- a/src/build_rust.sh +++ b/src/build_rust.sh @@ -226,6 +226,9 @@ rebuild_python_venv() { } SERVICE_UNITS_UPDATED=0 + +rebuild_python_venv + refresh_service_unit lqosd refresh_service_unit lqos_scheduler refresh_service_unit lqos_api @@ -251,8 +254,6 @@ if service_unit_exists lqos_netplan_helper; then fi fi -rebuild_python_venv - if hotfix_blocks_service_restart; then echo "Ubuntu 24.04 systemd hotfix is still required. Skipping LibreQoS service restarts." echo "Install it with: sudo ./systemd_hotfix.sh install"