Blog How to upgrade your urbit binary for linux (not using Port)

Jeremy Tunnell at

New way of upgrading 

This only works if your old binary is version 1.9 or later. There is a new way to upgrade your binary which is much easier. Replace *pier* with the location of your pier (It's the directory with the name of your planet or star).

Ctrl-d (to shut down your urbit)

Do the upgrade (if you get an error, see troubleshooting here and here)

*pier*/.run next

And restart. (Insert whatever port you want)

*pier*/.run -p 13494
NOTE:  Some people have had their web interface inaccessible until they reboot their box, so try that if you can't reach your urbit web interface.

Old way of upgrading (still works)

Small note, when restarting urbit you can use the -p flag to specify a port (./urbit -p 32123 *yourshipname*). I recommend doing that so you can make sure your firewall keeps that port open.

Ctrl-d (to shut down your urbit)
rm linux64.tgz (if present)
rm urbit-worker (if present)
rm urbit-king (if present)
rm urbit (ONLY THE EXECUTABLE, DO NOT MISTAKENLY DELETE YOUR WHOLE URBIT FOLDER)
wget --content-disposition https://urbit.org/install/linux64/latest 
tar zxvf ./linux64.tgz --strip=1

Start urbit the old way, or move the executable into the pier and start it the new way.

Old way:

./urbit -p 32123 *yourshipname*

New way:

./urbit dock *yourshipname*
rm urbit (ONLY THE EXECUTABLE, DO NOT MISTAKENLY DELETE YOUR WHOLE URBIT FOLDER)
*pier*/.run -p 13494

Add Comment

Comments

  • Aug 7, 2022 11:29 am EDT

    Has anyone tried the new way on a fake ~zod?

    • Aug 7, 2022 11:46 am EDT

      Yep, seems to work on fake ~zod too