Bitte wähle nachfolgend aus, welche Beiträge auf dieser Themenseite auf dem Ausdruck ausgegeben werden sollen. Um dies zu tun markiere bitte die Checkbox auf der linken Seite der Posts, die im Ausdruck berücksichtigt werden sollen und klicke anschließend ganz unten auf der Seite auf den Button "Drucken".

SynTAX Problem mit der Datenbank

ogli

Betreff:

SynTAX Problem mit der Datenbank

 ·  Gepostet: 30.10.2025 - 14:17 Uhr  ·  #181235
Nach der ganzen Updaterei wg. VoP geht jetzt mein SynTAX nicht mehr :(
Eigentlich ist das Problem schon kurz vorher aufgetreten. Aber ich dachte wenn alles andere wieder geht, geht SynTAX bestimmt auch wieder - leider nein >_<
Hibiscus läuft perfekt (dem Olaf sei Dank :* ) aber SynTAX läuft immer noch nicht:
[siehe Anhang]

Das müsste die entsprechende Stelle aus dem Logfile sein:
Code
[Thu Oct 30 13:17:45 CET 2025][ERROR][main][de.willuhn.jameica.plugin.PluginLoader.init] unable to init plugin syntax: Plugin "syntax" wurde aufgrund eines Fehlers bei der Initialisierung deaktiviert.
Fehlermeldung: error while installing service database; nested exception is: 
  java.rmi.RemoteException: java.sql.SQLException: exception while executing sql script: Immediate primary Key constraint violation (_ANONYMOUS_CONSTRAINT_9) Columns = ( id ) Table = ( APP.steuer ). Current statement: INSERT INTO steuer  (name, satz, steuerkonto_id,ust_nr_steuer,ust_nr_bemessung) SELECT DISTINCT CONCAT(IF (stk.kontotyp_id = 1,Umsatzsteuer ,Vorsteuer ),b.steuer,%), b.steuer,s.steuerkonto_id,s.ust_nr_steuer,s.ust_nr_bemessung FROM buchung b, konto k, steuer s, konto stk, geschaeftsjahr gj WHERE b.steuer is not null and ((k.id = b.habenkonto_id and (k.kontoart_id != 3 and k.kontoart_id != 5)) or (k.id = b.sollkonto_id and (k.kontoart_id != 3 and k.kontoart_id != 5))) and s.steuerkonto_id is not null and s.id = k.steuer_id and stk.id = s.steuerkonto_id and gj.id = b.geschaeftsjahr_id and concat(stk.kontenrahmen_id,stk.kontotyp_id, b.steuer) not in (SELECT DISTINCT concat(stk2.kontenrahmen_id,stk2.kontotyp_id, s2.satz) FROM steuer s2,konto stk2 WHERE stk2.kontotyp_id is not null and (s2.mandant_id = gj.mandant_id or s2.mandant_id is null) and s2.steuerkonto_id = stk2.id); nested exception is: 
  de.willuhn.util.ApplicationException: java.sql.SQLException: exception while executing sql script: Immediate primary Key constraint violation (_ANONYMOUS_CONSTRAINT_9) Columns = ( id ) Table = ( APP.steuer ). Current statement: INSERT INTO steuer  (name, satz, steuerkonto_id,ust_nr_steuer,ust_nr_bemessung) SELECT DISTINCT CONCAT(IF (stk.kontotyp_id = 1,Umsatzsteuer ,Vorsteuer ),b.steuer,%), b.steuer,s.steuerkonto_id,s.ust_nr_steuer,s.ust_nr_bemessung FROM buchung b, konto k, steuer s, konto stk, geschaeftsjahr gj WHERE b.steuer is not null and ((k.id = b.habenkonto_id and (k.kontoart_id != 3 and k.kontoart_id != 5)) or (k.id = b.sollkonto_id and (k.kontoart_id != 3 and k.kontoart_id != 5))) and s.steuerkonto_id is not null and s.id = k.steuer_id and stk.id = s.steuerkonto_id and gj.id = b.geschaeftsjahr_id and concat(stk.kontenrahmen_id,stk.kontotyp_id, b.steuer) not in (SELECT DISTINCT concat(stk2.kontenrahmen_id,stk2.kontotyp_id, s2.satz) FROM steuer s2,konto stk2 WHERE stk2.kontotyp_id is not null and (s2.mandant_id = gj.mandant_id or s2.mandant_id is null) and s2.steuerkonto_id = stk2.id)


Und ich bin mir ziemlich sicher nix geändert zu haben...
Der an diesem Beitrag angefügte Anhang ist entweder nur im eingeloggten Zustand sichtbar oder die Berechtigung Deiner Benutzergruppe ist nicht ausreichend.

hibiscus

Betreff:

Re: SynTAX Problem mit der Datenbank

 ·  Gepostet: 30.10.2025 - 14:27 Uhr  ·  #181241

ogli

Betreff:

Re: SynTAX Problem mit der Datenbank

 ·  Gepostet: 31.10.2025 - 10:33 Uhr  ·  #181281
Das scheitert leider daran, dass Jameica auf einer ".zip" Backup-Datei besteht und die erstellte ".tar.gz" ignoriert <_<

little.yoda

Betreff:

Re: SynTAX Problem mit der Datenbank

 ·  Gepostet: 31.10.2025 - 11:07 Uhr  ·  #181285
Ich glaube, du redest von einer anderen Sache als Olaf.

Olaf meint wahrscheinlich die Backup-Dateien, die Hibiscus automatisch im User-Verzeichnis erzeugt. Und diese sind zip-Dateien.

ogli

Betreff:

Re: SynTAX Problem mit der Datenbank

 ·  Gepostet: 31.10.2025 - 11:14 Uhr  ·  #181286
Falls das so ist, hat's nicht funktioniert :(