Skip to content
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

installation of arcade analytics #67

Open
shalabhr800 opened this issue Apr 1, 2019 · 17 comments
Open

installation of arcade analytics #67

shalabhr800 opened this issue Apr 1, 2019 · 17 comments

Comments

@shalabhr800
Copy link

shalabhr800 commented Apr 1, 2019

after running the command
docker-compose -f src/main/docker/app.yml up
the files are downloaded but there are some errors in it i guess and after a while it says
docker_arcadeanalytics-app_1 exited with code 1
please suggest what to do next and how to move to next step
http://localhost:8080/
(screeshots included)
Screenshot (3)
Screenshot (4)
Screenshot (5)

@robfrank
Copy link
Contributor

robfrank commented Apr 1, 2019

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

@shalabhr800
Copy link
Author

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

@robfrank
Copy link
Contributor

robfrank commented Apr 2, 2019

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.

@shalabhr800
Copy link
Author

"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

@robfrank
Copy link
Contributor

robfrank commented Apr 2, 2019

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.

@shalabhr800
Copy link
Author

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?

@robfrank
Copy link
Contributor

robfrank commented Apr 3, 2019

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.

@shalabhr800
Copy link
Author

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)

@robfrank
Copy link
Contributor

robfrank commented Apr 4, 2019

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

@shalabhr800
Copy link
Author

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)

@shalabhr800
Copy link
Author

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

@robfrank
Copy link
Contributor

robfrank commented Apr 5, 2019

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

@shalabhr800
Copy link
Author

and what about the other errors?

@robfrank
Copy link
Contributor

robfrank commented Apr 5, 2019

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>

@shalabhr800
Copy link
Author

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

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

@shalabhr800
Copy link
Author

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

@robfrank
Copy link
Contributor

robfrank commented May 2, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants