mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-03-03 16:15:54 +00:00
Co-authored-by: Your Name <your-email@example.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -31,7 +31,7 @@ function update_script() {
|
|||||||
if check_for_gh_release "planka" "plankanban/planka"; then
|
if check_for_gh_release "planka" "plankanban/planka"; then
|
||||||
msg_info "Stopping Service"
|
msg_info "Stopping Service"
|
||||||
systemctl stop planka
|
systemctl stop planka
|
||||||
msg_info "Stopped Service"
|
msg_ok "Stopped Service"
|
||||||
|
|
||||||
msg_info "Backing up data"
|
msg_info "Backing up data"
|
||||||
BK="/opt/planka-backup"
|
BK="/opt/planka-backup"
|
||||||
@@ -70,7 +70,7 @@ function update_script() {
|
|||||||
rm -rf "$BK"
|
rm -rf "$BK"
|
||||||
msg_ok "Restored data"
|
msg_ok "Restored data"
|
||||||
|
|
||||||
msg_ok "Migrate Database"
|
msg_info "Migrate Database"
|
||||||
cd /opt/planka
|
cd /opt/planka
|
||||||
$STD npm run db:upgrade
|
$STD npm run db:upgrade
|
||||||
$STD npm run db:migrate
|
$STD npm run db:migrate
|
||||||
|
|||||||
Reference in New Issue
Block a user