-
Notifications
You must be signed in to change notification settings - Fork 619
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OrientDB Studio does not work in strongbox-distribution #1251
Comments
@steve-todorov , how did you try to run the distribution ? Using wrapper executable ?
|
I've finally found the issue. For me, at least, the root DB path when I start strongbox from the distribution contains a relative path that uses |
After conversation with @carlspring, we will not invest in a major refactor of the wrapper, and we do not want to include We discussed hard-coding the wrapper to use |
We should avoid hardcoding things at all cost. We should either consider submitting a patch to OrientDB, or think of a better way to do it. |
This is now working from strongbox-distribution, with only the caveat that, when starting Strongbox with OrientDB Studio enabled, the path to Strongbox documentation at https://strongbox.github.io/developer-guide/getting-started-with-persistence.html has been updated to provide this instruction for our users. The following issue has been raised on OrientDB, asking to loosen the upward directory traversal check: orientechnologies/orientdb#8859 |
Thanks for following up on this @cbrianhill ! :) |
@steve-todorov can you please verify the PR above? |
@sbespalov It looks like your PR fixes it. Thanks! :) |
Task Description
OrientDB Studio is not reachable at
http://localhost:2480/studio/index.html
when Strongbox is started from thestrongbox-distribution.tar.gz
. However, if you are starting it viacd strongbox-web-core && mvn spring-boot:run
it's working as expected. It looks like OrientDB Studio is unable to locate the resources it needs.We have added a smoke test for this.
Acceptance Test
mvn clean install -Dintegration.tests
still works.mvn spring-boot:run
in thestrongbox-web-core
still starts up the application correctly.strongbox-distribution
from azip
ortar.gz
still works and OrientDB Studio starts properly and is accessible.strongbox-web-integration-tests
still run properly.Task Relationships
This task is a follow-up of: #1087 , strongbox/strongbox-docs#22.
Help
Please join our chat and ping @steve-todorov or @carlspring when you create a PR so one of us can approve the testing stages in our CI.
The text was updated successfully, but these errors were encountered: