CheckMK Installation Error creating credential file #1277

Closed
opened 2026-02-05 00:09:43 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @johnsturgeon on GitHub (Jul 14, 2025).

Have you read and understood the above guidelines?

yes

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

CheckMK

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

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

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📝 Provide a clear and concise description of the issue.

Install fails with the following error:

Processing triggers for php8.2-cgi (8.2.28-1~deb12u1) ...
  ✔️   Installed Checkmk
  ⏳   Creating Service
[ERROR] in line 27: exit code 0: while executing command PASSWORD=$(omd create monitoring | grep "password:" | awk '{print $NF}')

[ERROR] in line 1233: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/"$var_install".sh)" $?

🔄 Steps to reproduce the issue.

install, I ran advanced, but only to configure my network

Paste the full error output (if available).

Processing triggers for php8.2-cgi (8.2.28-1~deb12u1) ...
✔️ Installed Checkmk
Creating Service
[ERROR] in line 27: exit code 0: while executing command PASSWORD=$(omd create monitoring | grep "password:" | awk '{print $NF}')

[ERROR] in line 1233: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/"var_install".sh)" ?

🖼️ Additional context (optional).

No response

Originally created by @johnsturgeon on GitHub (Jul 14, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? CheckMK ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/checkmk.sh)" ### ⚙️ What settings are you using? - [ ] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📝 Provide a clear and concise description of the issue. Install fails with the following error: ``` Processing triggers for php8.2-cgi (8.2.28-1~deb12u1) ... ✔️ Installed Checkmk ⏳ Creating Service [ERROR] in line 27: exit code 0: while executing command PASSWORD=$(omd create monitoring | grep "password:" | awk '{print $NF}') [ERROR] in line 1233: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/"$var_install".sh)" $? ``` ### 🔄 Steps to reproduce the issue. install, I ran advanced, but only to configure my network ### ❌ Paste the full error output (if available). Processing triggers for php8.2-cgi (8.2.28-1~deb12u1) ... ✔️ Installed Checkmk ⏳ Creating Service [ERROR] in line 27: exit code 0: while executing command PASSWORD=$(omd create monitoring | grep "password:" | awk '{print $NF}') [ERROR] in line 1233: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/"$var_install".sh)" $? ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-05 00:09:43 +03:00
Author
Owner

@johnsturgeon commented on GitHub (Jul 14, 2025):

I just re-created the site from the command line, and it's possible that it's because omd create did not echo the cmkadmin password

@johnsturgeon commented on GitHub (Jul 14, 2025): I just re-created the site from the command line, and it's possible that it's because `omd create` did not echo the cmkadmin password
Author
Owner

@MickLesk commented on GitHub (Jul 15, 2025):

they changed there install. in the docs are marked the old install, but below it talks about a different method.

#6001

@MickLesk commented on GitHub (Jul 15, 2025): they changed there install. in the docs are marked the old install, but below it talks about a different method. #6001
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1277