Welcome to the Dash Forum!

Please sign up to discuss the most innovative cryptocurrency!

Updating dash core on Ubuntu 18.04

Discussion in 'Miscellaneous Dash Guides' started by Krill, Jul 17, 2019.

  1. Krill

    Krill New Member

    Joined:
    Nov 9, 2017
    Messages:
    7
    Likes Received:
    3
    Trophy Points:
    3
    Hi everyone,

    Sorry if this is posted elsewhere, couldn't find anything.

    Does anyone have a step by step (non gui, terminal) guide to updating dash core on Ubuntu 18.04?

    Kind regards,

    ~Krill
     
  2. splawik21

    splawik21 Grizzled Member
    Dash Core Team Foundation Member Dash Support Group Moderator

    Joined:
    Apr 8, 2014
    Messages:
    1,919
    Likes Received:
    1,278
    Trophy Points:
    1,283
  3. Krill

    Krill New Member

    Joined:
    Nov 9, 2017
    Messages:
    7
    Likes Received:
    3
    Trophy Points:
    3
    Thank you!

    Didn't get any errors but didn't update "Dash Core RPC client version v0.13.2.0"
     
  4. splawik21

    splawik21 Grizzled Member
    Dash Core Team Foundation Member Dash Support Group Moderator

    Joined:
    Apr 8, 2014
    Messages:
    1,919
    Likes Received:
    1,278
    Trophy Points:
    1,283
    All you need to do is simply stop the dashd
    copy the binaries and replace old with new and start dashd
    Of course you need to update sentinel as well by going to dashcore/sentinel and execute git pull
     
  5. qwizzie

    qwizzie Well-known Member

    Joined:
    Aug 6, 2014
    Messages:
    1,500
    Likes Received:
    715
    Trophy Points:
    183
    I suggest you also install Dash Central monitoring and restart service.
    That way you only need to stop dashd, replace binaries, update sentinel
    and after 10 minutes your masternode will be automatically restarted
    (which shows up in the "incidents" section of Dash Central).

    The Dash Central restart script seems more reliable then other restart
    scripts i tried.

    If you have Dash running from within a home directory, you should check this guide with regards
    to Dash Central monitoring and restart script (which was easier to understand for me then the guide from Dash Central itself, which put its instructions mostly outside of home directory):
    https://docs.dash.org/en/stable/masternodes/maintenance.html#masternode-software-update
     
    #5 qwizzie, Jul 18, 2019
    Last edited: Jul 18, 2019
  6. Krill

    Krill New Member

    Joined:
    Nov 9, 2017
    Messages:
    7
    Likes Received:
    3
    Trophy Points:
    3
    Figured it out. Had dashd and dash-cli in /usr/bin for some reason. Replacing those worked.

    Thank you all!
     
    • Like Like x 1
  7. Antti Kaikkonen

    Antti Kaikkonen Active Member

    Joined:
    Jun 20, 2017
    Messages:
    257
    Likes Received:
    167
    Trophy Points:
    103
    Dash Address:
    XnZdwT1w2kGeH6RujwoyJ7BBNrukdyTBRB
    Some people who updated late were stuck in the wrong chain. To make sure that you are in the correct chain you can use the "getblockchaininfo" dash-cli command and compare the bestblockhash to any block explorer.
     
  8. Krill

    Krill New Member

    Joined:
    Nov 9, 2017
    Messages:
    7
    Likes Received:
    3
    Trophy Points:
    3
    Hi,

    Thanks for that, yes, looks like I'm stuck on block 1091182, how can I fix this?

    --reindex-chainstate ?
     
    #8 Krill, Jul 19, 2019
    Last edited: Jul 19, 2019
  9. qwizzie

    qwizzie Well-known Member

    Joined:
    Aug 6, 2014
    Messages:
    1,500
    Likes Received:
    715
    Trophy Points:
    183
    My first thought is to indeed use --reindex-chainstate
    If that does not work you can try to have block 1091182 "reconsidered"

    command in debug console : reconsiderblock hashfromblock1091182
    to get the hash you can check block 1091182 in an (up to date and on the right chain) block explorer

    Source (after a quick google search) : https://www.reddit.com/r/dashpay/comments/7ksem6/dashcore_refuses_to_synchronize_past_block_723541/
     
    #9 qwizzie, Jul 19, 2019
    Last edited: Jul 19, 2019
  10. Krill

    Krill New Member

    Joined:
    Nov 9, 2017
    Messages:
    7
    Likes Received:
    3
    Trophy Points:
    3
    Thank you very much for those! --reindex-chainstate seems to have done the job.
     
    • Like Like x 2