mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-29 20:14:43 +00:00
Planka: add migrate step to update function (#11877)
Added database migration commands after restoring data.
This commit is contained in:
@@ -61,6 +61,12 @@ function update_script() {
|
|||||||
rm -rf "$BK"
|
rm -rf "$BK"
|
||||||
msg_ok "Restored data"
|
msg_ok "Restored data"
|
||||||
|
|
||||||
|
msg_ok "Migrate Database"
|
||||||
|
cd /opt/planka
|
||||||
|
$STD npm run db:upgrade
|
||||||
|
$STD npm run db:migrate
|
||||||
|
msg_ok "Migrated Database"
|
||||||
|
|
||||||
msg_info "Starting Service"
|
msg_info "Starting Service"
|
||||||
systemctl start planka
|
systemctl start planka
|
||||||
msg_ok "Started Service"
|
msg_ok "Started Service"
|
||||||
|
|||||||
Reference in New Issue
Block a user