Hi leute,
versuche gerade zum ersten mal Kivitendo zu installieren.
Benutze dazu das Kivitendo docker image von raphaelnoailles
In dem Verzeichnis habe ich zwei files erstellt docker-compose.yml
und kivitendo.conf
docker-compose.yml
:
version: "3.1"
services:
web:
restart: always
image: raphaelnoailles/kivitendo:latest
ports:
- "3000:80"
volumes:
- ./kivitendo.conf:/var/www/kivitendo-erp/config/kivitendo.conf
- ./data/kivitendo/templates:/var/www/kivitendo/templates
links:
- db:postgres
db:
restart: always
image: postgres:latest
environment:
LC_ALL: C.UTF-8
POSTGRES_DB: kivitendo_auth
POSTGRES_USER: kivitendo
POSTGRES_PASSWORD: password
volumes:
- ./data/db:/var/lib/postgresql/data
kivitendo.conf
:
[authentication]
admin_password = kivitendo
[authentication/database]
host = postgres
port = 5432
db = kivitendo_auth
user = kivitendo
password = password
[system]
language = de
Nach docker-compose up
ist Kivitendo unter http://localhost:3000 zu erreichen, der Zugang zu Admin-Bereich funktioniert initial und die Tabelle kann angelegt werden.
Bei einem klick auf Weiter
wird die admin session leider beendet, der admin-login view begrüsst mich mit Ungültiges Passwort
.
Weiterer admin login versuch führt zu:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Server error log:
root@9999fb6fe33f:/# cat /var/log/apache2/error.log
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.21.0.3. Set the 'ServerName' directive globally to suppress this message
[Wed Nov 11 10:36:52.714972 2020] [mpm_event:notice] [pid 38:tid 139730369398656] AH00489: Apache/2.4.10 (Debian) mod_fcgid/2.3.9 OpenSSL/1.0.1t configured -- resuming normal operations
[Wed Nov 11 10:36:52.715038 2020] [core:notice] [pid 38:tid 139730369398656] AH00094: Command line: '/usr/sbin/apache2 -D FOREGROUND'
WARNING: HOME is not set, using root: /
Exception! ERROR: column d.adsrc does not exist
LINE 1: ...mat_type(a.atttypid, a.atttypmod) AS format_type, d.adsrc, a...
^ SELECT a.attname, format_type(a.atttypid, a.atttypmod) AS format_type, d.adsrc, a.attnotnull
FROM pg_attribute a
LEFT JOIN pg_attrdef d ON (a.attrelid = d.adrelid) AND (a.attnum = d.adnum)
WHERE (a.attrelid = 'auth.session'::regclass)
AND (a.attnum > 0)
AND NOT a.attisdropped
ORDER BY a.attnum
thrown at file SL/Form.pm, line 351 in Form::dberror, pid=97
reached via file SL/DBUtils.pm, line 150 in SL::DBUtils::prepare_execute_query
reached via file SL/DBUtils.pm, line 224 in SL::DBUtils::selectall_as_map
reached via file SL/Auth/ColumnInformation.pm, line 39 in SL::Auth::ColumnInformation::_fetch
reached via file SL/Auth.pm, line 70 in SL::Auth::reset
reached via file SL/Dispatcher.pm, line 343 in SL::Dispatcher::handle_request
reached via file SL/Dispatcher.pm, line 226 in SL::Dispatcher::handle_all_requests
reached via file /var/www/kivitendo-erp/dispatcher.fpl, line 21 in <package: main>
WARNING: HOME is not set, using root: /
Exception! ERROR: column d.adsrc does not exist
LINE 1: ...mat_type(a.atttypid, a.atttypmod) AS format_type, d.adsrc, a...
^ SELECT a.attname, format_type(a.atttypid, a.atttypmod) AS format_type, d.adsrc, a.attnotnull
FROM pg_attribute a
LEFT JOIN pg_attrdef d ON (a.attrelid = d.adrelid) AND (a.attnum = d.adnum)
WHERE (a.attrelid = 'auth.session'::regclass)
AND (a.attnum > 0)
AND NOT a.attisdropped
ORDER BY a.attnum
thrown at file SL/Form.pm, line 351 in Form::dberror, pid=98
reached via file SL/DBUtils.pm, line 150 in SL::DBUtils::prepare_execute_query
reached via file SL/DBUtils.pm, line 224 in SL::DBUtils::selectall_as_map
reached via file SL/Auth/ColumnInformation.pm, line 39 in SL::Auth::ColumnInformation::_fetch
reached via file SL/Auth.pm, line 70 in SL::Auth::reset
reached via file SL/Dispatcher.pm, line 343 in SL::Dispatcher::handle_request
reached via file SL/Dispatcher.pm, line 226 in SL::Dispatcher::handle_all_requests
reached via file /var/www/kivitendo-erp/dispatcher.fpl, line 21 in <package: main>
[Wed Nov 11 10:37:09.179555 2020] [fcgid:warn] [pid 40:tid 139730369398656] mod_fcgid: cleanup zombie process 98
WARNING: HOME is not set, using root: /
Exception! ERROR: column d.adsrc does not exist
LINE 1: ...mat_type(a.atttypid, a.atttypmod) AS format_type, d.adsrc, a...
^ SELECT a.attname, format_type(a.atttypid, a.atttypmod) AS format_type, d.adsrc, a.attnotnull
FROM pg_attribute a
LEFT JOIN pg_attrdef d ON (a.attrelid = d.adrelid) AND (a.attnum = d.adnum)
WHERE (a.attrelid = 'auth.session'::regclass)
AND (a.attnum > 0)
AND NOT a.attisdropped
ORDER BY a.attnum
thrown at file SL/Form.pm, line 351 in Form::dberror, pid=99
reached via file SL/DBUtils.pm, line 150 in SL::DBUtils::prepare_execute_query
reached via file SL/DBUtils.pm, line 224 in SL::DBUtils::selectall_as_map
reached via file SL/Auth/ColumnInformation.pm, line 39 in SL::Auth::ColumnInformation::_fetch
reached via file SL/Auth.pm, line 70 in SL::Auth::reset
reached via file SL/Dispatcher.pm, line 343 in SL::Dispatcher::handle_request
reached via file SL/Dispatcher.pm, line 226 in SL::Dispatcher::handle_all_requests
reached via file /var/www/kivitendo-erp/dispatcher.fpl, line 21 in <package: main>
WARNING: HOME is not set, using root: /
Exception! ERROR: column d.adsrc does not exist
LINE 1: ...mat_type(a.atttypid, a.atttypmod) AS format_type, d.adsrc, a...
^ SELECT a.attname, format_type(a.atttypid, a.atttypmod) AS format_type, d.adsrc, a.attnotnull
FROM pg_attribute a
LEFT JOIN pg_attrdef d ON (a.attrelid = d.adrelid) AND (a.attnum = d.adnum)
WHERE (a.attrelid = 'auth.session'::regclass)
AND (a.attnum > 0)
AND NOT a.attisdropped
ORDER BY a.attnum
thrown at file SL/Form.pm, line 351 in Form::dberror, pid=100
reached via file SL/DBUtils.pm, line 150 in SL::DBUtils::prepare_execute_query
reached via file SL/DBUtils.pm, line 224 in SL::DBUtils::selectall_as_map
reached via file SL/Auth/ColumnInformation.pm, line 39 in SL::Auth::ColumnInformation::_fetch
reached via file SL/Auth/ColumnInformation.pm, line 47 in SL::Auth::ColumnInformation::info
reached via file SL/Auth/ColumnInformation.pm, line 52 in SL::Auth::ColumnInformation::has
reached via file SL/Auth.pm, line 764 in SL::Auth::save_session
reached via file SL/Dispatcher.pm, line 341 in SL::Dispatcher::handle_request
reached via file SL/Dispatcher.pm, line 226 in SL::Dispatcher::handle_all_requests
reached via file /var/www/kivitendo-erp/dispatcher.fpl, line 21 in <package: main>
WARNING: HOME is not set, using root: /
Exception! ERROR: column d.adsrc does not exist
LINE 1: ...mat_type(a.atttypid, a.atttypmod) AS format_type, d.adsrc, a...
^ SELECT a.attname, format_type(a.atttypid, a.atttypmod) AS format_type, d.adsrc, a.attnotnull
FROM pg_attribute a
LEFT JOIN pg_attrdef d ON (a.attrelid = d.adrelid) AND (a.attnum = d.adnum)
WHERE (a.attrelid = 'auth.session'::regclass)
AND (a.attnum > 0)
AND NOT a.attisdropped
ORDER BY a.attnum
thrown at file SL/Form.pm, line 351 in Form::dberror, pid=101
reached via file SL/DBUtils.pm, line 150 in SL::DBUtils::prepare_execute_query
reached via file SL/DBUtils.pm, line 224 in SL::DBUtils::selectall_as_map
reached via file SL/Auth/ColumnInformation.pm, line 39 in SL::Auth::ColumnInformation::_fetch
reached via file SL/Auth/ColumnInformation.pm, line 47 in SL::Auth::ColumnInformation::info
reached via file SL/Auth/ColumnInformation.pm, line 52 in SL::Auth::ColumnInformation::has
reached via file SL/Auth.pm, line 764 in SL::Auth::save_session
reached via file SL/Dispatcher.pm, line 341 in SL::Dispatcher::handle_request
reached via file SL/Dispatcher.pm, line 226 in SL::Dispatcher::handle_all_requests
reached via file /var/www/kivitendo-erp/dispatcher.fpl, line 21 in <package: main>
[Wed Nov 11 10:37:32.118716 2020] [fcgid:warn] [pid 40:tid 139730369398656] mod_fcgid: cleanup zombie process 101
WARNING: HOME is not set, using root: /
Exception! ERROR: column d.adsrc does not exist
LINE 1: ...mat_type(a.atttypid, a.atttypmod) AS format_type, d.adsrc, a...
^ SELECT a.attname, format_type(a.atttypid, a.atttypmod) AS format_type, d.adsrc, a.attnotnull
FROM pg_attribute a
LEFT JOIN pg_attrdef d ON (a.attrelid = d.adrelid) AND (a.attnum = d.adnum)
WHERE (a.attrelid = 'auth.session'::regclass)
AND (a.attnum > 0)
AND NOT a.attisdropped
ORDER BY a.attnum
thrown at file SL/Form.pm, line 351 in Form::dberror, pid=107
reached via file SL/DBUtils.pm, line 150 in SL::DBUtils::prepare_execute_query
reached via file SL/DBUtils.pm, line 224 in SL::DBUtils::selectall_as_map
reached via file SL/Auth/ColumnInformation.pm, line 39 in SL::Auth::ColumnInformation::_fetch
reached via file SL/Auth/ColumnInformation.pm, line 47 in SL::Auth::ColumnInformation::info
reached via file SL/Auth/ColumnInformation.pm, line 52 in SL::Auth::ColumnInformation::has
reached via file SL/Auth.pm, line 764 in SL::Auth::save_session
reached via file SL/Dispatcher.pm, line 341 in SL::Dispatcher::handle_request
reached via file SL/Dispatcher.pm, line 226 in SL::Dispatcher::handle_all_requests
reached via file /var/www/kivitendo-erp/dispatcher.fpl, line 21 in <package: main>
[Wed Nov 11 10:37:39.787646 2020] [fcgid:warn] [pid 42:tid 139730175911680] (104)Connection reset by peer: [client 172.21.0.1:36566] mod_fcgid: error reading data from FastCGI server, referer: http://localhost:3000/controller.pl?action=Admin%2Fapply_dbupgrade_scripts
[Wed Nov 11 10:37:39.787686 2020] [core:error] [pid 42:tid 139730175911680] [client 172.21.0.1:36566] End of script output before headers: dispatcher.fpl, referer: http://localhost:3000/controller.pl?action=Admin%2Fapply_dbupgrade_scripts
root@9999fb6fe33f:/#
Und jetzt zu den Fragen
- Wird jemand aus den logs schlau und weiss was zu tun ist? um kivitendo zum laufen zu bekommen?
- Kennt ihr weitere Docker images?
Vielen Dank!!!!!