glifio / filecoin-docker

A Docker image for Lotus Filecoin nodes
Apache License 2.0
59 stars 29 forks source link

Docker-compose buils creashed #57

Closed golnarmordadi closed 3 years ago

golnarmordadi commented 3 years ago

I used docker-compose build but it crashed and not build. Please take a look. I need more.

golnarmordadi commented 3 years ago

Could you please answer me?

sergey989 commented 3 years ago

Hi @hakimehmordadi What is the command do you use? Could you add some logs with errors?

golnarmordadi commented 3 years ago

Hello @symanovich-a , thank you for your answer. We need to run lotus on docker as soon as possible, I would like to use this code.

According to documentation of this code first of all 1- I cloned the source code on my computer 2- I did all of these below

## Create folder
mkdir -p $HOME/lotus && sudo chown -R 2000:2000 $HOME/lotus
## Build the Docker image
docker-compose build
## Run the Docker container
docker-compose up -d

I got error when using and the error message is : lotus service can not create . There is no longer message. I suggest to do this process by yourself to see the steps and what happen.

Many thanks.

sergey989 commented 3 years ago

What is the OS, docker version, docker-compose version? Do you run commands inside filecoin-docker folder?

golnarmordadi commented 3 years ago
//Kernel 18.09.6
//Ubuntu 18.04.2 LTS
//Docker 4.15.0
golnarmordadi commented 3 years ago

1

golnarmordadi commented 3 years ago

2

sergey989 commented 3 years ago

I'm not familiar with your virtualization service, but according to logs you can't allocate port inside your virtual machine.

golnarmordadi commented 3 years ago

Did you run the lotus node with docker before ? I mean do you ensure the code and configuration works well. If yes please let me know which branch. My company wants to up node very soon we have a plan but because of docker we couldn't. Thanks

sergey989 commented 3 years ago

https://api.node.glif.io runs on container from this repository. You may try to start this configuration on ubuntu directly, i mean connect on virtual machine(ssh, ui), install docker, docker-compose and try nerpanet, because mainnet has ~30gb snapshot and it will longer download.

golnarmordadi commented 3 years ago

We are exchange company, and we need all functionality of the exchange needs them. As I heard, nerpanet and glif do not have all exchange functionalities. does it?

sergey989 commented 3 years ago

Yes, api doesn't have full functionality, but in this case it doesn't matter. I just try to help with simple filecoin start in docker and next step will be start mainnet node. I think, the issue is in virtualization system and i asked to start lotus just inside virtual machine.

golnarmordadi commented 3 years ago

Could you please give more elaboration when you say virtualization system please. How can I realize the problem happens from the server. How can I find it in this case? It is important to realize why problems happen. Actually I could run and create the container on my local machine with docker commands.

Also I will send you some logs, maybe they will help.

On Wed, Aug 11, 2021 at 8:12 AM sergey_s @.***> wrote:

Yes, api doesn't have full functionality, but in this case it doesn't matter. I just try to help with simple filecoin start in docker and next step will be start mainnet node. I think, the issue is in virtualization system and i asked to start lotus just inside virtual machine.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/glifio/filecoin-docker/issues/57#issuecomment-896911652, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHTYPJW744QL7KMDYUQGCLTT4KHMRANCNFSM5BV7V4EQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

golnarmordadi commented 3 years ago

3

golnarmordadi commented 3 years ago

configs

golnarmordadi commented 3 years ago

4

sergey989 commented 3 years ago

Actually I could run and create the container on my local machine with docker commands.

That's why i asked about your virtualization system\service(VS). Try to ask support about this case

Could you please give more elaboration when you say virtualization system

What is the VS to start docker? I mean VS -> virtual server -> docker In logs i don't see errors, only warn and info. As i see, you use 2 version docker-compose, we use 3. You built somewhere image *.filecoin:457db288 and try to use it. Do they(VS and image build server) have the same CPU family ? Sometimes this may be an issue and to resolve this, we build image at the same server type

ArseniiPetrovich commented 3 years ago

@hakimehmordadi Can we schedule a call with you, so we can go through the deployment process together and see where the error is? Because it works just perfect on our end. It also might be worth considering Glif endpoints for your exchange. We are not providing the public endpoints only, but private as well with functionality being not limited.

golnarmordadi commented 3 years ago

Hello Arsenii,

Yes, It would be great. Really we need to help from your side. We put in a lot of effort and time but It is not possible to solve it. Yes we need to be private. We are exchanging. My company has a plan for launching filecoin and we can not run code after up to one week of effort. There are so many Blockchain but we just have a problem with Filecoin. Please set a call for today, any time. I'm waiting for your call.

Cheers, Hakime

On Thu, Aug 12, 2021 at 3:17 AM Arsenii Petrovich @.***> wrote:

@hakimehmordadi https://github.com/hakimehmordadi Can we schedule a call with you, so we can go through the deployment process together and see where the error is? Because it works just perfect on our end. It also might be worth considering Glif endpoints for your exchange. We are not providing the public endpoints only, but private as well with functionality being not limited.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/glifio/filecoin-docker/issues/57#issuecomment-897518845, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHTYPJR2RNCHEMVWTNW72FDT4ONUXANCNFSM5BV7V4EQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

ArseniiPetrovich commented 3 years ago

https://meet.google.com/egq-wfib-azd

9AM UTC tomorrow, would that work with you?

golnarmordadi commented 3 years ago

It would be 12 PM in moscow time. I'll see you. Thanks alot.

Cheers, Hakimeh

On Thu, Aug 12, 2021 at 9:32 AM Arsenii Petrovich @.***> wrote:

https://meet.google.com/egq-wfib-azd

9AM UTC tomorrow, would that work with you?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/glifio/filecoin-docker/issues/57#issuecomment-897788218, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHTYPJQBVLQMHLGZFIY4NN3T4PZSNANCNFSM5BV7V4EQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

golnarmordadi commented 3 years ago

And please let me know which platform do you will use for making a call? Slack, Discord, ... ?

On Thu, Aug 12, 2021 at 9:56 AM golnar mordadi @.***> wrote:

It would be 12 PM in moscow time. I'll see you. Thanks alot.

Cheers, Hakimeh

On Thu, Aug 12, 2021 at 9:32 AM Arsenii Petrovich < @.***> wrote:

https://meet.google.com/egq-wfib-azd

9AM UTC tomorrow, would that work with you?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/glifio/filecoin-docker/issues/57#issuecomment-897788218, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHTYPJQBVLQMHLGZFIY4NN3T4PZSNANCNFSM5BV7V4EQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

ArseniiPetrovich commented 3 years ago

12 PM Moscow time, correct. We are using google meet, I've attached the link above.

golnarmordadi commented 3 years ago

Hello,

I just want to remind you about the google meet link :)

Thanks

On Thu, Aug 12, 2021 at 3:49 PM Arsenii Petrovich @.***> wrote:

12 PM Moscow time, correct. We are using google meet, I've attached the link above.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/glifio/filecoin-docker/issues/57#issuecomment-898020718, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHTYPJS6CUR6B46HZWVURELT4RFWLANCNFSM5BV7V4EQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

ArseniiPetrovich commented 3 years ago

Discussed via the call. Please reopen if needed.

golnarmordadi commented 3 years ago

Arsenii Petrovich

sergey_s, I really appreciate both of you guys. Many thanks.

Cheers, Golnar

On Fri, Aug 13, 2021 at 2:42 AM Arsenii Petrovich @.***> wrote:

Discussed via the call. Please reopen if needed.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/glifio/filecoin-docker/issues/57#issuecomment-898332387, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHTYPJSKZSZEJ722CGVP6MTT4TSILANCNFSM5BV7V4EQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .