Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Upgrading to v.0.4.23.1 on linux [SOLVED]  (Read 676 times)

0 Members and 1 Guest are viewing this topic.

Offline mira

  • Full Member
  • ***
  • Posts: 135
    • View Profile
Upgrading to v.0.4.23.1 on linux [SOLVED]
« on: November 06, 2014, 09:18:19 AM »

I've not figured out how to use the "git checkout v0.4.23.1" as listed on dacsunlimited site.  I keep ending up with v.22 again, which won't completely sync. Basic instructions would be most appreciated!
« Last Edit: November 07, 2014, 03:08:40 AM by mira »

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12065
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Upgrading to v.0.4.23.1 on linux? please help
« Reply #1 on: November 06, 2014, 09:19:50 AM »
what message do you get after the "git checkout" command?
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline mira

  • Full Member
  • ***
  • Posts: 135
    • View Profile
Re: Upgrading to v.0.4.23.1 on linux? please help
« Reply #2 on: November 06, 2014, 09:25:41 AM »
I'm not in the midst of it at the moment, but will begin the process again. 

At first I tried the git checkout command before any other command, and it said something about there not being any git repository..... then I figured out i needed to be in the bitsharesx folder (after cloning the bitsharesx page) for it to seem to do anything, which was mostly talking about the "head"

i'm sorry, I'm technically remedial (but persistent!)   

I'll begin again now so I can give a more precise answer if this doesn't help.

Perhaps before I begin though, can you tell me at what point should I insert the command "git checkout v0.4.23.1?"

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12065
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Upgrading to v.0.4.23.1 on linux? please help
« Reply #3 on: November 06, 2014, 09:32:54 AM »
I'm not in the midst of it at the moment, but will begin the process again. 

At first I tried the git checkout command before any other command, and it said something about there not being any git repository..... then I figured out i needed to be in the bitsharesx folder (after cloning the bitsharesx page) for it to seem to do anything, which was mostly talking about the "head"

i'm sorry, I'm technically remedial (but persistent!)   

I'll begin again now so I can give a more precise answer if this doesn't help.

Perhaps before I begin though, can you tell me at what point should I insert the command "git checkout v0.4.23.1?"

you originally downloaded the whole repository from the servers when doing the "git clone ..." command ... that created the btisharesx folder and all the files in it ..

it "git pull" you can update your downloaded repository to the most recent updates on github .. that is usually called "HEAD" (most recent).

now there are so called "tags" or "releases" that have a version number .. in your case "v0.4.23.1" .. you can see all tags with "git tag -l" ..
if you want to install a certain version .. you need to "checkout" the files from your repository ... this step will result in files from that particular version .. although the repository (read: "HEAD") might have some "unreleased" changes ..

so what you do in a total would look like this
Code: [Select]
git clone https://github.com/dacsunlimited....  ## initially to download the repo / needs to be done only once ..

cd bitsharesx ## change the dir and go into the repo

git pull ## update repository to the state @ github

git checkout v0.4.23.1 ## checkout a partiuclar version

cmake .
make
....

Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline mira

  • Full Member
  • ***
  • Posts: 135
    • View Profile
Re: Upgrading to v.0.4.23.1 on linux? please help
« Reply #4 on: November 06, 2014, 09:36:58 AM »
okay.  so I started by deleting bitsharex folder.  Then tried the instructions for linux users on the dacsumlimited site that read:  "For Linux users, remember to checkout the tag v0.4.23.1 first"

When I enter git checkout v0.4.23.1, the message is:

"fatal: Not a git repository (or any parent up to mount point /home/****)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set)."



----Messages posted at the same time.  Thank you so much! 
« Last Edit: November 06, 2014, 09:38:49 AM by mira »

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12065
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Upgrading to v.0.4.23.1 on linux? please help
« Reply #5 on: November 06, 2014, 09:39:51 AM »
okay.  so I started by deleting bitsharex folder.  Then tried the instructions for linux users on the dacsumlimited site that read:  "For Linux users, remember to checkout the tag v0.4.23.1 first"

When I enter git checkout v0.4.23.1, the message is:

"fatal: Not a git repository (or any parent up to mount point /home/****)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set)."

that error message tells you that there is no git repo downloaded that can be checked out from .. you need to INITIALLY download the repo as a whole

Code: [Select]
git clone https://github.com/dacsunlimited/bitsharesx.git
This includes all changes ever made.. and all Tags ever set to the source code

AFTER the cloning .. you can checkout a particular TAG (read:version)
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline mira

  • Full Member
  • ***
  • Posts: 135
    • View Profile
Re: Upgrading to v.0.4.23.1 on linux? please help
« Reply #6 on: November 06, 2014, 09:49:30 AM »
I did this: 

git clone https://github.com/dacsunlimited/bitsharesx cd bitsharesx
git pull
git checkout v0.4.23.1
cmake .

it outputs:

 cmake .
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at CMakeLists.txt:29 (include):
  include could not find load file:

    GetGitRevisionDescription


CMake Error at CMakeLists.txt:30 (get_git_head_revision):
  Unknown CMake command "get_git_head_revision".


-- Configuring incomplete, errors occurred!
See also "/home/****/bitsharesx/CMakeFiles/CMakeOutput.log".

make

and it outputs:

make: *** No targets specified and no makefile found.  Stop.


Don't I need to init and update before the cmake/make?
« Last Edit: November 06, 2014, 10:04:35 AM by mira »

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12065
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Upgrading to v.0.4.23.1 on linux? please help
« Reply #7 on: November 06, 2014, 09:55:01 AM »
shit, my fault

before running "cmake" you need to run

Code: [Select]
git submodule init ## once
git submodule update ## everytime you build a new version!

the reason for this is that the repository contains (for organizational reasons) .. sub repositories .. and you need to tell git to also download those ..
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline mira

  • Full Member
  • ***
  • Posts: 135
    • View Profile
Re: Upgrading to v.0.4.23.1 on linux? please help
« Reply #8 on: November 06, 2014, 10:00:58 AM »
no worries!

I already tried that and am in the midst of "make"

seems to be going smoothly...

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12065
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Upgrading to v.0.4.23.1 on linux? please help
« Reply #9 on: November 06, 2014, 10:09:59 AM »
no worries!

I already tried that and am in the midst of "make"

seems to be going smoothly...

Let me make you aware of a bug in the current version:
https://bitsharestalk.org/index.php?topic=10983.0

If I had to guess I'd say the next client upgrade will happen this week ..
compiling the current source still makes sense ass an upgrade of the source and recompile will finish alot faster as only the changed files are recompiled
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline mira

  • Full Member
  • ***
  • Posts: 135
    • View Profile
Re: Upgrading to v.0.4.23.1 on linux? please help
« Reply #10 on: November 06, 2014, 10:52:24 AM »
You ROCK xeroc!  So helpful.

The bad news is after all of that my client still says v.22 and is stuck syncing at the same block.

Should I have deleted something in my .bitsharesx folder?  might it be messing up when i'm installing the gui?

The upside for me is that through this process of trial and (mostly) error I've learned much that I didn't even know I wanted to know... but I really just want to learn how to upgrade this software properly, and it's eluding me.  NOTHING could compel me to reinstall windows OS again, so I have to learn how to do this!

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12065
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Upgrading to v.0.4.23.1 on linux? please help
« Reply #11 on: November 06, 2014, 11:53:37 AM »
The bad news is after all of that my client still says v.22 and is stuck syncing at the same block.
Can you go to the console and type "get_info" .. is it saying v0.22 there too?

which binary are you running? are you running the compile file in bitsharesx/programs/client/
or are you running some older system-install app?

the GUI requires some more extra steps

Quote
Should I have deleted something in my .bitsharesx folder?  might it be messing up when i'm installing the gui?
no need to delete anything from .bitsharex

BUT if you are using the GUI you need to do some more work to not only compile the client's core but also the user interface.
you may want to read trough this paragraph:
http://wiki.bitshares.org/index.php/Developer/Build#Configuration_and_Compilation_.28GUI.29

Quote
The upside for me is that through this process of trial and (mostly) error I've learned much that I didn't even know I wanted to know... but I really just want to learn how to upgrade this software properly, and it's eluding me.  NOTHING could compel me to reinstall windows OS again, so I have to learn how to do this!
We currently don't have a 'simple' instruction to upgrade an existing source tree to the most recent version ..
but it's not too complicated:
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline mira

  • Full Member
  • ***
  • Posts: 135
    • View Profile
Re: Upgrading to v.0.4.23.1 on linux? please help
« Reply #12 on: November 07, 2014, 03:07:32 AM »
So I did have 23.1 installed!

I had followed those instructions for installing the GUI, and was running the .exe in qt_wallet folder, which is still the semi-functional v.22.

v23.1 is in the qt-wallet/bin folder... right where it had been when I originally installed v.22   :o

We currently don't have a 'simple' instruction to upgrade an existing source tree to the most recent version ..
but it's not too complicated:

Those instructions were actually so simple, and like a chinese puzzle, not too complicated only after learning the solution.

One last question:  Can you tell me what the grep ### process is that runs on and off when bitsharex is running?  It's bothering me not knowing what that is.

Thank you again for your help.



Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12065
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Upgrading to v.0.4.23.1 on linux [SOLVED]
« Reply #13 on: November 07, 2014, 05:15:05 AM »
grep is nothing more than search for a substring in a file/text ... where are you seening them?
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline mira

  • Full Member
  • ***
  • Posts: 135
    • View Profile
Re: Upgrading to v.0.4.23.1 on linux [SOLVED]
« Reply #14 on: November 07, 2014, 05:18:27 AM »
in the task manager

 

Google+