BitShares Forum

Main => Technical Support => Topic started by: mostar on November 15, 2015, 07:57:50 am

Title: Upgrade on Ubuntu from source
Post by: mostar on November 15, 2015, 07:57:50 am


I would like to Upgrade my CLI installation to the latest github version.
My current running version is a month old.

For the first installation done using
Code: [Select]
git cloneFollowing
https://github.com/bitshares/bitshares-2/

Now it not allow me to "git clone" again. the error is:
Quote
fatal: destination path 'graphene' already exists and is not an empty directory.
Is the a supported / recommended way to sync and recompile or I need to start from scratch?

Thanks
Title: Re: Upgrade on Ubuntu from source
Post by: pc on November 15, 2015, 08:42:14 am
Go into the bitshares-2 directory, then

git fetch origin v2.15.306
git checkout v2.15.306

and then do the ususal cmake ... make ... .
Title: Re: Upgrade on Ubuntu from source
Post by: xeroc on November 15, 2015, 08:53:19 am
http://docs.bitshares.eu/bitshares/installation/Upgrades.html
Title: Re: Upgrade on Ubuntu from source
Post by: mostar on November 21, 2015, 04:51:31 pm
Go into the bitshares-2 directory, then

git fetch origin v2.15.306
git checkout v2.15.306

and then do the ususal cmake ... make ... .

How do I know what version to use as parameter each time I want to upgrade?
In the above example you mention "v2.15.306"

I'm a git newbie. Trying to look around to figure the version available in the git repository by:
Browsing to:
https://github.com/cryptonomex/graphene.git

or typing the commands:
Code: [Select]
git log
git tag -l

I Didn't found any relation to version numbering.

Thanks
Title: Re: Upgrade on Ubuntu from source
Post by: pc on November 22, 2015, 08:40:40 am
DON'T use the cryptonomex/graphene repository for the live BitShares network! This is the development repository, which differs from BitShares in some aspects.

The correct repository for the live network is https://github.com/bitshares/bitshares-2 . If you click on that link, there will be a "releases" link above the list of files. Currently it says "16 releases". Click on that link, it will take you to a list of released versions.

(Currently, ) at the top of the release list there's a GUI release which you can ignore. Scroll down to the latest BitShares release. There was some confusion about the version number - it's called v2.0.151111 but it was actually released on 2015-11-01. To the left of the release version you can see the repository tag of the version, i. e. v2.0.151101. There is also the tag 2.15.306 which points to the exact same repository revision. This is the version you should use for your build.
Title: Re: Upgrade on Ubuntu from source
Post by: mostar on November 22, 2015, 10:20:40 am
DON'T use the cryptonomex/graphene repository for the live BitShares network! This is the development repository, which differs from BitShares in some aspects.

The correct repository for the live network is https://github.com/bitshares/bitshares-2 . If you click on that link, there will be a "releases" link above the list of files. Currently it says "16 releases". Click on that link, it will take you to a list of released versions.

(Currently, ) at the top of the release list there's a GUI release which you can ignore. Scroll down to the latest BitShares release. There was some confusion about the version number - it's called v2.0.151111 but it was actually released on 2015-11-01. To the left of the release version you can see the repository tag of the version, i. e. v2.0.151101. There is also the tag 2.15.306 which points to the exact same repository revision. This is the version you should use for your build.

My installation done from
https://github.com/cryptonomex/graphene.git  at 14/10/15

https://github.com/bitshares/bitshares-2/  was not mention at that time.

What should I do now?
How I point to the new repository?
Should I start from scratch?
What abut my wallet?

Title: Re: Upgrade on Ubuntu from source
Post by: xeroc on November 22, 2015, 11:30:52 am
http://docs.bitshares.eu/bitshares/installation/index.html
Title: Re: Upgrade on Ubuntu from source
Post by: mostar on November 22, 2015, 11:46:52 am
http://docs.bitshares.eu/bitshares/installation/index.html

Should I start from scratch?
Title: Re: Upgrade on Ubuntu from source
Post by: xeroc on November 22, 2015, 12:17:38 pm
Yes .. better start from scratch ..