mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-04-25 13:46:02 +03:00
[GH-ISSUE #30] Run error during first startup #19
Labels
No labels
AS
can't reproduce
can't reproduce
deployment
development
documentation
duplicate
duplicate
ee
enhancement
external
new driver
performance
pull-request
third party issue
wait for response
wait for review
wontfix
x:Oracle
x:cassandra
x:clickhouse
x:db2
x:duckdb
x:greenplum
x:h2
x:h2gis
x:hana
x:hive
x:intersystems
x:kyuubi
x:maria
x:mongo
x:mysql
x:postgresql
x:presto
x:sql server
x:sqlite
x:teradata
x:trino
xf:accessibility
xf:administration
xf:ai
xf:authentication
xf:aws
xf:commit-mode
xf:connection
xf:dark theme
xf:data editor
xf:datatransfer
xf:dba
xf:driver management
xf:erd
xf:filters
xf:i18n
xf:i18n
xf:installer
xf:json
xf:kerberos
xf:ldap
xf:local config
xf:log viewer
xf:metadata
xf:metadata editor
xf:navigator
xf:okta
xf:query manager
xf:resource manager
xf:scripts
xf:sql editor
xf:tasks
xf:ui/uix
xo: Firefox
xo:eclipse
xo:internet explorer
xo:macos
xp:major
xrn:internal
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudbeaver#19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @stogdan on GitHub (May 2, 2020).
Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/30
Describe the bug
First run attempt after first successful cloudbeaver build
To Reproduce
Steps to reproduce the behavior:
/home/build/cloudbeaver/deploy/cloudbeaverDesktop (please complete the following information):
/home/build/cloudbeaver/deploy/cloudbeaver/home/build/cloudbeaver/deploy/cloudbeaver/Error message
Starting Cloudbeaver Server 2020-05-02 11:17:03.400 - Using configuration conf/cloudbeaver.conf 2020-05-02 11:17:03.488 - Product configuration file not found (/home/build/cloudbeaver/deploy/cloudbeaver/conf/product.conf' 2020-05-02 11:17:03.531 - Cloudbeaver Web Server 7.0.4.202005021033 is starting 2020-05-02 11:17:03.532 - OS: Linux 4.15.0-99-generic (amd64) 2020-05-02 11:17:03.533 - Java version: 11.0.7 by Ubuntu (64bit) 2020-05-02 11:17:03.535 - Install path: '/home/build/cloudbeaver/deploy/cloudbeaver/server' 2020-05-02 11:17:03.536 - Global workspace: 'file:/home/build/cloudbeaver/deploy/cloudbeaver/workspace/' 2020-05-02 11:17:03.537 - Memory available 30Mb/477Mb 2020-05-02 11:17:03.576 - Initializing product: Cloudbeaver Web Server 7.0.4 2020-05-02 11:17:03.577 - Host plugin: io.cloudbeaver.server 7.0.4.202005021033 2020-05-02 11:17:03.577 - Initialize web platform... 2020-05-02 11:17:03.838 - BounceCastle bundle found. Use JCE provider BC 2020-05-02 11:17:04.192 - Initialize base platform... 2020-05-02 11:17:04.516 - Total database drivers: 80 (80) 2020-05-02 11:17:04.548 - Driver 'derby_server' is missing library 'org.apache.derby:derbyclient:RELEASE' 2020-05-02 11:17:04.555 - Web platform initialized (978ms) 2020-05-02 11:17:04.555 - Content root: /home/build/cloudbeaver/deploy/cloudbeaver/web 2020-05-02 11:17:04.556 - Drivers storage: /home/build/cloudbeaver/deploy/cloudbeaver/drivers 2020-05-02 11:17:04.559 - Product details: CloudBeaver Sample Server 2020-05-02 11:17:04.560 - Base port: 8978 2020-05-02 11:17:04.561 - Base URI: /dbeaver/ 2020-05-02 11:17:04.568 - Production mode 2020-05-02 11:17:04.577 - Initializing database connection 2020-05-02 11:17:05.196 - Connected to H2 1.4.196 (2017-06-10) 2020-05-02 11:17:05.209 - Create database schema 2020-05-02 11:17:05.210 - Error initializing database org.jkiss.dbeaver.DBException: Can't find schema file db/cb-schema-create.sql at io.cloudbeaver.server.CBDatabase.createDatabaseSchema(CBDatabase.java:169) at io.cloudbeaver.server.CBDatabase.checkDatabaseStructure(CBDatabase.java:146) at io.cloudbeaver.server.CBDatabase.initialize(CBDatabase.java:126) at io.cloudbeaver.server.CBApplication.initializeDatabase(CBApplication.java:217) at io.cloudbeaver.server.CBApplication.start(CBApplication.java:187) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) 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:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594) at org.eclipse.equinox.launcher.Main.run(Main.java:1447) at org.eclipse.equinox.launcher.Main.main(Main.java:1420) 2020-05-02 11:17:05.231 - Shutdown Core... 2020-05-02 11:17:05.301 - Shutdown completed in 70ms Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.jkiss.dbeaver.model.navigator.DBNModel$EventProcessingJobComments
I cannot see the file cb-schema-create.sql in the directory structure. However I see it is located here: /home/build/cloudbeaver/server/bundles/io.cloudbeaver.server/db/cb-schema-create.sql
A missing copy command in the build instructions? If so where should it be placed?
@serge-rider commented on GitHub (May 4, 2020):
It is already fixed. Thanks for the bug report though.
develbranch is unstable. Build may fail from time to time.If you build fro msources then its better to use some release verison: https://github.com/dbeaver/cloudbeaver/releases