Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  
  ·  7 years ago (edited)

Thanks for the tips.
I've found that the crontab above does not always work because there are cases where the container just vanishes so a docker restart would do nothing.

So I changed the cron like this:
0 */2 * * * docker ps | grep feed && docker restart feed
*/5 * * * * docker ps | grep feed || (cd /opt/steemfeed-js && docker run -itd --rm --name feed steemfeed-js)

  ·  7 years ago (edited)

True. The docker container may crash sometimes. However, I monitor my servers and processes daily, so if anything goes wrong I fix it :)

I do the same, but it stresses me out when I wake up in the morning and see a Gina bot message saying my feed did not update for two hours some time during the night...

It's fine, you only need to publish a price feed once per 24h. I do mine every 6h, less than that is overkill.

Ah right

Excellent tips. Greatly appreciated.

Thanks alot for the help in steemchat and this wonderfull fix

Where was this a week ago when I was setting up @drakos?! :p . Thanks for informing others though man. You get my vote always

It was still in my head lol. Good luck with your witness :)

This post received a 3.1% upvote from @randowhale thanks to @yunkzilla! For more information, click here!

@drakos.. very helpful posts here for people trying to setup their witness great Job!!!

  ·  8 years ago (edited)

Thanks

Really helpful informations for newbies, it's a little too complex for non tech savvy people so this is a good heap of information, thanks for sharing!

There's tons and tons of helpful information on becoming a witness on here. Be careful though some of them are not up to date or are not complete. The witnesses and DEVS are constantly updating it to make it almost fool proof. Some basic knowledge will however go a long way here @kryptokayden.

Thanks for the advice, I'm not planning on running a witness anytime soon, i just want to understand it's relevance and who i should give my votes for.

  ·  8 years ago (edited)

This is all new to me, thanks for adding to @someguy123 setup guide, great info!

very helpful my friend :)

I am planning to setup witness node. Was surfing over the steemit and got your post on hot section. Its really helpful...Thanks @drakos

Thanks. Saves me from manually restarting steemfeed every hours :-)

There's also conductor, by @furion, it's an alternative to steemfeed-js and doesn't crash like it.

  ·  7 years ago (edited)

it always shows ./run.sh: line 168: docker: command not found
please can anyone tell me what is the problem?

Install docker: ./run.sh install_docker

Hi @drakos, loved this post and hoping you will get what you wish to attain! I am trying to find you on steemit chat, could you tell me how. Or are you on the discord channel by @aggroed ? I have some questions and I would be so thankful if you could help with it?
Hoping to hear from you!

Yes I'm on discord and steem.chat.