Giter Club home page Giter Club logo

Comments (10)

robfrank avatar robfrank commented on September 3, 2024

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.

decebal avatar decebal commented on September 3, 2024

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:

  1. use orientdb:latest with docker-compose, open the studio interface
  2. try to create a new database from the studio interface, introduce database name, username and password
  3. basic auth pops up .. tried admin:admin , root:root, root:{ORIENTDB_ROOT_PASSWORD}

from orientdb-docker.

robfrank avatar robfrank commented on September 3, 2024

Please, provide the docker compose configuration. I guess you're not setting the root password.

from orientdb-docker.

decebal avatar decebal commented on September 3, 2024

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.

robfrank avatar robfrank commented on September 3, 2024

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.

decebal avatar decebal commented on September 3, 2024

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

First screen of my studio install

#popup for creating a new database
popup for creating a new database

#my basic authentication nightmare

my basic authentication nightmare

from orientdb-docker.

robfrank avatar robfrank commented on September 3, 2024

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.

decebal avatar decebal commented on September 3, 2024

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.

robfrank avatar robfrank commented on September 3, 2024

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.

decebal avatar decebal commented on September 3, 2024

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)

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.