From e0ac622ffcaf9fbbb9b5ee827d5c92334893f588 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Tue, 6 Mar 2018 13:54:16 +0100 Subject: [PATCH] Skip all migrations during postinstall --- src/yunohost/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yunohost/tools.py b/src/yunohost/tools.py index 99ae5e636..ba90b0002 100644 --- a/src/yunohost/tools.py +++ b/src/yunohost/tools.py @@ -397,7 +397,7 @@ def tools_postinstall(domain, password, ignore_dyndns=False): _install_appslist_fetch_cron() # Init migrations (skip them, no need to run them on a fresh system) - tools_migrations_migrate(target=2, skip=True, auto=True) + tools_migrations_migrate(skip=True, auto=True) os.system('touch /etc/yunohost/installed')