Package: postfixadmin
Version: 3.2.1-2
Severity: important

On a new installation of postfixadmin in Buster, 
/usr/share/postfixadmin/lib/../templates_c
(the compiled template folder) is not created. As such, the following error 
appears and
nothing works:
  AH01071: Got error 'PHP message: ERROR: directory 
/usr/share/postfixadmin/lib/../templates_c
  doesn't exist or isn't writeable for the webserver'


A simple:
  mkdir -p /usr/share/postfixadmin/lib/../templates_c
  chown www-data /usr/share/postfixadmin/lib/../templates_c -R
  chmod 700 /usr/share/postfixadmin/lib/../templates_c
results in postfixadmin working correctly by creating the folder and 
appropriately sets
permissions for the folder for use by web servers.

This should be propertly created and permissions set if it does not exist on an 
installation.


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

Kernel: Linux 4.19.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_CA:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages postfixadmin depends on:
ii  apache2 [httpd]                 2.4.38-2
ii  dbconfig-common                 2.0.11
ii  debconf                         1.5.71
ii  default-mysql-client            1.0.5
ii  php                             2:7.3+69
ii  php-fpm                         2:7.3+69
ii  php-imap                        2:7.3+69
ii  php-mbstring                    2:7.3+69
ii  php-mysql                       2:7.3+69
ii  php7.3 [php]                    7.3.3-1
ii  php7.3-fpm [php-fpm]            7.3.3-1
ii  php7.3-imap [php-imap]          7.3.3-1
ii  php7.3-mbstring [php-mbstring]  7.3.3-1
ii  php7.3-mysql [php-mysqlnd]      7.3.3-1
ii  wwwconfig-common                0.3.0

Versions of packages postfixadmin recommends:
ii  dovecot-core                                1:2.3.4.1-3
ii  mariadb-server                              1:10.3.13-1
ii  mariadb-server-10.3 [virtual-mysql-server]  1:10.3.13-1
ii  php7.3-cli [php-cli]                        7.3.3-1
ii  postfix-mysql                               3.4.4-1
pn  zendframework                               <none>

postfixadmin suggests no packages.

-- Configuration Files:
/etc/apache2/conf-available/postfixadmin.conf changed [not included]

-- debconf information excluded

Reply via email to