[GH-ISSUE #6186] SnipeIT LXC missing php8.2-ldap causing setup with LDAP configuration to fail loading the page #1330

Closed
opened 2026-02-26 12:48:31 +03:00 by kerem · 0 comments
Owner

Originally created by @macrec-danielvanderwal on GitHub (Jul 23, 2025).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/6186

Have you read and understood the above guidelines?

yes

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

SnipeIT

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

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/snipeit.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.

When importing a Backup with LDAP configured the website does not load (Error 500) after login. This is because in the LXC the php-ldap module in not installed. Please add the LDAP dependencie:

Change:
php8.2-{bcmath,common,ctype,curl,fileinfo,fpm,gd,iconv,intl,mbstring,mysql,soap,xml,xsl,zip,cli}
To:
php8.2-{bcmath,common,ctype,curl,fileinfo,fpm,gd,iconv,intl,ldap,mbstring,mysql,soap,xml,xsl,zip,cli}

🔄 Steps to reproduce the issue.

Import a configuration with LDAP configuration

Paste the full error output (if available).

production.ERROR: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Call to undefined function App\Models\ldap_connect()' in /var/www/snipeit/app/Models/Ldap.php:43

🖼️ Additional context (optional).

See: https://github.com/grokability/snipe-it/issues/3319

Originally created by @macrec-danielvanderwal on GitHub (Jul 23, 2025). Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/6186 ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? SnipeIT ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/snipeit.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📝 Provide a clear and concise description of the issue. When importing a Backup with LDAP configured the website does not load (Error 500) after login. This is because in the LXC the php-ldap module in not installed. Please add the LDAP dependencie: Change: php8.2-{bcmath,common,ctype,curl,fileinfo,fpm,gd,iconv,intl,mbstring,mysql,soap,xml,xsl,zip,cli} To: php8.2-{bcmath,common,ctype,curl,fileinfo,fpm,gd,iconv,intl,**ldap**,mbstring,mysql,soap,xml,xsl,zip,cli} ### 🔄 Steps to reproduce the issue. Import a configuration with LDAP configuration ### ❌ Paste the full error output (if available). production.ERROR: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Call to undefined function App\Models\ldap_connect()' in /var/www/snipeit/app/Models/Ldap.php:43 ### 🖼️ Additional context (optional). See: https://github.com/grokability/snipe-it/issues/3319
kerem 2026-02-26 12:48:31 +03:00
  • closed this issue
  • added the
    feature
    label
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#1330
No description provided.