Article View: linux.debian.bugs.dist
Article #190Bug#1150349: Postfixadmin dies, because vendor/autoload.php is missing
From: Luke Yasuda
Date: Fri, 09 Oct 2026 01:30
Date: Fri, 09 Oct 2026 01:30
81 lines
4329 bytes
4329 bytes
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--=_f9fe96111134431a7f380d141a887393
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=UTF-8;
format=flowed
Control: tags -1 confirmed
Hi,
Thank you for reporting this.
On 2026-10-09 05:25, Samuli Suonpää wrote:
> 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 thought upstream fixed it:
https://github.com/postfixadmin/postfixadmin/issues/1026 when I uploaded
4.0.4+ds-1, but today I looked closer and found that I made a mistake of
assuming it was fixed. Sorry about that!
I am preparing an upload this weekend or the next to really fix this.
> 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?
Cheers,
--
Luke Yasuda
GPG Fingerprint: 4E09 8D19 00AA 3F72 1899 2614 09B3 316E 13A1 1EFC
--=_f9fe96111134431a7f380d141a887393
Content-Type: application/pgp-signature;
name=signature.asc
Content-Disposition: attachment;
filename=signature.asc;
size=228
Content-Description: OpenPGP digital signature
-----BEGIN PGP SIGNATURE-----
iHUEARYKAB0WIQQUNK5y7dM5LGmlOjiPRdGe/wwPKwUCashC+wAKCRCPRdGe/wwP
K7SPAP4/Jvp5cMiJB77oHJql94phEmwa/0Jyk84W4No9OtMjlgEAjqM4SwwW4+R2
Zk9wc5OMOvMbx3X4qzi3iaLBbDtI7g4=
=GYpm
-----END PGP SIGNATURE-----
--=_f9fe96111134431a7f380d141a887393--
Technical Details
Message-ID:
<NM7AR-4mTB-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-1@gated-at.bofh.it> <NM3xf-4kOj-1@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: Luke Yasuda <jing@jing.rocks> Newsgroups: linux.debian.bugs.dist Subject: Bug#1150349: Postfixadmin dies, because vendor/autoload.php is missing Date: Fri, 09 Oct 2026 03:30:01 +0200 Message-ID: <NM7AR-4mTB-1@gated-at.bofh.it> References: <NM3xf-4kOj-1@gated-at.bofh.it> <NM3xf-4kOj-1@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Fri Oct 9 01:29:09 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.451 Reply-To: Luke Yasuda <jing@jing.rocks>, 1150349@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: jing@jing.rocks X-Debian-Pr-Message: followup 1150349 X-Debian-Pr-Package: postfixadmin X-Debian-Pr-Source: postfixadmin MIME-Version: 1.0 X-Sender: jing@jing.rocks Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=_f9fe96111134431a7f380d141a887393"; micalg=pgp-sha512 X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1995792 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 81 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 09 Oct 2026 10:27:23 +0900 X-Original-Message-ID: <9d6e12866cbcf8768502744c1416aa52@jing.rocks> X-Original-References: <83506c85-383f-4452-9863-790c01f07e00@diurnalis.fi> <83506c85-383f-4452-9863-790c01f07e00@diurnalis.fi>