lldap - little error in update script #758

Closed
opened 2025-11-20 04:53:35 -05:00 by saavagebueno · 2 comments
Owner

Originally created by @FairTradeOrange on GitHub (Mar 21, 2025).

Originally assigned to: @tremor021 on GitHub.

Have you read and understood the above guidelines?

yes

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

lldap

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

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

📝 Provide a clear and concise description of the issue.

The Update Script said: ✖️ No lldap Installation Found!.
So i looked into the script and it seems there is an error in the update function:
(https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/lldap.sh)

function update_script() {
    header_info
    check_container_storage
    check_container_resources
    if [[ ! -f /etc/systemd/system/lldap.service ]]; then      <-------X
        msg_error "No ${APP} Installation Found!"
        exit
    fi
    msg_info "Updating $APP"
    apt update
    apt upgrade -y lldap
    msg_ok "Updated $APP"
    exit
}

it should be /lib/systemd/system/lldap.service.
Or is it an error because of my old installation ( old repository )?

Here my running instance in /lib/systemd/system/lldap.service with default installation.

● lldap.service - Nitnelave LLDAP
Loaded: loaded (/lib/systemd/system/lldap.service; enabled; preset: enabled)
Active: active (running) since Sat 2025-03-22 00:11:49 CET; 5min ago
Docs: https://github.com/nitnelave/lldap
Main PID: 4450 (lldap)
Tasks: 4 (limit: 154340)
Memory: 2.7M
CPU: 70ms
CGroup: /system.slice/lldap.service
└─4450 /usr/bin/lldap run --config-file /etc/lldap/lldap_config.toml

Thank you all for supporting this wonderful project! ( :

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

🔄 Steps to reproduce the issue.

  • Default Install lldap
  • Update lldap with update or script

Paste the full error output (if available).

✖️ No lldap Installation Found!.

🖼️ Additional context (optional).

No response

Originally created by @FairTradeOrange on GitHub (Mar 21, 2025). Originally assigned to: @tremor021 on GitHub. ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? lldap ### 📂 What was the exact command used to execute the script? bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/lldap.sh)" ### 📝 Provide a clear and concise description of the issue. The Update Script said: ` ✖️ No lldap Installation Found!`. So i looked into the script and it seems there is an error in the update function: (https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/lldap.sh) ``` function update_script() { header_info check_container_storage check_container_resources if [[ ! -f /etc/systemd/system/lldap.service ]]; then <-------X msg_error "No ${APP} Installation Found!" exit fi msg_info "Updating $APP" apt update apt upgrade -y lldap msg_ok "Updated $APP" exit } ``` it should be `/lib/systemd/system/lldap.service`. Or is it an error because of my old installation ( old repository )? Here my running instance in `/lib/systemd/system/lldap.service` with default installation. ● lldap.service - Nitnelave LLDAP Loaded: loaded (/lib/systemd/system/lldap.service; enabled; preset: enabled) Active: active (running) since Sat 2025-03-22 00:11:49 CET; 5min ago Docs: https://github.com/nitnelave/lldap Main PID: 4450 (lldap) Tasks: 4 (limit: 154340) Memory: 2.7M CPU: 70ms CGroup: /system.slice/lldap.service └─4450 /usr/bin/lldap run --config-file /etc/lldap/lldap_config.toml Thank you all for supporting this wonderful project! ( : ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 🔄 Steps to reproduce the issue. - Default Install lldap - Update lldap with `update` or script ### ❌ Paste the full error output (if available). ` ✖️ No lldap Installation Found!`. ### 🖼️ Additional context (optional). _No response_
saavagebueno added the bug label 2025-11-20 04:53:35 -05:00
Author
Owner

@bvdberg01 commented on GitHub (Mar 22, 2025):

@tremor021 I already have PR :)

@bvdberg01 commented on GitHub (Mar 22, 2025): @tremor021 I already have PR :)
Author
Owner

@michelroegl-brunner commented on GitHub (Mar 22, 2025):

Fix merged.

@michelroegl-brunner commented on GitHub (Mar 22, 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#758