PLANKA: Update Command clears private and public attachement folders #1878

Open
opened 2025-11-20 05:19:07 -05:00 by saavagebueno · 0 comments
Owner

Originally created by @SeDi343 on GitHub (Sep 9, 2025).

Originally assigned to: @tremor021 on GitHub.

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

PLANKA

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/planka.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📈 Which Proxmox version are you on?

PVE 9.0.6

📝 Provide a clear and concise description of the issue.

When running the update command for the PLANKA Proxmox Container I have this Output which indicates that everything should work properly:

    ____  __    ___    _   ____ __ ___ 
   / __ \/ /   /   |  / | / / //_//   |
  / /_/ / /   / /| | /  |/ / ,<  / /| |
 / ____/ /___/ ___ |/ /|  / /| |/ ___ |
/_/   /_____/_/  |_/_/ |_/_/ |_/_/  |_|
                                       

⠼ Checking for update: planka/dev/fd/63: line 287: wait_for: No record of process 5007
  ✔️   Stopped PLANKA
  ✔️   Backed up data
  ✔️   Deployed: planka (2.0.0-rc.4)
  ✔️   Updated Frontend
  ✔️   Restored data
  ✔️   Started PLANKA
  ✔️   Update Successful

Unfortunately /opt/planka/private/attachments, '/opt/planka/background-images/and/opt/planka/user-avatars/' only contains the .gitkeep file after the update. Which removes all attachement and backgrounds and user profile pictures from Planka after the update.

🔄 Steps to reproduce the issue.

Update Planka from 2.0.0-rc.3 to 2.0.0-rc.4 using update command in the container

Paste the full error output (if available).

Image Image

🖼️ Additional context (optional).

root@planka-server:/opt/planka# ls
api     constants.js    LICENSE.md    nodemon.json       patches  README.md         start.sh  version.js
app.js  db              logs          package.json       private  requirements.txt  test      version-template.ejs
config  healthcheck.js  node_modules  package-lock.json  public   SECURITY.md       utils     views
root@planka-server:/opt/planka# ls -la private/attachments/
total 8
drwxr-xr-x 2 root root 4096 Sep  9 09:53 .
drwxr-xr-x 3 root root 4096 Sep  9 09:53 ..
-rw-r--r-- 1 root root    0 Jul 18 10:36 .gitkeep
root@planka-server:/opt/planka# ls -la public/background-images/
total 8
drwxr-xr-x 2 root root 4096 Sep  9 09:53 .
drwxr-xr-x 7 root root 4096 Sep  9 09:53 ..
-rw-r--r-- 1 root root    0 Jul 18 10:37 .gitkeep
root@planka-server:/opt/planka# ls -la public/user-avatars/
total 8
drwxr-xr-x 2 root root 4096 Sep  9 09:53 .
drwxr-xr-x 7 root root 4096 Sep  9 09:53 ..
-rw-r--r-- 1 root root    0 Jul 18 10:37 .gitkeep
Originally created by @SeDi343 on GitHub (Sep 9, 2025). Originally assigned to: @tremor021 on GitHub. ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? PLANKA ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/planka.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📈 Which Proxmox version are you on? PVE 9.0.6 ### 📝 Provide a clear and concise description of the issue. When running the `update` command for the PLANKA Proxmox Container I have this Output which indicates that everything should work properly: ``` ____ __ ___ _ ____ __ ___ / __ \/ / / | / | / / //_// | / /_/ / / / /| | / |/ / ,< / /| | / ____/ /___/ ___ |/ /| / /| |/ ___ | /_/ /_____/_/ |_/_/ |_/_/ |_/_/ |_| ⠼ Checking for update: planka/dev/fd/63: line 287: wait_for: No record of process 5007 ✔️ Stopped PLANKA ✔️ Backed up data ✔️ Deployed: planka (2.0.0-rc.4) ✔️ Updated Frontend ✔️ Restored data ✔️ Started PLANKA ✔️ Update Successful ``` Unfortunately `/opt/planka/private/attachments`, '/opt/planka/background-images/` and `/opt/planka/user-avatars/' only contains the `.gitkeep` file after the update. Which removes all attachement and backgrounds and user profile pictures from Planka after the update. ### 🔄 Steps to reproduce the issue. Update Planka from 2.0.0-rc.3 to 2.0.0-rc.4 using `update` command in the container ### ❌ Paste the full error output (if available). <img width="1255" height="323" alt="Image" src="https://github.com/user-attachments/assets/a23b8294-de37-493c-a457-beaa08cbe237" /> <img width="517" height="500" alt="Image" src="https://github.com/user-attachments/assets/1888ee38-d8d7-438c-8c6f-b054700b8aa7" /> ### 🖼️ Additional context (optional). ``` root@planka-server:/opt/planka# ls api constants.js LICENSE.md nodemon.json patches README.md start.sh version.js app.js db logs package.json private requirements.txt test version-template.ejs config healthcheck.js node_modules package-lock.json public SECURITY.md utils views root@planka-server:/opt/planka# ls -la private/attachments/ total 8 drwxr-xr-x 2 root root 4096 Sep 9 09:53 . drwxr-xr-x 3 root root 4096 Sep 9 09:53 .. -rw-r--r-- 1 root root 0 Jul 18 10:36 .gitkeep root@planka-server:/opt/planka# ls -la public/background-images/ total 8 drwxr-xr-x 2 root root 4096 Sep 9 09:53 . drwxr-xr-x 7 root root 4096 Sep 9 09:53 .. -rw-r--r-- 1 root root 0 Jul 18 10:37 .gitkeep root@planka-server:/opt/planka# ls -la public/user-avatars/ total 8 drwxr-xr-x 2 root root 4096 Sep 9 09:53 . drwxr-xr-x 7 root root 4096 Sep 9 09:53 .. -rw-r--r-- 1 root root 0 Jul 18 10:37 .gitkeep ```
saavagebueno added the bug label 2025-11-20 05:19:07 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#1878