[Bug]: /app/public and /app/private folders are deleted when a new pod is initialized #631

Open
opened 2026-02-04 20:37:29 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @umut-akkaya on GitHub (Jan 19, 2025).

Where is the problem occurring?

I encountered the problem while interacting with the server (Backend)

What browsers are you seeing the problem on?

Chrome

Current behaviour

I have created kubernetes resources to host planka on my local k8s. I have mounted 2 volume for /app/public and /app/private. Volumes are mounted with right security group 1000 which node uses. The problem is when i delete the pod of server deployment creates a new pod. However new pod deletes all files in PV which is attached via PVC. I built my own images by using Dockerfile in the project. Do you know what could be the problem?

Desired behaviour

When a new pod is created and older pod is dead it should contain the background images and attachments.

Steps to reproduce

  • Built docker image
  • Create k8s deployment and pvc's
  • Configure a project and set project background image
  • Kill the pod and let the deployment create a new one
  • Background images will be gone.

Other information

No response

Originally created by @umut-akkaya on GitHub (Jan 19, 2025). ### Where is the problem occurring? I encountered the problem while interacting with the server (Backend) ### What browsers are you seeing the problem on? Chrome ### Current behaviour I have created kubernetes resources to host planka on my local k8s. I have mounted 2 volume for` /app/public` and` /app/private.` Volumes are mounted with right security group 1000 which node uses. The problem is when i delete the pod of server deployment creates a new pod. However new pod deletes all files in PV which is attached via PVC. I built my own images by using Dockerfile in the project. Do you know what could be the problem? ### Desired behaviour When a new pod is created and older pod is dead it should contain the background images and attachments. ### Steps to reproduce - Built docker image - Create k8s deployment and pvc's - Configure a project and set project background image - Kill the pod and let the deployment create a new one - Background images will be gone. ### Other information _No response_
OVERLORD added the help wanted label 2026-02-04 20:37:29 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#631