From 2d92472992e6f63c601a9af6c1bc07d9af2f5f68 Mon Sep 17 00:00:00 2001 From: navanchauhan Date: Wed, 20 Jul 2022 18:14:43 -0600 Subject: [PATCH] fix migration --- scripts/install | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 18d178d..d20a4e4 100755 --- a/scripts/install +++ b/scripts/install @@ -102,7 +102,9 @@ chown -R $app:www-data "$datadir" # Run migrate for new install go-shiori/shiori#447 pushd $final_path/ - sudo -u $app $final_path/shiori migrate + sudo -u $app $final_path/shiori --portable migrate + sudo -u $app mv shiori-data/shiori.db $datadir + rm -r shiori-date popd #=================================================