Git Product home page Git Product logo

Comments (8)

dariamarutkina avatar dariamarutkina commented on June 2, 2024 1

Hello, @bennettmsherman !
We will fix this in the next release. Thank you for your report!

from cloudbeaver.

bennettmsherman avatar bennettmsherman commented on June 2, 2024 1

Checked it, looks good. Thanks!

from cloudbeaver.

bennettmsherman avatar bennettmsherman commented on June 2, 2024

Version info post-start:

Product name
CloudBeaver CE Server

Product description
CloudBeaver CE Web UI Application

Build time
March 25, 2024

Backend version
24.0.1.202403251329

Frontend version
24.0.1.202403251332

from cloudbeaver.

dariamarutkina avatar dariamarutkina commented on June 2, 2024

Hello, @bennettmsherman !
We fixed it in version 24.0.2. You can try to install the latest early access (EA) version for CE (dockerhub)
Please let us know if the issue is reproducible

from cloudbeaver.

dariamarutkina avatar dariamarutkina commented on June 2, 2024

Hello, @bennettmsherman !
Please take a look at the new version of CloudBeaver 24.0.2
Thank you for your interest in CloudBeaver!

from cloudbeaver.

bennettmsherman avatar bennettmsherman commented on June 2, 2024

Actually, I don't think this is fixed. I updated to 24.02 this morning after removing system user home dir creation from my dockerfile, and I was faced with:

tclmetrics-cloudbeaver  | Starting Cloudbeaver Server
tclmetrics-cloudbeaver  | WARNING: Using incubator modules: jdk.incubator.vector, jdk.incubator.foreign
tclmetrics-cloudbeaver  | !SESSION 2024-04-12 00:05:52.351 -----------------------------------------------
tclmetrics-cloudbeaver  | eclipse.buildId=unknown
tclmetrics-cloudbeaver  | java.version=17.0.10
tclmetrics-cloudbeaver  | java.vendor=Eclipse Adoptium
tclmetrics-cloudbeaver  | BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en
tclmetrics-cloudbeaver  | 
tclmetrics-cloudbeaver  | !ENTRY org.eclipse.osgi 4 0 2024-04-12 00:05:55.324
tclmetrics-cloudbeaver  | !MESSAGE Error reading configuration: Unable to create lock manager.
tclmetrics-cloudbeaver  | !STACK 0
tclmetrics-cloudbeaver  | java.io.IOException: Unable to create lock manager.
tclmetrics-cloudbeaver  | at org.eclipse.osgi.storagemanager.StorageManager.open(StorageManager.java:713)
tclmetrics-cloudbeaver  | at org.eclipse.osgi.storage.Storage.getChildStorageManager(Storage.java:2194)
tclmetrics-cloudbeaver  | at org.eclipse.osgi.storage.Storage.getInfoInputStream(Storage.java:2211)
tclmetrics-cloudbeaver  | at org.eclipse.osgi.storage.Storage.<init>(Storage.java:258)
tclmetrics-cloudbeaver  | at org.eclipse.osgi.storage.Storage.createStorage(Storage.java:185)
tclmetrics-cloudbeaver  | at org.eclipse.osgi.internal.framework.EquinoxContainer.<init>(EquinoxContainer.java:108)
tclmetrics-cloudbeaver  | at org.eclipse.osgi.launch.Equinox.<init>(Equinox.java:53)
tclmetrics-cloudbeaver  | at org.eclipse.osgi.launch.Equinox.<init>(Equinox.java:46)
tclmetrics-cloudbeaver  | at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:315)
tclmetrics-cloudbeaver  | at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:251)
tclmetrics-cloudbeaver  | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
tclmetrics-cloudbeaver  | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
ava:77)
tclmetrics-cloudbeaver  | at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
orImpl.java:43)

When I recreated a home dir, I found these files in it on a fresh container:

tclmetrics@aed82a19e447:~$ find . -type f
./.bash_logout
./.profile
./.bashrc
./.local/share/DBeaverData/install-data/org.eclipse.update/platform.xml
./.local/share/DBeaverData/install-data/org.eclipse.core.runtime/.manager/.fileTableLock
./.local/share/DBeaverData/install-data/org.eclipse.core.runtime/.manager/.tmp3.instance
./.local/share/DBeaverData/install-data/config.ini
./.local/share/DBeaverData/install-data/org.eclipse.osgi/framework.info.1
./.local/share/DBeaverData/install-data/org.eclipse.osgi/.manager/.fileTableLock
./.local/share/DBeaverData/install-data/org.eclipse.osgi/.manager/.fileTable.2
./.local/share/DBeaverData/install-data/org.eclipse.osgi/.manager/.fileTable.1
./.local/share/DBeaverData/install-data/org.eclipse.equinox.app/.manager/.fileTableLock
./.local/share/DBeaverData/install-data/org.eclipse.equinox.app/.manager/.tmp4.instance
./.bash_history

My apologies - not sure what I missed yesterday when I said "Checked it, looks good. Thanks!". I suspect I had forgotten to do a docker-compose down --volumes such that the home directory was still lingering, avoiding the perms issue.

from cloudbeaver.

bennettmsherman avatar bennettmsherman commented on June 2, 2024

I suspect this commit is why I'm seeing a new exception

from cloudbeaver.

bennettmsherman avatar bennettmsherman commented on June 2, 2024

All this said, your wiki says:

RUN useradd -ms /bin/bash -g cloudbeaver cloudbeaver

where -m is equal to --create-home. I guess I must've missed that, or it worked at the time without a home directory so I opted not to create one.

Either way, I'm good as-is.

from cloudbeaver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.