SnipeIT LXC missing php8.2-ldap causing setup with LDAP configuration to fail loading the page #1333

Closed
opened 2026-02-05 00:23:12 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @macrec-danielvanderwal on GitHub (Jul 24, 2025).

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 24, 2025). ### ✅ 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
OVERLORD added the feature label 2026-02-05 00:23:12 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1333