Comments (10)
I don't understand very well the issue. BTW, I try to give a solution.
AFIU you run the container providing password for the root user.
On the landing page, with these credentials, you can create a new database, and then login with admin/admin credential on the just created database. Studio documentation:
http://orientdb.com/docs/last/Studio-Home-page.html
Anyway, please provide orientdb version, command used to launch and any other detail that can help . thanks
from orientdb-docker.
Thanks for the answer Rob, but it's really frustrating for me at this point as I am new to this and I can't find a image that just works.
Steps to reproduce the issue I'm having:
- use
orientdb:latest
with docker-compose, open the studio interface - try to create a new database from the studio interface, introduce database name, username and password
- basic auth pops up .. tried admin:admin , root:root, root:{ORIENTDB_ROOT_PASSWORD}
from orientdb-docker.
Please, provide the docker compose configuration. I guess you're not setting the root password.
from orientdb-docker.
Thanks for drilling down on this Rob, you're right, there were issues raised about the root password not being set, I have set the password, to check it I also got a sh
prompt inside the container and my environment has it set.
This is my yaml file, in case you find it useful:
dev-orientdb:
image: orientdb:latest
environment:
- ORIENTDB_ROOT_PASSWORD=root
- ORIENTDB_NODE_NAME=my_shiny_database
volumes:
- '../../containers/db/orientdb:/orientdb/databases'
- '../../containers/orientdb/backup:/orientdb/backup'
ports:
- "2424:2424"
- "2480:2480"
expose:
- "2424"
- "2480"
entrypoint:
- "server.sh"
From my understanding after going through some configuration files, it has nothing to do with that password, but I don't know where the basic auth comes from.. maybe it's from the studio install (the zip file).
from orientdb-docker.
My suggestion is to delete the container instance and let compose rebuild it.
Then, on localhost:2480, try to create a new database using server credentials root/root.
then, login using admin/admin on the just created database
from orientdb-docker.
Hi Rob,
Thank you for your suggestion, but that is not a valid solution, neither does it work or make sense.
What I am after is an environment variable that I can set or a config file that I can modify and mount as a volume. The studio plugin is installed from a zip file that rests in /orientdb/plugins
and I have no clue how it gets there :( , but it would be a welcomed addition if I could use it.
#First screen of the studio plugin install
#popup for creating a new database
#my basic authentication nightmare
from orientdb-docker.
apart for the basic auth, if you reload the page, pointing to localhost:2480, are you able to login to the created database and work on it?
from orientdb-docker.
no Rob, I can't use the studio at all, I am using the console at the moment, but for every operation in the studio I get the basic auth popup and I am denied access to everything, including creating a new database and accessing one that I created from the console.
from orientdb-docker.
I just launched with this command:
docker run --rm -ti -p 2480:2480 -p 2430:2430 orientdb:latest
then I went to localhost:2480, created a new db called test. No basic auth popped up.
I'm on a mac, docker 1.13.0, orientdb:latest is 2.2.16, chrome browser.
Let me know you configuration, please.
from orientdb-docker.
Apparently you were right about that password.
I just cleaned up all my orientdb pieces from docker just to make sure, ran a new install and this little info message was to be found between all the info messages
memoria-dev-orientdb_1 | 2017-02-13 17:50:20:349 INFO Found ORIENTDB_ROOT_PASSWORD variable, using this value as root's password [OServer]
I have a very similar environment to what you just described, btw (just ubuntu 16 instead of mac).
Thanks for the patience Rob.
from orientdb-docker.
Related Issues (20)
- Error docker start HOT 1
- Backup DB in docker container
- Permission Error with Orientdb on Openshift HOT 2
- OrientDB version 2.2.37 not on Docker hub HOT 1
- Tinkerpop port not exposed HOT 2
- How can I add an SSL certificate to OrientDB Rest API?
- Error in launching gremlin.sh with orientdb:3.1.5-tp3 HOT 1
- Permission denied error for orientdb non root image on AKS volume mount disk
- No docker image for 3.2.1 HOT 2
- [HELP Needed] Deploying orientdb on OpenShift
- oetl.sh can't find json config file
- No 3.2.6 in Dockerhub HOT 2
- Which signal orientdb handles for gracefully shutdown HOT 1
- amd64/orientdb:2.2.31 is not working HOT 2
- [rl-vulnerability_alerts-1] Violation against OSS Rules of Play
- [rl-reuse_tool-2] Violation against OSS Rules of Play
- [rl-reuse_tool-1] Violation against OSS Rules of Play
- [rl-reuse_tool-3] Violation against OSS Rules of Play
- [rl-reuse_tool-4] Violation against OSS Rules of Play
- Docker hub supports only 3.2.28 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orientdb-docker.