Whaleshares Logo

I got THAT email I didn't want to receive

ijmmaiwitnessPosted to Public4 months ago2 min read

This Saturday didn't start as relaxed as my Saturdays usually do. I got THAT email, I didn't want to receive. The message that my witness server was missing blocks. Ugh!

I seem to woke up to the second message, already missing the first one. First things first, coffee.

To do list

  • log in to the server
  • go to the wallet
  • set the null key

This way you are telling the system, don't mind me for a while. Your witness name will show up as disabled witness on the witness votes page. It gives you some time to find out what is wrong, without missing any more blocks.

Being as stubborn as I am, that is not what I did. It seemed quicker to just restart the whole thing. That didn't work so well. Bummer!
Okay, start up a backup server. Not ideal, but I use my test server for that. This server was not totally prepared for the job. By the time it started working I had missed like 80 blocks already.

Back to the witness server. Why didn't it work?

Looking at the directory listing, something was weird. There seemed to be old versions of files present.
How...?
And then it hit me, I was in the wrong folder. When HF2 took place I decided to install files in a different folder just in case I needed to rollback. Completely forgot about that.

After removing the folder with old files, and renaming the new folder, to prevent confusion in the future, things were almost okay. Seems there was a key mix up. Finally after taking care of that, and little over 100 missed blocks, things are back to normal. Phew!

Note to myself: Null Key, NULL key, NULL KEY!
also, adjust the script


Image Source



Use your witness votes wisely

Jump over to the Block Producer / Witness page and cast your witness votes. Simply click on the (^) up arrow next to the witness names of your choice (consider voting for "krazywitness" and "ijmmaiwitness") and supply your private active key to lock in your vote. Refresh the page in case your vote doesn't seem to stick.

Comments

Sort byOldest