🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Luke Yasuda Fri, 09 Oct 2026 01:30
Bug#1150349: Postfixadmin dies, because vendor/autoload.php is missing
#190
Author: Luke Yasuda
Date: Fri, 09 Oct 2026 01:30
81 lines
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--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads