SynTAX Problem mit der Datenbank

 
ogli
Benutzer
Avatar
Geschlecht: keine Angabe
Beiträge: 7
Dabei seit: 05 / 2023
Betreff:

SynTAX Problem mit der Datenbank

 · 
Gepostet: 30.10.2025 - 14:17 Uhr  ·  #1
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
Benutzer
Avatar
Geschlecht: keine Angabe
Herkunft: Leipzig
Homepage: willuhn.de/
Beiträge: 11150
Dabei seit: 03 / 2005
Betreff:

Re: SynTAX Problem mit der Datenbank

 · 
Gepostet: 30.10.2025 - 14:27 Uhr  ·  #2
ogli
Benutzer
Avatar
Geschlecht: keine Angabe
Beiträge: 7
Dabei seit: 05 / 2023
Betreff:

Re: SynTAX Problem mit der Datenbank

 · 
Gepostet: 31.10.2025 - 10:33 Uhr  ·  #3
Das scheitert leider daran, dass Jameica auf einer ".zip" Backup-Datei besteht und die erstellte ".tar.gz" ignoriert <_<
little.yoda
Benutzer
Avatar
Geschlecht: keine Angabe
Beiträge: 243
Dabei seit: 05 / 2014
Betreff:

Re: SynTAX Problem mit der Datenbank

 · 
Gepostet: 31.10.2025 - 11:07 Uhr  ·  #4
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
Benutzer
Avatar
Geschlecht: keine Angabe
Beiträge: 7
Dabei seit: 05 / 2023
Betreff:

Re: SynTAX Problem mit der Datenbank

 · 
Gepostet: 31.10.2025 - 11:14 Uhr  ·  #5
Falls das so ist, hat's nicht funktioniert :(
Gewählte Zitate für Mehrfachzitierung:   0