Bumping into database related error attempting to install CDMBuild 3.0 on Windows
20:42:12.318 [AWT-EventQueue-0] WARN o.c.utils.gui.GuiCommandRunner - invalid config
java.lang.RuntimeException: unable to find working psql version for this postgres server
at org.cmdbuild.utils.lang.CmExceptionUtils.runtime(CmExceptionUtils.java:44)
at org.cmdbuild.utils.postgres.PostgresHelperImpl.runCommand(PostgresHelperImpl.java:302)
at org.cmdbuild.utils.postgres.PostgresHelperImpl.executeQuery(PostgresHelperImpl.java:175)
at org.cmdbuild.utils.postgres.PostgresHelperImpl.getServerVersion(PostgresHelperImpl.java:82)
at org.cmdbuild.dao.config.inner.DatabaseCreatorConfigImpl.checkConfig(DatabaseCreatorConfigImpl.java:153)
at org.cmdbuild.utils.gui.GuiCommandRunner$InstallHelper.prepareConfig(GuiCommandRunner.java:247)
at org.cmdbuild.utils.gui.GuiCommandRunner$InstallHelper.testInstallConfig(GuiCommandRunner.java:274)
at org.cmdbuild.utils.gui.GuiCommandRunner.lambda$buildInstallUi$6(GuiCommandRunner.java:202)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.desktop/java.awt.Component.processEvent(Unknown Source)
at java.desktop/java.awt.Container.processEvent(Unknown Source)
at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
.....
Caused by: java.lang.UnsupportedOperationException: null
at java.base/java.nio.file.Files.setPosixFilePermissions(Unknown Source)
at org.cmdbuild.utils.postgres.PostgresHelperImpl$PostgresOperation.prepare(PostgresHelperImpl.java:343)
at org.cmdbuild.utils.postgres.PostgresHelperImpl.runCommand(PostgresHelperImpl.java:309)
at org.cmdbuild.utils.postgres.PostgresHelperImpl.executeQuery(PostgresHelperImpl.java:175)
at org.cmdbuild.utils.postgres.PostgresHelperImpl.getServerVersion(PostgresHelperImpl.java:82)
at org.cmdbuild.utils.postgres.PostgresHelperImpl.runCommand(PostgresHelperImpl.java:280)
... 42 common frames omitted
Looks like a runtime warning/error.
Anyone managed to have a successful install on Windows ? Although it says invalid config, unable to figure out.
- MD Singh