Kimai updater - wipes the local.yaml #592

Closed
opened 2025-11-20 04:50:42 -05:00 by saavagebueno · 3 comments
Owner

Originally created by @kernest on GitHub (Feb 24, 2025).

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). ### ✅ 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_
saavagebueno added the feature label 2025-11-20 04:50:42 -05:00
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.

@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!

@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.

@michelroegl-brunner commented on GitHub (Feb 26, 2025): Fix merged.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#592