Article View: linux.debian.bugs.rc
Article #163Bug#1150349: Postfixadmin dies, because vendor/autoload.php is missing
From: Samuli Suonpää
Date: Thu, 08 Oct 2026 21:10
Date: Thu, 08 Oct 2026 21:10
107 lines
6136 bytes
6136 bytes
Package: postfixadmin
Version: 4.0.5+ds-1
Severity: grave
Justification: renders package unusable
Postfixadmin dies at the start, because autoloader configuration
generated by php-composer is not found. Instead of tha login page, httpd
returns only this:
vendor/autoload.php is missing. Please run 'install.sh' or follow the
instructions in INSTALL.TXT
This was already reporter as but 1135837, but closed with upload of a
new upstream version 4.0.4+ds and archived. What exactly was the new
upstream version supposed to fix here? The bug is still reproducible
with 4.0.5+ds-1.
I believe the problem is here: postfixadmin commits suicide at the
startup, because ./vendor/autoload.php does not exist.
/usr/share/postfixadmin/common.php:
------
<?php
if (!is_file(dirname(__FILE__) . '/vendor/autoload.php')) {
die("vendor/autoload.php is missing. Please run 'install.sh' or
follow the instructions in INSTALL.TXT");
}
require_once(dirname(__FILE__) . '/vendor/autoload.php');
------
Upstream uses php-composer to manage php dependencies. When packaged to
debian, I guess this is not the case but dependencies are handled the
Debian way, as they should. Thus we do not have the composer-generated
autoloader configuration.
Or am I missing something?
-- System Information:
Debian Release: forky/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 7.2.8+deb14-cloud-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages postfixadmin depends on:
ii apache2 [httpd] 2.4.69-1
ii dbconfig-common 2.1.0
ii debconf [debconf-2.0] 1.5.92
ii libjs-bootstrap 3.4.1+dfsg-7
ii libjs-eonasdan-bootstrap-datetimepicker 4.17.47-6
ii libjs-jquery 3.7.1+dfsg+~3.5.33-1
ii libjs-moment 2.31.0+ds1-1
ii mariadb-client 1:11.8.9+ds-2
ii php-fpm 2:8.4+99
ii php-mbstring 2:8.4+99
ii php-mysql 2:8.4+99
ii php8.4 [php] 8.4.24-1
ii php8.4-fpm [php-fpm] 8.4.24-1
ii php8.4-mbstring [php-mbstring] 8.4.24-1
ii php8.4-mysql [php-mysqlnd] 8.4.24-1
ii smarty4 4.5.5-1
ii wwwconfig-common 0.3.0.1
Versions of packages postfixadmin recommends:
ii apache2 [httpd] 2.4.69-1
ii dovecot-core 1:2.4.5+dfsg1-2
ii php8.4-cli [php-cli] 8.4.24-1
Versions of packages postfixadmin suggests:
ii mariadb-server [virtual-mysql-server] 1:11.8.9+ds-2
pn postfix-mysql | postfix-pgsql <none>
ii sqlite3 3.53.4-2
-- debconf information:
postfixadmin/internal/reconfiguring: false
postfixadmin/purge: false
postfixadmin/dbconfig-reinstall: false
postfixadmin/mysql/method: Unix socket
postfixadmin/remote/newhost:
postfixadmin/upgrade-error: abort
postfixadmin/remote/host: localhost
postfixadmin/mysql/authplugin: default
postfixadmin/upgrade-backup: true
postfixadmin/db/app-user: postfixadmin@localhost
postfixadmin/missing-db-package-error: abort
postfixadmin/mysql/admin-user: root
postfixadmin/dbconfig-remove: true
postfixadmin/dbconfig-upgrade: true
postfixadmin/passwords-do-not-match:
postfixadmin/install-error: abort
postfixadmin/remote/port:
postfixadmin/internal/skip-preseed: false
* postfixadmin/database-type: mysql
postfixadmin/remove-error: abort
postfixadmin/db/dbname: postfixadmin
* postfixadmin/dbconfig-install: true
+root@deb:~#
--
Samuli Suonpää
Technical Details
Message-ID:
<NM3xf-4kOj-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<NM3xf-4kOj-3@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Samuli Suonpää <suonpaa@diurnalis.fi> Newsgroups: linux.debian.bugs.rc Subject: Bug#1150349: Postfixadmin dies, because vendor/autoload.php is missing Date: Thu, 08 Oct 2026 23:10:01 +0200 Message-ID: <NM3xf-4kOj-1@gated-at.bofh.it> References: <NM3xf-4kOj-3@gated-at.bofh.it> X-Original-To: submit@bugs.debian.org X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Thu Oct 8 21:01:17 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.451 Reply-To: Samuli Suonpää <suonpaa@diurnalis.fi>, 1150349@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: jing@jing.rocks X-Debian-Pr-Message: report 1150349 X-Debian-Pr-Package: postfixadmin X-Debian-Pr-Source: postfixadmin MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Greylist: delayed 566 seconds by postgrey-1.37 at buxtehude; Thu, 08 Oct 2026 20:35:02 UTC X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/833945 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 107 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Thu, 8 Oct 2026 23:25:34 +0300 X-Original-Message-ID: <83506c85-383f-4452-9863-790c01f07e00@diurnalis.fi> X-Original-References: <E1wfQD4-000000027pF-2ew4@fasolo.debian.org>