0 0 Punkte

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!!!!!

2 Antworten

0 0 Punkte

Mir ist folgendes Docker-Image bekannt.

https://github.com/drnoa/kivitendo_docker

Gruß Alois

0 0 Punkte

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.

Ich habe genau dasselbe Problem bei manueller Neuinstallation einer 3.5.5
Auch den Serverlog mit der Meldung

ERROR: column d.adsrc does not exist

ist das gleiche Phäneomen.
Ich vermutete einen Zusammenhang zur apache-Konfiguration, die laut Hilfe ein

SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

Beinhalten soll. Aber außer, dass ich die Zeile drin hab und trotzdem das Problem komm ich hier nicht weiter.
Das Problem löst sich (bei mir), wenn ich eine 3.5.6.x installiere. Dort hab ich jedoch ein Problem mit dem DB-Update und stecke ebenfalls fest.
Weiß jemand einen Rat bzgl. der "Ungültiges Passwort"-Meldung?

Ähnliche Fragen

0 0 Punkte
1 1 Antwort
davidwuest Gefragt 6, Okt 2022
Gibt es jemanden im Forum der bereits Kivitendo mit Docker Compose laufen hat und sich austauschen möchte?
0 0 Punkte
3 3 Antworten
jbueren Gefragt 6, Mär 2015
Beim Überarbeiten der Projektseite bin ich auf diese nützliche Seite gestossen: [Installation kivitendo mit docker] Ich hab das auf Anhieb mit meinem lokalen ubuntu 13...
0 0 Punkte
1 1 Antwort
Anonym Gefragt 15, Mär 2016
Hallo zusammen, vielleicht kann mir jemand helfen. Obwohl ich die Installationsanleitung zehnmal gelesen habe, klappt die Konfiguration mit fastgci einfach nicht: Das Sys...
0 0 Punkte
2 2 Antworten
Anonym Gefragt 9, Apr 2014
Hallo, da ich mit 2.6 nicht weiterkomme versuche ich jetzt meine alte datenbank auf 3.0 zu installieren und wollte nun fragen was genau ich alles aus der alten installati...
0 0 Punkte
1 answers 1 Antwort
Anonym Gefragt 15, Dez 2013
Hallo! Ich habe lokal Apache2 installiert. Ich möchte die Software kivitendo damit nutzen. Vorher habe ich mich viel mit SQL Ledger befasst, das baut wohl aufeinander au...