[GH-ISSUE #2622] Kimai updater - wipes the local.yaml #545

Closed
opened 2026-02-26 12:45:51 +03:00 by kerem · 3 comments
Owner

Originally created by @kernest on GitHub (Feb 24, 2025).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/2622

Have you read and understood the above guidelines?

yes

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

Kimai LXC

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

update

📝 Provide a clear and concise description of the issue.

When running the update command on the container the /opt/kimai/config/packages/local.yaml is removed.

I checked the script and it seems like it is only the .env, which is moved before making the rm -rf on opt/kimai.

The local.yaml is used to setup for example saml etc: https://www.kimai.org/documentation/local-yaml.html

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

🔄 Steps to reproduce the issue.

Add a local.yaml config in the directory.

Run "update"

The file is removed.

Paste the full error output (if available).

N/A

🖼️ Additional context (optional).

No response

Originally created by @kernest on GitHub (Feb 24, 2025). Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/2622 ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Kimai LXC ### 📂 What was the exact command used to execute the script? update ### 📝 Provide a clear and concise description of the issue. When running the update command on the container the /opt/kimai/config/packages/local.yaml is removed. I checked the script and it seems like it is only the .env, which is moved before making the rm -rf on opt/kimai. The local.yaml is used to setup for example saml etc: https://www.kimai.org/documentation/local-yaml.html ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 🔄 Steps to reproduce the issue. Add a local.yaml config in the directory. Run "update" The file is removed. ### ❌ Paste the full error output (if available). N/A ### 🖼️ Additional context (optional). _No response_
kerem 2026-02-26 12:45:51 +03:00
  • closed this issue
  • added the
    feature
    label
Author
Owner

@MickLesk commented on GitHub (Feb 24, 2025):

Thats an new File. When I developed the Kimai script, this did not exist.

Is this file also generated automatically or do you always have to create it?

I see this more as a task than a bug, as it is more of an unexpected extension.

<!-- gh-comment-id:2679816215 --> @MickLesk commented on GitHub (Feb 24, 2025): Thats an new File. When I developed the Kimai script, this did not exist. Is this file also generated automatically or do you always have to create it? I see this more as a task than a bug, as it is more of an unexpected extension.
Author
Owner

@kernest commented on GitHub (Feb 24, 2025):

The local.yaml has been used at least for the last year by Kimai, as I used it in my former docker setup as well.

The local.yaml is not there by default and has to be created manually.

Bugs, task or improvement - that is absolutely your call! Appreciate the work around the LXC highly!

<!-- gh-comment-id:2679824924 --> @kernest commented on GitHub (Feb 24, 2025): The local.yaml has been used at least for the last year by Kimai, as I used it in my former docker setup as well. The local.yaml is not there by default and has to be created manually. Bugs, task or improvement - that is absolutely your call! Appreciate the work around the LXC highly!
Author
Owner

@michelroegl-brunner commented on GitHub (Feb 26, 2025):

Fix merged.

<!-- gh-comment-id:2684843490 --> @michelroegl-brunner commented on GitHub (Feb 26, 2025): Fix merged.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxmoxVE#545
No description provided.