Compare commits

..

1 Commits

Author SHA1 Message Date
CanbiZ
ebcdf003b3 AdventureLog: remove folder during update process 2025-09-09 11:18:14 +02:00
3 changed files with 9 additions and 11 deletions

View File

@@ -16,8 +16,6 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
- #### 🐞 Bug Fixes - #### 🐞 Bug Fixes
- AdventureLog: remove folder during update process [@MickLesk](https://github.com/MickLesk) ([#7507](https://github.com/community-scripts/ProxmoxVE/pull/7507))
- PLANKA: Fix backup and restore commands [@tremor021](https://github.com/tremor021) ([#7505](https://github.com/community-scripts/ProxmoxVE/pull/7505))
- Recyclarr: Suppress config creation output [@tremor021](https://github.com/tremor021) ([#7502](https://github.com/community-scripts/ProxmoxVE/pull/7502)) - Recyclarr: Suppress config creation output [@tremor021](https://github.com/tremor021) ([#7502](https://github.com/community-scripts/ProxmoxVE/pull/7502))
### 🌐 Website ### 🌐 Website

View File

@@ -36,10 +36,10 @@ function update_script() {
msg_info "Backing up data" msg_info "Backing up data"
mkdir -p /opt/planka-backup/{favicons,user-avatars,background-images,attachments} mkdir -p /opt/planka-backup/{favicons,user-avatars,background-images,attachments}
mv /opt/planka/.env /opt/planka-backup mv /opt/planka/.env /opt/planka-backup
[ -d /opt/planka/public/favicons ] && mv /opt/planka/public/favicons/* /opt/planka-backup/favicons/ [ -d /opt/planka/public/favicons ] && find /opt/planka/public/favicons -maxdepth 1 -type f -exec mv -t /opt/planka-backup/favicons {} +
[ -d /opt/planka/public/user-avatars ] && mv /opt/planka/public/user-avatars/* /opt/planka-backup/user-avatars/ [ -d /opt/planka/public/user-avatars ] && find /opt/planka/public/user-avatars -maxdepth 1 -type f -exec mv -t /opt/planka-backup/user-avatars {} +
[ -d /opt/planka/public/background-images ] && mv /opt/planka/public/background-images/* /opt/planka-backup/background-images/ [ -d /opt/planka/public/background-images ] && find /opt/planka/public/background-images -maxdepth 1 -type f -exec mv -t /opt/planka-backup/background-images {} +
[ -d /opt/planka/private/attachments ] && mv /opt/planka/private/attachments/* /opt/planka-backup/attachments/ [ -d /opt/planka/private/attachments ] && find /opt/planka/private/attachments -maxdepth 1 -type f -exec mv -t /opt/planka-backup/attachments {} +
rm -rf /opt/planka rm -rf /opt/planka
msg_ok "Backed up data" msg_ok "Backed up data"
@@ -52,10 +52,10 @@ function update_script() {
msg_info "Restoring data" msg_info "Restoring data"
mv /opt/planka-backup/.env /opt/planka/ mv /opt/planka-backup/.env /opt/planka/
[ -d /opt/planka-backup/favicons ] && mv /opt/planka-backup/favicons/* /opt/planka/public/favicons/ [ -d /opt/planka-backup/favicons ] && find /opt/planka-backup/favicons -maxdepth 1 -type f -exec mv -t /opt/planka/public/favicons {} +
[ -d /opt/planka-backup/user-avatars ] && mv /opt/planka-backup/user-avatars/* /opt/planka/public/user-avatars/ [ -d /opt/planka-backup/user-avatars ] && find /opt/planka-backup/user-avatars -maxdepth 1 -type f -exec mv -t /opt/planka/public/user-avatars {} +
[ -d /opt/planka-backup/background-images ] && mv /opt/planka-backup/background-images/* /opt/planka/public/background-images/ [ -d /opt/planka-backup/background-images ] && find /opt/planka-backup/background-images -maxdepth 1 -type f -exec mv -t /opt/planka/public/background-images {} +
[ -d /opt/planka-backup/attachments ] && mv /opt/planka-backup/attachments/* /opt/planka/private/attachments/ [ -d /opt/planka-backup/attachments ] && find /opt/planka-backup/attachments -maxdepth 1 -type f -exec mv -t /opt/planka/private/attachments {} +
msg_ok "Restored data" msg_ok "Restored data"
msg_info "Starting $APP" msg_info "Starting $APP"

View File

@@ -2,7 +2,7 @@
"name": "Swizzin", "name": "Swizzin",
"slug": "swizzin", "slug": "swizzin",
"categories": [ "categories": [
13 15
], ],
"date_created": "2025-08-19", "date_created": "2025-08-19",
"type": "ct", "type": "ct",