Hey Yves, thanks for the hint.
The error seems to be related to some key errors in the DB and the field names of the accounts being too long. I uploaded the log file for reference. Can some of the more experienced people please take a quick glance at it and give some feedback? Thanks in advance, really appreciate your help.
Edit: File upload seems to have failed. Examples:
2018-11-07 06:38:50 DEBUG 192.168.0.185 sql=INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, pcg_subtype, account_number, account_parent, label) VALUES (1, 8268, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 'Privat Teilhafter (Eigenkapital, für Verrechnung mit Kapitalkonto III – Konto 9840-9806', 9443, 9, 'Zuwendungen, Spenden');
2018-11-07 06:38:50 ERR 192.168.0.185 DoliDBPgsql::query SQL Error message: ERROR: 22001: value too long for type character varying(20)
LOCATION: varchar, varchar.c:624 (DB_ERROR_22001)
2018-11-07 06:38:50 ERR 192.168.0.185 Admin.lib::run_sql Request 7086 Error DB_ERROR_22001 INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, pcg_subtype, account_number, account_parent, label) VALUES (1, 8085, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 'Umbuchungen auf andere Kapitalkonten: Vollhafter', 9175, 9, 'Verrechnungskonto für Einzahlungsverpflichtungen – Umbuchungen VH');<br>ERROR: 22001: value too long for type character varying(20)
LOCATION: varchar, varchar.c:624
2018-11-07 06:38:36 ERR 192.168.0.185 DoliDBPgsql::query SQL Error message: ERROR: 23505: duplicate key value violates unique constraint "llx_accounting_account_pkey"
DETAIL: Key (rowid)=(5535) already exists.
SCHEMA NAME: public
TABLE NAME: llx_accounting_account
CONSTRAINT NAME: llx_accounting_account_pkey
LOCATION: _bt_check_unique, nbtinsert.c:433 (DB_ERROR_RECORD_ALREADY_EXISTS)
LOCATION: errorMissingColumn, parse_relation.c:3194 (DB_ERROR_NOSUCHFIELD)
2018-11-07 06:38:34 ERR 192.168.0.185 DoliDBPgsql::query SQL Error usesavepoint = 1
2018-11-07 06:38:34 DEBUG 192.168.0.185 Admin.lib::run_sql Request 1430
2018-11-07 06:38:34 DEBUG 192.168.0.185 sql=INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, pcg_subtype, account_number, account_parent, label, active) VALUES (1, 2429 + 100500000, 'SKR03','3','Expense','3987', K3BA12 + 100500000,'Lager Differenzkorrektur Marktwert',1);
2018-11-07 06:38:34 ERR 192.168.0.185 DoliDBPgsql::query SQL Error message: ERROR: 42703: column "k3ba12" does not exist
LINE 1: ... 2429 + 100500000, 'SKR03','3','Expense','3987', K3BA12 + 1...