grigio / eos-playground

The easiest way to start develop smart contracts in the EOS Blockchain with Docker
8 stars 4 forks source link

Terminal 1 - Blockchain logs docker-compose up is not producing blocks #1

Open jaybxyz opened 6 years ago

jaybxyz commented 6 years ago

Below are the steps I followed from the instruction.

Successfuly cloned the eos-playground and pulled all three docker images. and created the three docker volumes

$ git clone https://github.com/grigio/eos-playground.git

$ docker pull eosio/eos && \
docker pull eosio/builder && \
docker pull mongo

$ docker volume create mongo-data-volume && \
docker volume create nodeos-data-volume && \
docker volume create keosd-data-volume

screen shot 2018-06-29 at 6 28 03 pm

Then to the next step, I successfully pulled the directory of contracts from the original repo and I copied the bashrc.example named as bashrc just like the instruction guides me to do

$ svn export https://github.com/eosio/eos.git/trunk/contracts playground/contracts

$ cp bashrc.example bashrc

Now, I don't get the same result as you did on your Youtube Video from this step.

terminal 1 - Blockchain logs
docker-compose up

terminal 2 - Interactive EOS environment, eosiocpp, cleos, ..
docker-compose exec -u $( id -u $USER ) builder bash --rcfile /bashrc

*I opened another terminal and started the docker-compose.yml and it DOESN'T start producing blocks. Instead, it stopped.

$ docker-compose up

Here is the image and the result.

screen shot 2018-06-29 at 6 37 57 pm

screen shot 2018-06-29 at 6 38 15 pm

$ docker-compose up
...
.....
.......
..........
..............
eos-playground_nodeosd_1 exited with code 254
mongo_1    | 2018-06-29T09:37:50.808+0000 I FTDC     [initandlisten] Initializing full-time diagnostic data capture with directory '/data/db/diagnostic.data'
mongo_1    | 2018-06-29T09:37:50.809+0000 I NETWORK  [initandlisten] waiting for connections on port 27017
mongo_1    | 2018-06-29T09:37:50.809+0000 I STORAGE  [LogicalSessionCacheRefresh] createCollection: config.system.sessions with generated UUID: ac21824e-3789-4a7d-ba75-734860f115f1
mongo_1    | 2018-06-29T09:37:50.826+0000 I INDEX    [LogicalSessionCacheRefresh] build index on: config.system.sessions properties: { v: 2, key: { lastUse: 1 }, name: "lsidTTLIndex", ns: "config.system.sessions", expireAfterSeconds: 1800 }
mongo_1    | 2018-06-29T09:37:50.826+0000 I INDEX    [LogicalSessionCacheRefresh]         building index using bulk method; build may temporarily use up to 500 megabytes of RAM
mongo_1    | 2018-06-29T09:37:50.826+0000 I INDEX    [LogicalSessionCacheRefresh] build index done.  scanned 0 total records. 0 secs
$ docker ps
$ docker-compose exec -u $( id -u $USER ) builder bash --rcfile /bashrc

screen shot 2018-06-29 at 7 38 02 pm

Do you have any suggestion?

grigio commented 6 years ago

Hi, yes EOS has already changed since Dawn 4.1 Currently I don't have time to update the repo, but many tools should be available via the official dev image. try:

docker run --rm -ti eosio/eos-dev bash
jaybxyz commented 6 years ago

Thanks for a quick reply.

I understand what the docker command you want me to try, but that won't solve the part of producing blocks.

As you take a look at the images i attached on Terminal #1, it is not synchronizing.

Are you planning on to work on this repo up to date sometime?