me-box / databox

Databox container manager and dashboard server
MIT License
94 stars 25 forks source link

Modify source code does not work #186

Closed tsh-box closed 7 years ago

tsh-box commented 7 years ago

Hello, I want to develop the app-os-monitor ,and So I built the Databox with dev mode. And I installed the driver-os-monitor and app-os these code are cloned in local. And then I stop the Databox and modified the app-os-monitor (src/app.go) by adding the output code fmt.Println("Hello LLA ") in go func().

And then I rebuilt with dev mode and installed driver-os-monitor and app-os. When I confirmed the log of app-os-monitor ,the output cannot found. Please could you tell me what are needs ?

Toshbrown commented 7 years ago
  1. Don't stop databox (you only need to restart databox if you want to change a core component)
  2. After making your changes re-run ./databox-install-component app-os-monitor (to rebuild the image and update the manifest)
  3. Using the databox UI uninstall and reinstall the app-os-monitor
tsh-box commented 7 years ago

OK,I`ll be try.

tsh-box commented 7 years ago

Enexceptedly,The following error occured when run ./datbox-start dev . I have tried many time by environment installation and restart, but error does not change. Pls explain me,I really don't understand this error.

con22

tsh-box commented 7 years ago

And I have run with previous version Databox ,the modified source code are not work :-(

tsh-box commented 7 years ago

Why does this error occured? Please Could you teach me the solving method? con23

Toshbrown commented 7 years ago

We are seeing this error in out Travis ci builds It looks like the nodeJS docker images have changed. I will take a look.

tsh-box commented 7 years ago

Thank you, Please, Could you tell me the Databox source code that can fix the app or driver? I have to modify in this week.

Toshbrown commented 7 years ago

This has been fixed, it was an issue with a renamed pacage in alpine linux stopping store-json from building.

tsh-box commented 7 years ago

Thanks,store-json is ok but still error in driver sensingkit

con23

Toshbrown commented 7 years ago

seeding manifest? is databox running?

Whats the output of docker ps

tsh-box commented 7 years ago

con23

Toshbrown commented 7 years ago

app-server is not running what do u get when you run

docker-compose -f ./docker-databox-appstore.yaml up -d

tsh-box commented 6 years ago

I also run docker-compose -f ./docker-databox-appstore.yaml up -d How can I solve ?

to3

Toshbrown commented 6 years ago

The Fail message is telling you that the manifest could not be uploaded. Docker ps showed that the app store was not running. docker-compose -f ./docker-databox-appstore.yaml up -d started the app store!

So just re-run ./databox-install-compent driver-sensingkit

This time it should work.