Hallo,
ich habe install-Kivitendo-on-Ubuntu-16.04.sh
installiert. Ist alles gut durchgelaufen. Ich habe es auf 3.5.1 gesetzt.
Wenn ich meine Sicherung drauf spiele, gibt es nach dem Benutzer-Login Probleme mit der Datenbankaktualisierung.
Diese Meldungen kommen:
"Führe bank_accounts_unique_chart_constraint.sql aus: Bankkonto - Constraint für eindeutiges Konto"
Fehler
Exception! The database update/creation did not succeed. The file sql/Pg-upgrade2/bank_accounts_unique_chart_constraint.sql containing the following query failed:
ALTER TABLE bank_accounts ADD CONSTRAINT chart_id_unique UNIQUE (chart_id)
The error message was: ERROR: could not create unique index "chart_id_unique"
DETAIL: Key (chart_id)=(40) is duplicated.
All changes in that file have been reverted.
thrown at file SL/Form.pm, line 344 in Form::dberror, pid=2650
reached via file SL/DBUpgrade2.pm, line 197 in SL::DBUpgrade2::process_query
reached via file SL/DBUpgrade2.pm, line 299 in SL::DBUpgrade2::process_file
reached via file SL/User.pm, line 522 in User::dbupdate2
reached via file SL/User.pm, line 214 in User::login
reached via file SL/Controller/LoginScreen.pm, line 66 in SL::Controller::LoginScreen::action_login
reached via file SL/Controller/Base.pm, line 263 in SL::Controller::Base::_run_action
reached via file SL/Dispatcher.pm, line 218 in SL::Dispatcher::_run_controller
reached via file SL/Dispatcher.pm, line 308 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.fcgi, line 21 in
Was ist das Problem hier?