From c15b93af4da87904e581985bdfa3def47b57948e Mon Sep 17 00:00:00 2001 From: Yalh Date: Tue, 22 Jan 2019 22:37:43 +0100 Subject: [PATCH] Fix restore: thread 'main' panicked at 'Your search index is locked --- scripts/restore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/restore b/scripts/restore index cd2cab5..76ae678 100755 --- a/scripts/restore +++ b/scripts/restore @@ -107,6 +107,10 @@ ynh_install_app_dependencies gettext postgresql postgresql-contrib libpq-dev git ynh_restore_file "/etc/systemd/system/$app.service" systemctl enable $app.service +#Fix Your search index is locked. + +( cd $final_path/$app && sudo -u "$app" $final_path/.cargo/bin/plm search unlock ) + #================================================= # RESTORE THE CRON FILE #=================================================