Go back
main image

All Green Once Again!!! Missed Blocks πŸ€¦β€β™‚οΈ How Do I Auto Start With Pm2?

By @d00k13 on 1 Dec 2019.
28 users rewarded @d00k13 258 Smoke for this post.
Tags:
witnesswitness-updatesmokeiomissedblockspm2
Share:
Smoke.ioTweetReddit


CB434B24-67CD-427F-860E-1D64499315C9.jpeg

This would have been about the time all @d00k13 hit the fan...

pagebreak right - smokeio.jpg

I was people watching smoking a few joints πŸ˜… while missing blocks left right and centre.

Having started into playing with things on linux I ran into my first major complication as witness, my server ran out of space and started replacing blocks. This ended up with me forking the chain twice having to do an entire resync before realizing what was happening and hopefully solving the issue...

In short... old IPFS files were left on my witness drive along with logs getting huge and it seems as if the IPFS hosting path reset while I have been playing with things... cleared 50GB by deleting the IPFS files and random logs...

We are running again!

While I was fiddling I setup the ufw firewall and SSH logins & created an account for myself and @techcoderx... I have finally figured out how to open ports on my ISP’s hardware so IPFS & SSH are fully working...

Since @techcoderx setup the IPFS Node before I had any idea how to even open a terminal πŸ˜‰ with SSH setup and working again he should be able to set the pinning destination back to the dedicated 2TB drive solving this issue and most importantly make sure it doesn’t reset again.... I believe I skrewed it up while updating pm2.... which brings me to...

Auto Start Smoked?

Anyone know how to setup the β€œsmoked session” to automatically restart on server start using pm2.... I had it working before I started setting up @onelovesmoke and when I went to update pm2 I did some things wrong and pm2 reset... forgot to save... now I cannot seem to find where I discovered the original instructions 4 months ago in the first place...

smoke signature template (1).png

Has The Idea Of Being A Witness Crossed Your Mind? For me it started as a desire to learn if I could do it.

Maybe It's Time To Run That Idea Out? I for one will be certain to support in any way I can the new witnesses in their efforts to help maintain the blockchain... hit us up in discord

Join The Smoke.io Discord Here

footer signature.jpg

footer shakepay.jpg

footer koho.jpg

footer witness.jpg

witness-update #smokeio #missedblocks #pm2