1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/shiori_ynh.git synced 2024-09-03 20:26:17 +02:00

fix migration

This commit is contained in:
navanchauhan 2022-07-20 18:14:43 -06:00
parent 41fd9f8b77
commit 2d92472992

View file

@ -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
#=================================================