I downloaded postfixadmin-3.0.tar.gz and copied the entire folder smarty to /usr/share/postfixadmin. Then i created the templates_c and make it writeable but received another error:
Hey!
I've tried to use your Package, without success. But it's fixable.
I think you should have a big warning that postfixadmin needs php7. This is not in Debian jessie right now. A hint to possible solutions would be nice.
Here's what I've done:
New /etc/apt/sources.list.d/stretch.list with
debhttp://ftp.de.debian.org/debian/stretchmaincontribnon-freedeb-srchttp://ftp.de.debian.org/debian/stretchmaincontribnon-freedebhttp://security.debian.org/stretch/updatesmaincontribnon-freedeb-srchttp://security.debian.org/stretch/updatesmaincontribnon-free# jessie-updates, previously known as 'volatile'debhttp://ftp.de.debian.org/debian/stretch-updatesmaincontribdeb-srchttp://ftp.de.debian.org/debian/stretch-updatesmaincontrib
Prevend apt-get to make s slowly upgrade to stretch with Apt-Pinning or my prefered way - fixing your Debian version with
/etc/apt/apt.conf.d/30version
APT::Default-Release"jessie";
install postfixadmin-3.0.1-1-all from stretch or install your package. I prefer the debian way, using debian repositorys only - no pain with stability or updates.
Caution with dependencies, I hat to upgrade php to php7, what results in broken libapache-mod-php... and have a look at php7-modules.
And this could be the end.... but it wasn't to me. As today 2016/12/07 I've found only that a-little-bit-broken 3.0.0-package, named as 3.0.1-1 in the repos. So I have to do what Dan wrote.
download a postfixadmin.tar.gz, unpack, and copy smarty- templates_c and configs - folder to /usr/share/postfixadmin. set permissions to
chown -R www-data:www-data .... for them.
Now /postfixadmin/setup.php checks the installation and dependencies. I had to make a little change in /etc/postfixadmin/db.config.inc.php. php-mysql is now called mysqli $dbtype='mysqli';
I'll hope that helps anybody.
I know thats not your fault - but could you give the maintainers a hint? I'll write to them, too.
Bye
Michael
Last edit: Michael 2016-12-07
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, i downloaded postfixadmin_3.0-1_all.deb and found out that the dependencies are incorrect. They don't work on debian stable.
After fixing the dependencies i got the following error on Debian Jessie:
I downloaded postfixadmin-3.0.tar.gz and copied the entire folder smarty to /usr/share/postfixadmin. Then i created the templates_c and make it writeable but received another error:
Back to postfixadmin-3.0.tar.gz and copied another folder - configs to /usr/share/postfixadmin. Works fine.
It seems these folders (smarty, templates_c and configs) are missing from postfixadmin_3.0-1_all.deb
Last edit: Dan 2016-09-19
Hi - sorry about this - I've fixed it - see revision:1864 and revision:1865.
I'll rebuild the debian package soon....
There's a 3.0.1 debian package on sourceforge now. Hopefully it fixes the problems!
Good news, thanks
Hey!
I've tried to use your Package, without success. But it's fixable.
I think you should have a big warning that postfixadmin needs php7. This is not in Debian jessie right now. A hint to possible solutions would be nice.
Here's what I've done:
New /etc/apt/sources.list.d/stretch.list with
Prevend apt-get to make s slowly upgrade to stretch with Apt-Pinning or my prefered way - fixing your Debian version with
/etc/apt/apt.conf.d/30version
install postfixadmin-3.0.1-1-all from stretch or install your package. I prefer the debian way, using debian repositorys only - no pain with stability or updates.
Caution with dependencies, I hat to upgrade php to php7, what results in broken libapache-mod-php... and have a look at php7-modules.
And this could be the end.... but it wasn't to me. As today 2016/12/07 I've found only that a-little-bit-broken 3.0.0-package, named as 3.0.1-1 in the repos. So I have to do what Dan wrote.
download a postfixadmin.tar.gz, unpack, and copy smarty- templates_c and configs - folder to /usr/share/postfixadmin. set permissions to
chown -R www-data:www-data .... for them.
Now /postfixadmin/setup.php checks the installation and dependencies. I had to make a little change in /etc/postfixadmin/db.config.inc.php. php-mysql is now called mysqli
$dbtype='mysqli';I'll hope that helps anybody.
I know thats not your fault - but could you give the maintainers a hint? I'll write to them, too.
Bye
Michael
Last edit: Michael 2016-12-07
I'm using dotdeb.org or debsury.org - there should be no need to pull in packages from Stretch.
I thought I had the dependencies of it correct - but clearly not. It does not (yet) depend on PHP7, and should work fine on PHP 5.6.
So, the missing magic is fixing permissions of templates_c ? and that's it?