From a8eba9e7191f39e26c082ef60368c9f198f38c37 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Fri, 4 Apr 2025 11:48:11 -0700 Subject: [PATCH] upgrades: Increase distribution upgrade timeout to 3 days - 12 hours might genuinely not enough with SD cards, slow download speeds, and large number of packages (due to apps such as GNOME). Tests: - None Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- plinth/modules/upgrades/distupgrade.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plinth/modules/upgrades/distupgrade.py b/plinth/modules/upgrades/distupgrade.py index 0020fd046..7f62205c4 100644 --- a/plinth/modules/upgrades/distupgrade.py +++ b/plinth/modules/upgrades/distupgrade.py @@ -335,7 +335,7 @@ def start_service(test_upgrade: bool): args = [ '--unit=freedombox-dist-upgrade', '--description=Upgrade to new stable Debian release', - '--property=KillMode=process', '--property=TimeoutSec=12hr', + '--property=KillMode=process', '--property=TimeoutSec=72hr', f'--property=BindPaths={temp_sources_list}:{sources_list}' ] subprocess.run(['systemd-run'] + args + [