openware / opendax

Open-Source Cloud-Native Digital Asset & Cryptocurrency Exchange Platform
https://www.openware.com/products/opendax
Apache License 2.0
625 stars 539 forks source link

Installer File not working #154

Closed fullmad closed 4 years ago

fullmad commented 4 years ago

curl: (22) The requested URL returned error: 404 Not Found

dpatsora commented 4 years ago

Hello! Would you be kind enough to provide us more description about the issue? On which request you've got this error?

Sincerely yours, Openware Team

fullmad commented 4 years ago

Thank you for your reply and appreciate your hard work on this project. I am referring to this: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/openware/opendax/master/bin/install)"

ghost commented 4 years ago

May I ask you about opendax? I have deployed everything rake services:all and have blank template page. Is required to set up ssl certificate? Because domain was.

On Sun, May 31, 2020, 10:23 PM Dollse IT World notifications@github.com wrote:

Thank you for your reply and appreciate your hard work on this project. I am referring to this: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/openware/opendax/master/bin/install)"

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/openware/opendax/issues/154#issuecomment-636523985, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANY7RXAGKLQP4I7AUIU6SETRUK4CZANCNFSM4NNGDCKA .

dpatsora commented 4 years ago

Hello! Install using ruby is outdated. (We will remove it ASAP) Please, clone Opendax and run:

  1. chmod +x bin/install.sh
  2. bin/install.sh
  3. Install RVM
  4. Restart the machine to apply docker changes
  5. bundle install
  6. Fill config/app.yml
  7. rake service:all

If you don't have domain - you can run it locally and access the platform using www.app.local Read about it in our README( section 4)

Sincerely yours, Openware Team

dpatsora commented 4 years ago

Setting up ssl is not required. In config/app.yml in ssl section just set enabled to false

dpatsora commented 4 years ago

Would you be kind enough to send us screenshot with output of docker-compose ps and content of config/app.yml( replace sensitive info such as Vault token with *)

Sincerely yours, Openware Team

UbuntuEvangelist commented 4 years ago

@dpatsora I am using Ubuntu 19.04 LTS

app@vmi387949:~/opendax$ docker-compose ps Name Command State Ports

app@vmi387949:~/opendax$ cat config/app.yml

app: name: OpenDAX domain: ardax.com.ar subdomain: www render_protect: false csrfEnabled: false ssl: enabled: false email: support@ardax.com.ar images: peatio: quay.io/openware/peatio:latest barong: quay.io/openware/barong:2.4.1 frontend: quay.io/openware/baseapp:latest tower: quay.io/openware/tower:2.4.5 finex: enabled: false image: quay.io/openware/finex:2.4.0-5334683 vendor: frontend: git@github.com:openware/baseapp.git vault: token: database: host: db port: 3306 user: root password: changeme storage: provider: Google bucketName: opendax-barong-docs-bucket region: fra1 endpoint: https://fra1.digitaloceanspaces.com accessKey: changeme secretKey: changeme signatureVersion: '2' twilio: enabled: false phone_number: "+15005550000" account_sid: changeme auth_token: changeme gaTrackerKey: '' captcha: type: none siteKey: changeme secretKey: changeme smtp: host: smtp.sendgrid.net port: 2525 user: apikey password: changeme sender_email: noreply@barong.io sender_name: Postmaster wallets: eth:

dpatsora commented 4 years ago

Hello! It looks like none of the containers run. Did you run rake service:all?

Sincerely yours, Openware Team

UbuntuEvangelist commented 4 years ago

@dpatsora yes I did run rake service:all Screenshot from 2020-06-02 03-02-39

app@vmi387949:~/opendax$ rake service:all Rendering ./config/peatio.env Rendering ./config/applogic.env Rendering ./config/mailer.yml Rendering ./config/finex/config.yaml Rendering ./config/finex/rsa-key.pub Rendering ./config/litecoin.conf Rendering ./config/frontend/tower.js Rendering ./config/frontend/env.js Rendering ./config/mysql/innodb.cnf Rendering ./config/bitcoin.conf Rendering ./config/toolbox.yaml Rendering ./config/peatio/management_api_v1.yml Rendering ./config/peatio/seed/trading_fees.yml Rendering ./config/peatio/seed/markets.yml Rendering ./config/peatio/seed/blockchains.yml Rendering ./config/peatio/seed/wallets.yml Rendering ./config/peatio/seed/accounts.yml Rendering ./config/peatio/seed/currencies.yml Rendering ./config/barong/management_api.yml Rendering ./config/barong/seeds.yml Rendering ./config/barong.env Rendering ./config/arke.env Rendering ./config/applogic/schedule.yml Rendering ./config/applogic/management_api_v2.yml Rendering ./config/gateway/envoy.yaml Rendering ./config/ranger.env Rendering ./config/arke/strategies.yml Rendering ./terraform/terraform.tfvars Rendering ./.env Rendering ./compose/monitoring.yaml Rendering ./compose/cryptonodes.yaml Rendering ./compose/app.yaml Rendering ./compose/superset.yaml Rendering ./compose/frontend.yaml Rendering ./compose/gateway.yaml Rendering ./compose/daemons.yaml Rendering ./compose/backend.yaml Rendering ./compose/arke.yaml Rendering ./compose/vendor.yaml Rendering ./compose/proxy.yaml ----- Starting the proxy ----- docker-compose up -d proxy Creating network "opendax_default" with the default driver Creating opendax_proxy_1 ... done ----- Starting dependencies ----- docker-compose up -d vault db redis rabbitmq Creating opendax_db_1 ... done Creating opendax_redis_1 ... done Creating opendax_rabbitmq_1 ... done Creating opendax_vault_1 ... done ----- Starting influxdb ----- docker-compose up -d influxdb Creating opendax_influxdb_1 ... done docker-compose exec influxdb bash -c "cat peatio.sql | influx" Failed to connect to http://localhost:8086: Get http://localhost:8086/ping: dial tcp 127.0.0.1:8086: connect: connection refused Please check your connection settings and ensure 'influxd' is running. rake aborted! Command failed with status (1): [docker-compose exec influxdb bash -c "cat ...] lib/tasks/service.rake:62:in start' lib/tasks/service.rake:7:incall' lib/tasks/service.rake:7:in block (2 levels) in <top (required)>' lib/tasks/service.rake:70:inblock (2 levels) in <top (required)>' lib/tasks/service.rake:279:in start' lib/tasks/service.rake:7:incall' lib/tasks/service.rake:7:in block (2 levels) in <top (required)>' lib/tasks/service.rake:302:inblock (2 levels) in <top (required)>' /home/app/opendax/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/exe/rake:27:in <top (required)>' /home/app/.rvm/gems/ruby-2.6.5/bin/ruby_executable_hooks:24:ineval' /home/app/.rvm/gems/ruby-2.6.5/bin/ruby_executable_hooks:24:in `

' Tasks: TOP => service:influxdb (See full trace by running task with --trace)

ghost commented 4 years ago

Something misconfigured in attached screenshots?

On Sun, May 31, 2020, 10:20 PM dpatsora notifications@github.com wrote:

Hello! Would you be kind enough to provide us more description about the issue? On which request you've got this error?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/openware/opendax/issues/154#issuecomment-636523616, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANY7RXBZPA2BPT5GEM6OKH3RUK3ZHANCNFSM4NNGDCKA .

freakcoderz commented 4 years ago

Shows rake aborted due to not being able to connect to port 8086.

ghost commented 4 years ago

I had this error by first time launching rake service:all, on next attempt it successfully finished but my app is blank page.

freakcoderz commented 4 years ago

I have the same blank page issue on the site. The browser console states it is missing data so must be something missing in the app.yml I didn't change. Only updated the site thinking I would at least see a landing page.

UbuntuEvangelist commented 4 years ago

404 page not found though i have update /etc/hosts (set: 0.0.0.0 www.app.local)

Galaxy-Traveler commented 4 years ago

404 page not found though i have update /etc/hosts (set: 0.0.0.0 www.app.local)

update /etc/hosts 0.0.0.0 www.ardax.com.ar

UbuntuEvangelist commented 4 years ago

0.0.0.0 www.ardax.com.ar

Screenshot from 2020-06-05 15-05-20 yes i did it but now its only shows a blank page

Galaxy-Traveler commented 4 years ago

git clone https://github.com/openware/baseapp.git cd baseapp nano config-overrides.js delete lines 31-33 docker build -t frontend/baseapp:2.4.0 . cd opendax nano config/app.yml frontend: quay.io/openware/baseapp:latest to frontend: frontend/baseapp:2.4.0 rake service:all

Galaxy-Traveler commented 4 years ago

I have the same blank page issue on the site. The browser console states it is missing data so must be something missing in the app.yml I didn't change. Only updated the site thinking I would at least see a landing page. git clone https://github.com/openware/baseapp.git cd baseapp nano config-overrides.js delete lines 31-33 docker build -t frontend/baseapp:2.4.0 . cd opendax nano config/app.yml frontend: quay.io/openware/baseapp:latest to frontend: frontend/baseapp:2.4.0 rake service:all

UbuntuEvangelist commented 4 years ago

git clone https://github.com/openware/baseapp.git cd baseapp nano config-overrides.js delete lines 31-33 docker build -t frontend/baseapp:2.4.0 . cd opendax nano config/app.yml frontend: quay.io/openware/baseapp:latest to frontend: frontend/baseapp:2.4.0 rake service:all

Its not works

peatio: quay.io/openware/peatio:2.4.7 barong: quay.io/openware/barong:2.4.1 frontend: frontend/baseapp:2.3.0 tower: quay.io/openware/tower:2.4.1

baseapp:2.3.0 works for me into Ubuntu 18.04 LTS 64 bit Linux

ghost commented 4 years ago

Did somebody solved issue? Removing lines in config-overrides doesn't work. It didn't find baseapp:2.3.0 did you git cloned? I have only quay.io/openware/baseapp:2.3.25.

UbuntuEvangelist commented 4 years ago

@lackorol yes i have solve this issue. use this

peatio: quay.io/openware/peatio:2.4.7 barong: quay.io/openware/barong:2.4.1 frontend: frontend/baseapp:2.3.0 tower: quay.io/openware/tower:2.4.1

dpatsora commented 4 years ago

Hi!

We are closing this issue due to it's been resolved

Sincerely yours, OW team