diff --git a/ct/wikijs.sh b/ct/wikijs.sh index b7d2dd962..c5eced179 100644 --- a/ct/wikijs.sh +++ b/ct/wikijs.sh @@ -86,7 +86,7 @@ function update_script() { msg_info "Restoring Data" cp -R /opt/wikijs-backup/* /opt/wikijs if [[ "$SQLITE_INSTALL" == "true" ]]; then - $STD npm rebuild sqlite3 + $STD npm --prefix /opt/wikijs rebuild sqlite3 fi rm -rf /opt/wikijs-backup msg_ok "Restored Data"