Comments (9)
@hashingitout Hi! It means that you have 0 currencies in your database (probably rake db:seeds failed upon setup). Do the following, assuming you are running a docker container:
- do
docker ps
this will display your running docker containers. - copy id of peatio container
- run
docker exec -it 21583144f2cc /bin/bash
with your container id insted of this one - now you are inside application folder of docker container, simply launch
rake db:reset
it will recreate database properly
from workbench.
Thank you but i get
OCI runtime exec failed: exec failed: container_linux.go:296: starting container process caused "chdir to cwd ("/home/app") set in config.json failed: no such file or directory": unknown
from workbench.
@hashingitout looks like some earlier steps were missed. There's a config option which puts you inside /home/app
folder when launching bash
. Now the error tells you that there's no /home/app
directory inside a container. Please make sure that containers were setup and built properly. Try to look precisely at building process and watch for any errors on the way.
from workbench.
@hashingitout try:
docker exec -it <container-id> /bin/sh
instead of docker exec -it <container-id> /bin/bash
from workbench.
@antonror Where can i find more info on the config option which puts you inside /home/app ?
Now i get
OCI runtime exec failed: exec failed: container_linux.go:296: starting container process caused "chdir to cwd ("/home/app") set in config.json failed: no such file or directory": unknown
Should i start from scratch? With a fresh install of everything? If so how would i go about removing the containers and everything ive done so far?
from workbench.
@hashingitout please reach https://github.com/rubykube
my docker build works flawlessly on Ubuntu with docker and docker-compose, I'm not sure what causes the problem you are experiencing. However peatio's dockerfile sets the ENV APP_HOME=/home/app
constant
from workbench.
I have tried on ubuntu as well. I am getting the same error.
from workbench.
This is what I am doing:
Clone peatio and barong and workbench to ~/Development/
in workbench directory: make build
Then: make prepare.
Then: make setup-apps
Edit /etc/hosts: 0.0.0.0 peatio 0.0.0.0 barong
Start barong: docker-compose up -d barong
Start peatio server: docker-compose up -d peatio
from workbench.
Fixed With:
docker-compose run --rm peatio "rake db:reset"
docker-compose run --rm peatio "rake db:migrate"
from workbench.
Related Issues (20)
- Installation error HOT 2
- Cannot login HOT 2
- Cannot sign in. HOT 3
- ETH and ERC20 token withdraw no working
- How can I change the address of the admin wallet?
- how to use workbench in production HOT 2
- Sync geth but Ethereum does not appear on the local
- Peatio and Ethereum/client-go:stable
- My money appears in the "admin panel", but the money don't appear "funds panel"
- make build error HOT 5
- bundle install - GemNotFoundException HOT 2
- Error following the installation tutorial in google cloud HOT 3
- make build error HOT 1
- Unable to set up the project HOT 1
- Unable to make build HOT 5
- why admin user can't access admin panel
- sign out not working
- ERC20 How to add
- Mysql2::Error: Unknown MySQL server host 'db' (-2)
- replace the domain? HOT 1
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 workbench.