Unable to Save Default Values in Kimai #283

Closed
opened 2026-02-04 17:42:45 +03:00 by OVERLORD · 10 comments
Owner

Originally created by @BS-Foster on GitHub (Jan 6, 2025).

Have you read and understood the above guidelines?

yes

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

Kimai

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

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/kimai.sh)"

📝 Provide a clear and concise description of the issue.

With Kimai up and running, I'm trying to change the default Values. Every time I change the settings and click save, I get the green confirmation banner saying "saved changes", but immediately the changes get revered and aren't actually saved. I can click the reset button and the settings change to blank values, but again if I click save the settings get reverted to the values they were when the sever was started.

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

🔄 Steps to reproduce the issue.

Step 1: Install Kimai
Step 2: login via admin@helper-scripts
Step 3: Go to System-Settings
Step 4: Change default values and click save

Paste the full error output (if available).

N/A

🖼️ Additional context (optional).

I've installed it both with default and advanced settings. Also, I've signed in with admin@helper-scripts.com creds and with creds of a user I created and added admin roles to. Not sure if its something I'm doing wrong on my end or expecting it to work a way that it doesn't. But, i would like to change the default values so I don't have to change them every time I add a new customer, project, user, etc.

Originally created by @BS-Foster on GitHub (Jan 6, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Kimai ### 📂 What was the exact command used to execute the script? bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/kimai.sh)" ### 📝 Provide a clear and concise description of the issue. With Kimai up and running, I'm trying to change the default Values. Every time I change the settings and click save, I get the green confirmation banner saying "saved changes", but immediately the changes get revered and aren't actually saved. I can click the reset button and the settings change to blank values, but again if I click save the settings get reverted to the values they were when the sever was started. ### ⚙️ What settings are you using? - [X] Default Settings - [X] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 🔄 Steps to reproduce the issue. Step 1: Install Kimai Step 2: login via admin@helper-scripts Step 3: Go to System-Settings Step 4: Change default values and click save ### ❌ Paste the full error output (if available). N/A ### 🖼️ Additional context (optional). I've installed it both with default and advanced settings. Also, I've signed in with admin@helper-scripts.com creds and with creds of a user I created and added admin roles to. Not sure if its something I'm doing wrong on my end or expecting it to work a way that it doesn't. But, i would like to change the default values so I don't have to change them every time I add a new customer, project, user, etc.
Author
Owner

@MickLesk commented on GitHub (Jan 6, 2025):

When you create the LXC? Its think it was fixed 2 weeks ago?

@MickLesk commented on GitHub (Jan 6, 2025): When you create the LXC? Its think it was fixed 2 weeks ago?
Author
Owner

@BS-Foster commented on GitHub (Jan 6, 2025):

I'm able to create the LXC and log into the service, but when I try and change the default values under system - settings they don't keep the values I changed them to even though I get the banner at the top of the page saying " saved changes". The installation of the LXC went smoothly; this is the only issues I'm running into.

@BS-Foster commented on GitHub (Jan 6, 2025): I'm able to create the LXC and log into the service, but when I try and change the default values under system - settings they don't keep the values I changed them to even though I get the banner at the top of the page saying " saved changes". The installation of the LXC went smoothly; this is the only issues I'm running into.
Author
Owner

@BS-Foster commented on GitHub (Jan 6, 2025):

I don't think I'm following your question then. Would the fix be something I do through the cli or is it something that was changed in the script? Thanks for your patience.

@BS-Foster commented on GitHub (Jan 6, 2025): I don't think I'm following your question then. Would the fix be something I do through the cli or is it something that was changed in the script? Thanks for your patience.
Author
Owner

@MickLesk commented on GitHub (Jan 6, 2025):

Build the script again as a new LXC and test it. You are not answering the question of when you created the LXC.

@MickLesk commented on GitHub (Jan 6, 2025): Build the script again as a new LXC and test it. You are not answering the question of when you created the LXC.
Author
Owner

@BS-Foster commented on GitHub (Jan 6, 2025):

Oh my bad its been a long day. You're asking when I made the LXC? I made it a day ago. I've even removed and recreated it both with default setting and advanced. Also rebooted proxmox before and after recreating the LXC just incase.

@BS-Foster commented on GitHub (Jan 6, 2025): Oh my bad its been a long day. You're asking when I made the LXC? I made it a day ago. I've even removed and recreated it both with default setting and advanced. Also rebooted proxmox before and after recreating the LXC just incase.
Author
Owner

@BS-Foster commented on GitHub (Jan 7, 2025):

I've rebuilt the script again as a new LXC and I'm still unable to save the default values. Same issue occurs.

@BS-Foster commented on GitHub (Jan 7, 2025): I've rebuilt the script again as a new LXC and I'm still unable to save the default values. Same issue occurs.
Author
Owner

@MickLesk commented on GitHub (Jan 20, 2025):

i doesnt found any missing dep or right. I've create an Issue in kimai, maybe somebody there can help us.

@MickLesk commented on GitHub (Jan 20, 2025): i doesnt found any missing dep or right. I've create an Issue in kimai, maybe somebody there can help us.
Author
Owner

@SamKr commented on GitHub (Jan 20, 2025):

For reference, this is the discussion in the kimai repo: https://github.com/kimai/kimai/discussions/5310

@SamKr commented on GitHub (Jan 20, 2025): For reference, this is the discussion in the kimai repo: https://github.com/kimai/kimai/discussions/5310
Author
Owner

@MickLesk commented on GitHub (Jan 20, 2025):

can you try following:

cd /opt/kimai
composer update
systemctl reload apache2
@MickLesk commented on GitHub (Jan 20, 2025): can you try following: ```bash cd /opt/kimai composer update systemctl reload apache2 ```
Author
Owner

@BS-Foster commented on GitHub (Jan 26, 2025):

Sorry for the late reply, but it looks like everything is working correctly now for me at least. Thanks for the help!

@BS-Foster commented on GitHub (Jan 26, 2025): Sorry for the late reply, but it looks like everything is working correctly now for me at least. Thanks for the help!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#283