Masternode problems? HOWTO uninstall and make a clean installation (the classic "red panic button" when you do not have other solutions)


  • 3DCoinTalk Italia

    📚 📝 📌 Masternode problems? HOWTO uninstall and make a new fresh / clean installation (the classic "red panic button" when you do not have other solutions...) 🚨 🆘 🚨 🚧 🚧 🚧 👷 👷 👷

    Masternode installation interrupted or failed? In short ... panic? 😰 😱 Or you cannot solve a problem with your masternode that does not work and does not want to start? ▶🏁 🚜 🛠🤔 👿

    So you want to UNINSTALL 🔨 and try again? 😅👩‍💻 👨‍💻

    ⚠ Obviously, both the options shown here include the restart of the masternode from the wallet so you lose the turn of the rewards and you have to get back in the queue (currently more than 96 hours are required for the first reward and this time will increase with the increase in the number of masternodes enabled). ⚠

    • Option number 1 (reset / reinitialize 🔄 from provider control panel and reinstall masternode)
      If your VPS / server provider 🎩👑 💳 💸💸💸😂 allows it you can simply reinitialize ⏹ 🔄 ▶ the server, that is reset your VPS / server to the original conditions as the provider has delivered it to you. ⚠ Be careful ⚠ because they are options to look 🔎 for in the various control panels 🖥 of the providers and you may lose the cost already paid for the VPS 💸 💸 💸 . In case of doubt, contact your provider's assistance before doing anything from the provider panel if you do not know how to reset / reinitialize the VPS / server. In this case of course it also means that if you have anything else on the VPS you will lose everything, including your data. However, this guide assumes that on the VPS you only have a 3DCoin masternode 😎 that does not work ☹ and you want to reset and redo it from the beginning.
      After reset of VPS reinstall the masternode from root again following the normal installation procedure as if it were a new masternode, of course you can always use the same private key (the one you had generated with the "masternode genkey" command in the pc wallet) and if you really do not know how "retrieve it" 😌 you find it in the file masternode.conf in your computer (the one you had "compiled" 📝 to start the old masternode from the pc wallet).
      You will not even need to do the collateral transaction again, you can leave the masternode.conf as it is (ie leave the same txid if you have not moved the coins locked in the collateral). Once you have completed the new "clean / fresh" installation of the masternode and you have waited for the masternode to be in sync on the VPS (use the check commands below to make your checks) you can give the new START from the control wallet as usual... ▶ 🚀 🚀 🚀

    • Option number 2 (manual delete masternode installation directly from within the 🐧 Linux Ubuntu 🐧 system and reinstall masternode)
      The alternative to the above reset from the provider panel is simply to manually uninstall the 3DCoin masternode and directly from within the 🐧 Linux Ubuntu 🐧 system so you can retry the installation without having to re-initialize or reset the server, to do so follow this guide step by step:
      As usual, log in with Putty or Bitvise or with the SSH client you use.
      Start with this string that contains a sequence of commands (single line):
      👉 3dcoin-cli stop && sleep 20 && pkill -9 -f 3dcoind
      always press enter after you write or copy and paste the string of commands... 😉
      Then delete the folders 3dcoin and .3dcoin but you have to find the path where they are and take you to the path, for example if you had done a standard installation on root you must first type:
      👉 cd /root
      So once you are in /root folder delete the two 3dcoin related folders with command:
      👉 rm -r 3dcoin && rm -r .3dcoin
      If instead of root you have installed the masternode on a different user (not recommended!) you will first have to give such a command to go in the specific path (put correct username in place of username)
      cd /home/username && ls -al
      "ls -al" is a command that only serves to display files and folders so you can see if the 3dcoin related folders to be deleted are present in your "username" home directory.
      After you have stopped the processes and deleted the folders, delete the root or user "crontab" entries in which you installed, then log in with root or with that specific user.
      👉 crontab -e
      If it asks you to choose editor, use "nano" (press the corresponding number in the keyboard).
      Delete all the contents of the screen that will open (it's a text file) with the delete key (if you do not have other masternodes of other coins in the same VPS or other crontab entries inside for your own reasons). This guide obviously assumes that your VPS contains only the 3dcoin masternode. In this case the crontab can be totally canceled / emptied.
      Then save the deleted file (hence now empty) with CTRL + X and with Y (yes for confirmation, even lowercase y is fine).
      Once out of the crontab, then back to the main terminal give the following command:
      👉 service cron restart
      (always press enter after commands, do not forget!)
      Restart the VPS / server system with the command:
      👉 sudo systemctl reboot
      After reboot reinstall the masternode from root again following the normal installation procedure as if it were a new masternode, of course you can always use the same private key (the one you had generated with the "masternode genkey" command in the pc wallet) and if you really do not know how "retrieve it" 😌 you find it in the file masternode.conf in your computer (the one you had "compiled" 📝 to start the old masternode from the pc wallet).
      You will not even need to do the collateral transaction again, you can leave the masternode.conf as it is (ie leave the same txid if you have not moved the coins locked in the collateral). Once you have completed the new "clean / fresh" installation of the masternode and you have waited for the masternode to be in sync on the VPS (use the check commands below to make your checks) you can give the new START from the control wallet as usual... ▶ 🚀 🚀 🚀

    Useful masternode and wallet sync check commands (use on the VPS after installation):
    👉 3dcoin-cli mnsync status
    👉 3dcoin-cli masternode debug
    👉 3dcoin-cli masternode status
    👉 3dcoin-cli getinfo
    👉 3dcoin-cli getblockcount

    Enjoy! 😈 😎 😉

    100 Posts
    Community Leader