[Postfixadmin-devel] Can't register superadmin in setup
Brought to you by:
christian_boltz,
gingerdog
|
From: <ti...@ap...> - 2017-01-13 08:03:48
|
Haya all
I got me a copy of version 3.0, and have the setup script writing OK all the
way down. However, when trying to create a superadmin the page simply refreshes
and nothing else happens. No error is shown on the page, no superadmin is
created in the database and nothing is logged on the server.
The server is a FreeBSD 10.3 running PostgreSQL 9.3.15 and Apache 2.4.25 with
PHP 5.6.29 using mod_php as interface to Apache.
As far as I can see the database should be ready to use
padmin=# \l
List of databases
Name | Owner | Encoding | Collate | Ctype | Access privileges
-----------+--------+----------+---------+-------+-------------------
padmin | padmin | UTF8 | C | C | =Tc/padmin +
| | | | | padmin=CTc/padmin
...
And all the tables seems to be created by setup
padmin=# \d
List of relations
Schema | Name | Type | Owner
--------+-----------------------+----------+--------
public | admin | table | padmin
public | alias | table | padmin
public | alias_domain | table | padmin
public | config | table | padmin
public | config_id_seq | sequence | padmin
public | domain | table | padmin
public | domain_admins | table | padmin
public | fetchmail | table | padmin
public | fetchmail_id_seq | sequence | padmin
public | log | table | padmin
public | mailbox | table | padmin
public | quota | table | padmin
public | quota2 | table | padmin
public | vacation | table | padmin
public | vacation_notification | table | padmin
(15 rows)
During the setup process a few messages is printed by PostgreSQL
Jan 12 21:22:01 freebsd postgres[76470]: [3-1] ERROR: column "transport" of
relation "domain" already exists Jan 12 21:22:01 freebsd postgres[76470]: [3-2]
STATEMENT: ALTER TABLE domain ADD COLUMN transport VARCHAR(255)
Jan 12 21:22:01 freebsd postgres[76470]: [4-1] ERROR: column "backupmx" of
relation "domain" already exists
Jan 12 21:22:01 freebsd postgres[76470]: [4-2] STATEMENT: ALTER TABLE domain
ADD COLUMN backupmx BOOLEAN DEFAULT false
Jan 12 21:22:04 freebsd postgres[76470]: [5-1] ERROR: language "plpgsql"
already exists
Jan 12 21:22:04 freebsd postgres[76470]: [5-2] STATEMENT: CREATE LANGUAGE
plpgsql
Apache logs nothing besides the "200 - OK" when submitting the form and I have
"?debug=1" set in the URL. I have also tried to enable "display_errors" in
php.ini but with no luck, meaning no error is printet.
In the PostfixAdmin config I have tried to use both "system" and "md5crypt" as
$CONF['encrypt']. When not using a correctly formed e-mail address the setup
returns a error, just like the setup detects a wrong setup password and if the
two superadmin passwords don't match.
Any pointers would be a great help since I seem to be somewhat stuck.
Thanks
|