• Bug#1091492: postfixadmin on trixie missing files

    From Gerhard Mack@21:1/5 to All on Fri Dec 27 19:30:01 2024
    Package: postfixadmin
    Version: 3.3.14+ds1-1
    Severity: important

    Dear Maintainer,

    I upgraded to debian trixie. Postfixadmin shows a blank page after the upgrade.
    In the logs I found
    PHP Warning: require_once(/usr/share/postfixadmin/lib/smarty/libs/Autoloader.php): Failed to open stream: No such file or directory in /usr/share/postfixadmin/common.php on line 97; PHP message: PHP Fatal error: Uncaught Error: Failed opening required '
    /usr/share/postfixadmin/lib/smarty/libs/Autoloader.php' (include_path='.:/usr/share/php') in /usr/share/postfixadmin/common.php

    Two interesting things:
    1 /usr/share/postfixadmin/lib/smarty/libs/ is empty
    2 This seems old: -rw-r--r-- 1 root root 2832 Nov 19 22:49 /usr/share/postfixadmin/common.php


    -- System Information:
    Debian Release: trixie/sid
    APT prefers testing
    APT policy: (200, 'testing')
    Architecture: amd64 (x86_64)

    Kernel: Linux 6.12.6-amd64 (SMP w/12 CPU threads; PREEMPT)
    Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
    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.62-3
    ii dbconfig-common 2.0.24
    ii debconf [debconf-2.0] 1.5.87
    ii libjs-bootstrap 3.4.1+dfsg-3
    ii libjs-eonasdan-bootstrap-datetimepicker 4.17.47-6
    ii libjs-jquery 3.6.1+dfsg+~3.5.14-1
    ii libjs-moment 2.29.4+ds-1
    ii mariadb-client 1:11.4.3-1
    ii php 2:8.2+93+nmu1
    ii php-fpm 2:8.2+93+nmu1
    ii php-mbstring 2:8.2+93+nmu1
    ii php-mysql 2:8.2+93+nmu1
    ii php-pgsql 2:8.2+93+nmu1
    ii php-sqlite3 2:8.2+93+nmu1
    ii php8.2 [php] 8.2.26-4
    ii php8.2-fpm [php-fpm] 8.2.26-4
    ii php8.2-mbstring [php-mbstring] 8.2.26-4
    ii php8.2-mysql [php-mysqlnd] 8.2.26-4
    ii php8.2-pgsql [php-pgsql] 8.2.26-4
    ii php8.2-sqlite3 [php-sqlite3] 8.2.26-4
    ii postgresql-client-11 [postgresql-client] 11.9-0+deb10u1
    ii postgresql-client-13 [postgresql-client] 13.7-0+deb11u1
    ii postgresql-client-15 [postgresql-client] 15.10-0+deb12u1
    ii postgresql-client-17 [postgresql-client] 17.2-1
    ii smarty4 4.5.4-1
    ii wwwconfig-common 0.3.0.1

    Versions of packages postfixadmin recommends:
    ii dovecot-core 1:2.3.21.1+dfsg1-1
    ii php-cli 2:8.2+93+nmu1
    ii php8.2-cli [php-cli] 8.2.26-4

    Versions of packages postfixadmin suggests:
    ii mariadb-server [virtual-mysql-server] 1:11.4.3-1
    ii postfix-mysql 3.9.1-9
    ii postfix-pgsql 3.9.1-9
    ii postgresql 17+267
    ii sqlite3 3.46.1-1

    -- Configuration Files:
    /etc/postfixadmin/config.inc.php changed [not included]

    -- debconf information:
    postfixadmin/app-password-confirm: (password omitted)
    postfixadmin/mysql/app-pass: (password omitted)
    postfixadmin/mysql/admin-pass: (password omitted)
    postfixadmin/pgsql/app-pass: (password omitted)
    postfixadmin/pgsql/admin-pass: (password omitted)
    postfixadmin/password-confirm: (password omitted)
    postfixadmin/dbconfig-reinstall: false
    postfixadmin/db/basepath:
    postfixadmin/internal/reconfiguring: false
    postfixadmin/db/dbname: postfixadmin
    postfixadmin/pgsql/manualconf:
    * postfixadmin/mysql/admin-user: root
    postfixadmin/remove-error: abort
    postfixadmin/pgsql/admin-user: postgres
    postfixadmin/install-error: abort
    postfixadmin/db/app-user: postfixadmin@localhost
    postfixadmin/missing-db-package-error: abort
    postfixadmin/remote/host: localhost
    postfixadmin/pgsql/method: TCP/IP
    postfixadmin/dbconfig-remove: true
    postfixadmin/purge: false
    postfixadmin/remote/newhost:
    postfixadmin/internal/skip-preseed: false
    postfixadmin/mysql/method: Unix socket
    postfixadmin/dbconfig-upgrade: true
    postfixadmin/pgsql/authmethod-user: password
    postfixadmin/pgsql/no-empty-passwords:
    postfixadmin/upgrade-backup: true
    postfixadmin/upgrade-error: abort
    postfixadmin/mysql/authplugin: default
    * postfixadmin/database-type: mysql
    postfixadmin/pgsql/changeconf: false
    postfixadmin/pgsql/authmethod-admin: ident
    * postfixadmin/dbconfig-install: true
    postfixadmin/remote/port:
    postfixadmin/passwords-do-not-match:

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jing Luo@21:1/5 to Gerhard Mack on Fri Jan 3 16:40:01 2025
    This is an OpenPGP/MIME signed message (RFC 4880 and 3156)

    Control: severity -1 normal

    On 2024-12-28 03:15, Gerhard Mack wrote:
    Package: postfixadmin
    Version: 3.3.14+ds1-1
    Severity: important

    Dear Maintainer,

    I upgraded to debian trixie. Postfixadmin shows a blank page after the upgrade.
    In the logs I found
    PHP Warning: require_once(/usr/share/postfixadmin/lib/smarty/libs/Autoloader.php):
    Failed to open stream: No such file or directory in /usr/share/postfixadmin/common.php on line 97; PHP message: PHP Fatal
    error: Uncaught Error: Failed opening required '/usr/share/postfixadmin/lib/smarty/libs/Autoloader.php' (include_path='.:/usr/share/php') in /usr/share/postfixadmin/common.php

    Two interesting things:
    1 /usr/share/postfixadmin/lib/smarty/libs/ is empty
    2 This seems old: -rw-r--r-- 1 root root 2832 Nov 19 22:49 /usr/share/postfixadmin/common.php


    -- System Information:
    Debian Release: trixie/sid
    APT prefers testing
    APT policy: (200, 'testing')
    Architecture: amd64 (x86_64)

    Hi!

    Thanks for filing a bug report. This seems to be a Debian-specific
    issue, as portfixadmin 3.3.14+ds1-1 does not use the embedded php libs
    from upstream anymore, switched to using the debian package smarty4 to
    align with Debian Policy, hence /usr/share/postfixadmin/lib/smarty/libs
    should be a symlink to /usr/share/php/smarty4. Please allow me some time
    to reproduce this, I admit that I only tested the package on sid.
    Meanwhile you could try to fix your postfixadmin install with apt remove
    and apt install it again.

    --
    Jing Luo
    About me: https://jing.rocks/about/
    GPG Fingerprint: 4E09 8D19 00AA 3F72 1899 2614 09B3 316E 13A1 1EFC

    -----BEGIN PGP SIGNATURE-----

    iHUEARYIAB0WIQQUNK5y7dM5LGmlOjiPRdGe/wwPKwUCZ3gDWgAKCRCPRdGe/wwP KwhFAP9w0KnlEw0o9W9SOdsv+iJg9mECPGnEFdJXMWeiXcozpgEAq7bmOTtvVkEZ NbkZtuXky+0n2c9PM/KQQocB5pbbaA4=
    =Bxh4
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)