Fehler bei der Migr...
 
Benachrichtigungen
Alles entfernen

[Gelöst] Fehler bei der Migration von 2.2.0-Snapshot auf die aktuelle Version 2.2.0

15 Beiträge
4 Benutzer
0 Reactions
386 Aufrufe
(@luwolter)
Active Member
Beigetreten: vor 2 Jahren
Beiträge: 8
Topic starter   [#4669]

Nach der Migration von

Fakturama
Version: 2.2.0-SNAPSHOT
Build-ID: 20241230-1012
Java-Version: 17.0.2

auf die aktuelle Version 2.2.0 erhalte ich sowohl unter Win11 als auch unter Linux (Tuxedo OS ~ Ubuntu 24.04) eine ähnliche Fehlermeldung. S. Anhang

Es würde mich freuen, einen Tipp für die Problemlösung zu bekommen.

Hier noch ein Auszug aus dem Win11 Log, da ich mir nicht sicher bin, ob die Anhänge übertragen wurden:

!SESSION 2026-07-31 14:13:48.652 -----------------------------------------------
eclipse.buildId=2.2.0.
java.version=17.0.19
java.vendor=Eclipse Adoptium
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
Framework arguments: /Clean
Command-line arguments: -os win32 -ws win32 -arch x86_64 /Clean

!ENTRY org.eclipse.equinox.registry 2 0 2026-07-31 14:13:51.203
!MESSAGE The extensions and extension-points from the bundle "org.fakturama.logging" are ignored. The bundle is not marked as singleton.

!ENTRY org.eclipse.osgi 4 0 2026-07-31 14:13:52.374
!MESSAGE Application error
!STACK 1
org.eclipse.e4.core.di.InjectionException: org.eclipse.e4.core.di.InjectionException: Unable to process "MigrationManager.contactDAO": no actual value was found for the argument "ContactsDAO".
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:68)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:309)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:237)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:147)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.lambda$0(E4Application.java:233)
at java.base/java.util.Optional.ifPresent(Optional.java:178)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:229)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:155)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:402)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
at org.eclipse.equinox.launcher.Main.run(Main.java:1467)
Caused by: org.eclipse.e4.core.di.InjectionException: Unable to process "MigrationManager.contactDAO": no actual value was found for the argument "ContactsDAO".
at org.eclipse.e4.core.internal.di.InjectorImpl.reportUnresolvedArgument(InjectorImpl.java:470)
at org.eclipse.e4.core.internal.di.InjectorImpl.resolveRequestorArgs(InjectorImpl.java:461)
at org.eclipse.e4.core.internal.di.InjectorImpl.internalInject(InjectorImpl.java:130)
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:395)
at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:322)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:202)
at com.sebulli.fakturama.startup.ConfigurationManager.checkAndUpdateConfiguration(ConfigurationManager.java:171)
at com.sebulli.fakturama.LifecycleManager.checksBeforeStartup(LifecycleManager.java:152)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
... 19 more

!ENTRY org.eclipse.e4.ui.workbench 4 0 2026-07-31 14:13:52.383
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.eclipse.e4.core.di.InjectionException: Unable to process "LifecycleManager#postWindowClose()": no actual value was found for the argument "Location[@javax.inject.Named("instanceLocation")]".
at org.eclipse.e4.core.internal.di.InjectorImpl.reportUnresolvedArgument(InjectorImpl.java:470)
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:984)
at org.eclipse.e4.core.internal.di.InjectorImpl.disposed(InjectorImpl.java:444)
at org.eclipse.e4.core.internal.di.Requestor.disposed(Requestor.java:161)
at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjectionListener.update(ContextObjectSupplier.java:83)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:103)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.handleInvalid(TrackableComputationExt.java:68)
at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:179)
at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:164)
at org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.dispose(EclipseContextOSGi.java:102)
at org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.bundleChanged(EclipseContextOSGi.java:144)
at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:949)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:229)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:138)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:130)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:217)
at org.eclipse.osgi.container.Module.publishEvent(Module.java:499)
at org.eclipse.osgi.container.Module.doStop(Module.java:658)
at org.eclipse.osgi.container.Module.stop(Module.java:521)
at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:207)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:226)
at java.base/java.lang.Thread.run(Thread.java:840)


Dieses Thema wurde geändert vor 2 Monaten von LuWolter

   
Zitat
Themen-Schlagwörter
(@luwolter)
Active Member
Beigetreten: vor 2 Jahren
Beiträge: 8
Topic starter  

Hier noch die Log-Datei für Ubuntu 24.04



   
AntwortZitat
(@rhe_adm)
Estimable Member Admin
Beigetreten: vor 11 Jahren
Beiträge: 156
 

Moin, bitte starte Fakturama einmal mit dem Parameter -clean.



   
AntwortZitat
(@luwolter)
Active Member
Beigetreten: vor 2 Jahren
Beiträge: 8
Topic starter  

@rhe_adm 

Ich hatte den Parameter beim ersten Start verwendet und jetzt auch beim zweiten Start. In beiden Fällen stürzt das Programm mit den gleichen Fehlermeldungen ab.



   
AntwortZitat
(@rheydenr)
Forum-Admin Registered
Beigetreten: vor 14 Jahren
Beiträge: 4930
 

Kann es sein, daß Du im Feld "alte Version" den Pfad zur "alten" 2.2.0er Version eingetragen hast?


Viele Grüße
Ralf.
Wichtige Infos zum Posten im Forum.
Fehler gefunden?


   
AntwortZitat
(@luwolter)
Active Member
Beigetreten: vor 2 Jahren
Beiträge: 8
Topic starter  

@rheydenr Ja, das habe ich. Eine andere alte Version habe ich nicht.



   
AntwortZitat
(@rheydenr)
Forum-Admin Registered
Beigetreten: vor 14 Jahren
Beiträge: 4930
 

Das Feld ist nur für die Migration von 1.6.9 auf 2.x erforderlich. Damit machst Du Dir sonst Deine Datenbank kaputt. Du müßtest also ein Backup der letzten funktionierenden Version nehmen und damit weiterarbeiten.


Viele Grüße
Ralf.
Wichtige Infos zum Posten im Forum.
Fehler gefunden?


   
AntwortZitat
(@luwolter)
Active Member
Beigetreten: vor 2 Jahren
Beiträge: 8
Topic starter  

@rheydenr 

Nach dem Start ohne Migration bekomme ich sowohl mit als auch ohne Option „-clean“ die Meldung „Keine Verbindung mit Datenbank möglich“. Ist die Datenbank von einem anderen Prozess geöffnet?“ Letzteres kann ich weitestgehend ausschließen. U. a. habe ich auch testhalber die Datei Database.lck vor dem Start gelöscht. Alles ohne Erfolg.

!SESSION 2026-08-03 16:31:48.954 -----------------------------------------------
eclipse.buildId=2.2.0.
java.version=17.0.19
java.vendor=Eclipse Adoptium
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
Command-line arguments: -os win32 -ws win32 -arch x86_64 -clean

!ENTRY org.apache.aries.spifly.dynamic.bundle 4 0 2026-08-03 16:31:49.677
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.apache.aries.spifly.dynamic.bundle [2]
Unresolved requirement: Import-Package: org.objectweb.asm; version="[9.6.0,10.0.0)"

at org.eclipse.osgi.container.Module.start(Module.java:463)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1852)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1845)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1788)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1750)
at org.eclipse.osgi.container.SystemModule.startWorker(SystemModule.java:269)
at org.eclipse.osgi.container.Module.doStart(Module.java:605)
at org.eclipse.osgi.container.Module.start(Module.java:468)
at org.eclipse.osgi.container.SystemModule.start(SystemModule.java:193)
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:445)
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:464)
at org.eclipse.osgi.launch.Equinox.start(Equinox.java:139)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:338)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:251)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
at org.eclipse.equinox.launcher.Main.run(Main.java:1467)

!ENTRY org.apache.felix.scr 4 0 2026-08-03 16:31:49.683
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.apache.felix.scr [3]
Unresolved requirement: Import-Package: org.osgi.service.cm; version="[1.6.0,2.0.0)"; resolution:="optional"
Unresolved requirement: Import-Package: org.osgi.service.metatype; version="[1.2.0,2.0.0)"; resolution:="optional"
Unresolved requirement: Import-Package: org.apache.felix.service.command; version="[1.0.0,2.0.0)"; resolution:="optional"
Unresolved requirement: Import-Package: org.osgi.service.component; version="[1.5.0,1.6.0)"

at org.eclipse.osgi.container.Module.start(Module.java:463)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1852)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1845)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1788)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1750)
at org.eclipse.osgi.container.SystemModule.startWorker(SystemModule.java:269)
at org.eclipse.osgi.container.Module.doStart(Module.java:605)
at org.eclipse.osgi.container.Module.start(Module.java:468)
at org.eclipse.osgi.container.SystemModule.start(SystemModule.java:193)
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:445)
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:464)
at org.eclipse.osgi.launch.Equinox.start(Equinox.java:139)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:338)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:251)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
at org.eclipse.equinox.launcher.Main.run(Main.java:1467)

!ENTRY org.eclipse.equinox.registry 2 0 2026-08-03 16:31:58.598
!MESSAGE The extensions and extension-points from the bundle "org.fakturama.logging" are ignored. The bundle is not marked as singleton.

!ENTRY com.sebulli.fakturama.common 4 0 2026-08-03 16:32:03.124
!MESSAGE c.s.f.LifecycleManager.checksBeforeStartup:167|couldn't create or update database!

 

 



   
AntwortZitat
(@rheydenr)
Forum-Admin Registered
Beigetreten: vor 14 Jahren
Beiträge: 4930
 

Irgendwas ist hier im Programmverzeichnis durcheinandergeraten. Kannst Du Fakturama mal komplett deinstallieren, die Reste im Programmverzeichnis auch wegräumen und dann nochmal neu installieren? Vor dem ersten Aufruf auch noch das Verzeichnis .fakturama2 im Home-Verzeichnis umbenennen (oder löschen). Dann müßte der Erst-Installationsdialog nochmal hochkommen. Dort dann das Arbeitsverzeichnis angeben, in das Du eine funktionierende Datenbank gelegt hast.


Viele Grüße
Ralf.
Wichtige Infos zum Posten im Forum.
Fehler gefunden?


   
AntwortZitat
(@luwolter)
Active Member
Beigetreten: vor 2 Jahren
Beiträge: 8
Topic starter  

@rheydenr 

Entschuldige, ich habe erst jetzt weiter testen können. In einer neuen VM kann ich Fakturama ohne alte Daten problemlos installieren und starten. Sobald ich dies mit den vorhandenen Daten aus der 2.2.0‑Beta versuche, bricht das Programm leider wieder ab.

!SESSION 2026-08-23 19:43:43.439 -----------------------------------------------
eclipse.buildId=2.2.0.
java.version=17.0.19
java.vendor=Eclipse Adoptium
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -clean

!ENTRY org.apache.aries.spifly.dynamic.bundle 4 0 2026-08-23 19:43:43.958
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.apache.aries.spifly.dynamic.bundle [2]
  Unresolved requirement: Import-Package: org.objectweb.asm; version="[9.6.0,10.0.0)"

	at org.eclipse.osgi.container.Module.start(Module.java:463)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1852)
	at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1845)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1788)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1750)
	at org.eclipse.osgi.container.SystemModule.startWorker(SystemModule.java:269)
	at org.eclipse.osgi.container.Module.doStart(Module.java:605)
	at org.eclipse.osgi.container.Module.start(Module.java:468)
	at org.eclipse.osgi.container.SystemModule.start(SystemModule.java:193)
	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:445)
	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:464)
	at org.eclipse.osgi.launch.Equinox.start(Equinox.java:139)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:338)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:251)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1467)

!ENTRY org.apache.felix.scr 4 0 2026-08-23 19:43:43.962
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.apache.felix.scr [3]
  Unresolved requirement: Import-Package: org.osgi.service.cm; version="[1.6.0,2.0.0)"; resolution:="optional"
  Unresolved requirement: Import-Package: org.osgi.service.metatype; version="[1.2.0,2.0.0)"; resolution:="optional"
  Unresolved requirement: Import-Package: org.apache.felix.service.command; version="[1.0.0,2.0.0)"; resolution:="optional"
  Unresolved requirement: Import-Package: org.osgi.service.component; version="[1.5.0,1.6.0)"

	at org.eclipse.osgi.container.Module.start(Module.java:463)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1852)
	at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1845)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1788)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1750)
	at org.eclipse.osgi.container.SystemModule.startWorker(SystemModule.java:269)
	at org.eclipse.osgi.container.Module.doStart(Module.java:605)
	at org.eclipse.osgi.container.Module.start(Module.java:468)
	at org.eclipse.osgi.container.SystemModule.start(SystemModule.java:193)
	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:445)
	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:464)
	at org.eclipse.osgi.launch.Equinox.start(Equinox.java:139)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:338)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:251)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1467)

!ENTRY org.eclipse.equinox.registry 2 0 2026-08-23 19:43:47.239
!MESSAGE The extensions and extension-points from the bundle "org.fakturama.logging" are ignored. The bundle is not marked as singleton. 

!ENTRY com.sebulli.fakturama.common 4 0 2026-08-23 19:43:51.335
!MESSAGE c.s.f.LifecycleManager.checksBeforeStartup:167|couldn't create or update database!


   
AntwortZitat
(@elektronikmicha)
Eminent Member
Beigetreten: vor 1 Jahr
Beiträge: 30
 

Mein Setup:
Linux Mint 22.3 - Cinnamon 64-bit;
Fakturama
Version: 2.2.0-SNAPSHOT
Build-ID: 20251229-2154
Java-Version: 17.0.17

Installer_Fakturama_linux-amd64_2.2.0.deb heute geladen,
Der Paketmanager verweigert den Dienst, 
Fehler: Eine neuere Version ist bereits installiert.

Die wichtigste Frage: bringt mir die neue Version etwas? Wenn ja, muß ich auch zuerst den Snapshot deinstallieren oder gibt es zeitnah vielleicht schon eine 2.2.1?

 


Build-ID: 20250825-2244
Linux Mint 22.2 Cinnamon
Libre Office Version: 24.2.7.2 (X86_64)


   
AntwortZitat
(@rheydenr)
Forum-Admin Registered
Beigetreten: vor 14 Jahren
Beiträge: 4930
 

Moin, die 2.2.1 ist als Beta verfügbar.


Viele Grüße
Ralf.
Wichtige Infos zum Posten im Forum.
Fehler gefunden?


   
AntwortZitat
(@luwolter)
Active Member
Beigetreten: vor 2 Jahren
Beiträge: 8
Topic starter  

@rheydenr 

Heute konnte ich die 2.2.1 Beta testen. Leider habe ich erneut einen Fehler bekommen, den ich aber durch einen „dirty“ Trick lösen konnte. Die evtl. Folgeproblem überblicke ich aber nicht.

Startoptionen:

JVM terminated. Exit code=1
/usr/share/fakturama2/jre/bin/java
-Dosgi.requiredJavaVersion=21
-DREFRESH_BUNDLES=false
-Dorg.eclipse.e4.ui.css.dynamic=true
--add-modules=ALL-SYSTEM
-DLiquibaseHubMode=off
-Dorg.ops4j.pax.logging.DefaultServiceLog.level=INFO
-jar /usr/share/fakturama2//plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar
-os linux
-ws gtk
-arch x86_64
-showsplash
-launcher /usr/share/fakturama2/Fakturama
-name Fakturama
--launcher.library /usr/share/fakturama2//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.1000.v20240506-2123/eclipse_11901.so
-startup /usr/share/fakturama2//plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar
--launcher.overrideVmargs
-exitdata 3c0001
-vm /usr/share/fakturama2/jre/bin/java
-vmargs
-Dosgi.requiredJavaVersion=21
-DREFRESH_BUNDLES=false
-Dorg.eclipse.e4.ui.css.dynamic=true
--add-modules=ALL-SYSTEM
-DLiquibaseHubMode=off
-Dorg.ops4j.pax.logging.DefaultServiceLog.level=INFO
-jar /usr/share/fakturama2//plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar

Fehlereintrag:

20261003 17:56:25.339 | WARN  | o.j.m.OSGIServiceHelper | Loaded Service Factory (org.javamoney.moneta.spi.MonetaryConfigProvider): org.javamoney.moneta.spi.DefaultConfigProvider
20261003 17:56:25.765 | INFO  | c.s.fakturama | c.s.f.p.DefaultValuesInitializer.initializeDefaultPreferences:64 - Entering default Preference Initializer
20261003 17:56:25.820 | WARN  | o.j.m.OSGIServiceHelper | Loaded Service Factory (org.javamoney.moneta.spi.MonetaryConfigProvider): org.javamoney.moneta.spi.DefaultConfigProvider
20261003 17:56:25.952 | INFO  | c.s.fakturama | c.s.f.s.ConfigurationManager.checkAndUpdateConfiguration:148 - Application was started the first time or no workspace was set!
20261003 17:56:25.961 | INFO  | c.s.fakturama | c.s.f.s.InitialStartupDialog.<init>:179 - adding [HSQLDB (null), JDBCDriver] as DB Connection Provider
20261003 17:56:25.961 | INFO  | c.s.fakturama | c.s.f.s.InitialStartupDialog.<init>:179 - adding [MariaDB (null), Driver] as DB Connection Provider
20261003 17:56:25.961 | INFO  | c.s.fakturama | c.s.f.s.InitialStartupDialog.<init>:179 - adding [MySQL (null), Driver] as DB Connection Provider
20261003 17:57:40.077 | INFO  | c.s.f.d.i.DbUpdateService | Creating local database connection
20261003 17:57:40.200 | INFO  | c.s.f.d.i.DbUpdateService | Starting database link ...
20261003 17:57:41.652 | WARN  | c.s.f.d.i.DbUpdateService | could not determine the number of pending change sets
liquibase.exception.ValidationFailedException: Validierung war nicht erfolgreich:
     Bei 2 ChangeSets stimmt die Prüfsumme nicht mehr mit der Historientabelle überein.
          changelog/db.changelog-2.2.xml::20241014-001::boarschti was: 9:1615e63a91bf66dbfc38d380119c43d2 but is now: 9:e6ed1d9f908d2487aec5145df731209b
          changelog/db.changelog-2.2.xml::20241014-002::boarschti was: 9:47014b5a17f0f756cc4ba45485669f7a but is now: 9:0ac9e5b32f1a9d7d5f1258e4c6b34e26

	at liquibase.changelog.DatabaseChangeLog.validate(DatabaseChangeLog.java:353)
	at liquibase.Liquibase.lambda$listUnrunChangeSets$16(Liquibase.java:1132)
	at liquibase.Scope.lambda$child$0(Scope.java:184)
	at liquibase.Scope.child(Scope.java:193)
	at liquibase.Scope.child(Scope.java:183)
	at liquibase.Scope.child(Scope.java:162)
	at liquibase.Liquibase.runInScope(Liquibase.java:1403)
	at liquibase.Liquibase.listUnrunChangeSets(Liquibase.java:1124)
	at liquibase.Liquibase.listUnrunChangeSets(Liquibase.java:1114)
	at com.sebulli.fakturama.dbservice.impl.DbUpdateService.countUnrunChangeSets(DbUpdateService.java:161)
	at com.sebulli.fakturama.dbservice.impl.DbUpdateService.updateDatabase(DbUpdateService.java:120)
	at com.sebulli.fakturama.LifecycleManager$2.run(LifecycleManager.java:190)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
20261003 17:57:41.783 | ERROR | c.s.fakturama | c.s.f.LifecycleManager.checksBeforeStartup:198 - couldn't create or update database!

Ich habe in der Tabelle DATABASECHANGELOG für die zwei Datensätze die MD5SUM auf den erwarteten Wert gesetzt :-). Der Grund für den Fehler ist mir unklar.

Fakturama funktioniert jetzt. Schwerwiegende Fehler habe ich bisher nicht festgestellt.

 



   
AntwortZitat
(@rheydenr)
Forum-Admin Registered
Beigetreten: vor 14 Jahren
Beiträge: 4930
 

Moin, ja, der Fehler mit den changesets kommt leider ab und zu bei bestimmten Datenbank-Konstellationen. Du hast das aber richtig gelöst 🙂


Viele Grüße
Ralf.
Wichtige Infos zum Posten im Forum.
Fehler gefunden?


   
AntwortZitat
(@luwolter)
Active Member
Beigetreten: vor 2 Jahren
Beiträge: 8
Topic starter  

Vielen Dank!!



   
AntwortZitat
Teilen: