Code Monkey home page Code Monkey logo

Comments (17)

robfrank avatar robfrank commented on May 16, 2024

The Postgres database doesn't startup due to an error in the ownership of

 /var/lib/postgresql/data/

inside the container.

The directory is mapped on the host system:

 ~/.arcade/arcadeanalytics/postgresql/:/var/lib/postgresql/data/

I don't have a Windows box where to test. Try to understand which are the permissions of the ~/.arcade/arcadeanalytics/postgresql/ and which user is used to run the containers.

Just for the purpose of testing, and for small installation too, you can try the "all in one" configuration:

docker-compose -f src/main/docker/app-single.yml up

from arcadeanalytics.

shalabhr800 avatar shalabhr800 commented on May 16, 2024

i cant find any file mapped as:
~/.arcade/arcadeanalytics/postgresql/:/var/lib/postgresql/data/
amongst the files downloaded from github. Its still not clear about what i should do next for this issue.Can you tell me a bit more?

Also i tried to run:
docker-compose -f src/main/docker/app-single.yml up
which was successful. Will i be able to work with arcade if i launch using :
docker-compose -f src/main/docker/app-single.yml up
instead of :
docker-compose -f src/main/docker/app.yml up

from arcadeanalytics.

robfrank avatar robfrank commented on May 16, 2024

the "single" compose file uses an embedded database and an embedded Elastic-search instead of a dedicated postgres and elastic instances. The "single" is ideal when used on a laptop and it's fully operative.

from arcadeanalytics.

shalabhr800 avatar shalabhr800 commented on May 16, 2024

"I cant find any file mapped as:
~/.arcade/arcadeanalytics/postgresql/:/var/lib/postgresql/data/
amongst the files downloaded from github. Its still not clear about what i should do next for this issue."

can you suggest me something about this? about the wrong ownership regarding data directory of postgresql

from arcadeanalytics.

robfrank avatar robfrank commented on May 16, 2024

As I said, I don't have a Windows box where to test.
You should check permissions for the directory ~/.arcade/arcadeanalytics/postgresql/

This directory is created by the postgres docker container at the startup to persist the database on your machine.

from arcadeanalytics.

shalabhr800 avatar shalabhr800 commented on May 16, 2024

error

I am unable to follow up the above steps , especially the last step about adding to the authorized_key file ......
where can i find this file to add the key?
and is it talking about the public key of the ec2 instance?

from arcadeanalytics.

robfrank avatar robfrank commented on May 16, 2024

please, follow the instruction in the readme file:

https://github.com/ArcadeAnalytics/arcadeanalytics/blob/master/README.md

BTW: you should share with the EC2 instance your own ssh public key and configure arcade to read the public end the private key.

Note that you can avoid using the EC2 instance as a gateway if you install Arcade on the EC2 instance itself.

from arcadeanalytics.

shalabhr800 avatar shalabhr800 commented on May 16, 2024

still trying to connect through ssh tunnel by following all the steps given,

these are the details i have filled (screenshot attached)
Screenshot (9)
Screenshot (10)

and this is the error which i am getting
Screenshot (8)

from arcadeanalytics.

robfrank avatar robfrank commented on May 16, 2024

I need the log.
I think you misconfigure the ssh keys.

Are you able to connect to your EC2 instance via SSH using puTTY?

If yes, configures arcade with the keys you have in ~/.ssh

Copy them to ~/.arcade/.ssh

from arcadeanalytics.

shalabhr800 avatar shalabhr800 commented on May 16, 2024

these are the errors i am currently facing
Screenshot (13)

the default Orientdb database is also not being indexed now which was indexed yesterday itself
Screenshot (14)
Screenshot (11)
Screenshot (12)

from arcadeanalytics.

shalabhr800 avatar shalabhr800 commented on May 16, 2024

please help me out...the errors are increasing by the day i really dont know why

from arcadeanalytics.

robfrank avatar robfrank commented on May 16, 2024

The orientdb isn't running, I guess. Run the orientdb instance:

As stated in the paragraph: https://github.com/ArcadeAnalytics/arcadeanalytics#start-with-single-embedded-image

so, to run the orientdb instance:

docker-compose -f src/main/docker/orientdb2.yml up

from arcadeanalytics.

shalabhr800 avatar shalabhr800 commented on May 16, 2024

and what about the other errors?

from arcadeanalytics.

robfrank avatar robfrank commented on May 16, 2024

I can see only errors related to missing orientdb instance.

About ssh, I can only repeat myself:

I think you misconfigure the ssh keys.

Are you able to connect to your EC2 instance via SSH using puTTY?

If yes, configures arcade with the keys you have in ~/.ssh

Copy them to ~/.arcade/.ssh

Where ~ means your home directory. I don't know the path on a windows machine, maybe c:\users\<username>

from arcadeanalytics.

shalabhr800 avatar shalabhr800 commented on May 16, 2024

yes i am able to connect to my instance and i have already done that

  • copying the public key inside /.arcade/.ssh

from arcadeanalytics.

shalabhr800 avatar shalabhr800 commented on May 16, 2024

image
and even after doing :
docker-compose -f src/main/docker/orientdb2.yml up
the above metadata error is showing
as well as the internal server error

from arcadeanalytics.

robfrank avatar robfrank commented on May 16, 2024

can you do a docker ps just to see that both containers are running?

from arcadeanalytics.

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.