Issue was permissions 555 / root:root on directory. Changed and works :)
Problem solved via the irc.
> On 27 Nov 2017, at 20:40, Sophie Loewenthal <so...@kl...> wrote:
>
> Hi guys,
>
> Apologies for quick set up question!
>
> In postfixadmin 3.1 I have this config for sqlite in config.local.php:
>
> $CONF['database_type'] = 'sqlite';
> $CONF['database_host'] = 'localhost';
> $CONF['database_user'] = 'postfix';
> $CONF['database_password'] = 'password';
> $CONF['database_name'] = '/var/sqlite/postfixadmin.db';
> $CONF['database_prefix'] = '';
>
> -rwxr-xr-x 1 www-data mail 0 Nov 27 19:28 /var/sqlite/postfixadmin.db
>
> This was created with the command # sqlite3 /var/sqlite/postfixadmin.db
>
>
> When I call setup.php this message is returned:
>
> • Depends on: SQLite - OK
> • Error: Can't connect to database
> Please edit the $CONF['database_*'] parameters in config.local.php.
> DEBUG INFORMATION
> Connect: given database path does not exist, is not writable, or $CONF['database_name'] is empty.
>
> Any idea why this is breaking?
>
>
> Kind regards, Sophie.
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Postfixadmin-devel mailing list
> Pos...@li...
> https://lists.sourceforge.net/lists/listinfo/postfixadmin-devel
|