NCSC-NL / taranis3

Taranis
Other
59 stars 17 forks source link

problems bootstrapping 3.5.0 #20

Closed bsi-lz closed 5 years ago

bsi-lz commented 5 years ago

following your bootstrapping documentation for a fresh 3.5.0 - i get following error:

[root@taranis taranis]# ./taranis-bootstrap taranis-3.5.0.tar.gz bootstrap installation of taranis-3.5.0.tar.gz ... running /home/taranis/sources/taranis-3.5.0/install/120.profile

I ran into similar problems when trying to install via git. The JSON-file creation/naming function seems to be broken...

Can you provide an example bash-profile for several installed version under same username? Then i could ignore all install-routines and just copy your code-changes into my codebase and edit the bash-profile manually.

bsi-lz commented 5 years ago

i didnt't change a thing, deleted everything, tried bootstrap again and now the message says: [root@localhost home]# ./taranis-bootstrap taranis-3.5.0.tar.gz bootstrap installation of taranis-3.5.0.tar.gz ... running /home/taranis/sources/taranis-3.5.0/install/120.profile

bsi-lz commented 5 years ago

hmkay...started all over and managed to bootstrap 3.5.0. Next i will try to git update to 3.5.1...

bsi-lz commented 5 years ago

when trying to update to 3.5.1 via git i run again in dead-ends. This is what i have done:

tara$ taranis git init

no ssh rights

// ok so lets try "https" tara$ git clone https://github.com/NCSC-NL/taranis3.git ~taranis/sources/taranis-git

all good

ok. now i am following installing-via-git starting from step 2 as mentioned in init-git-before-341-rc3-broken: tara$ taranis install

*   start installing version 3.5.0
...
*** running /home/taranis/sources/taranis-3.5.0/install/120.profile
*   creating login version switch (with git) in /home/taranis/lib/bash_profile

ERROR: cannot read from /home/taranis/etc/setup-git.json for JSON: file or folder not found Installation stopped

so again the step "adds GIT-setup to login" does not work for me

markov2 commented 5 years ago

Why are you not resolving the ssh rights issue?

  • start installing version 3.5.0

That's not the right one. Go to: ~taranis/sources/taranis-git Type: bin/taranis install # should work withoun bin/ in 3.6

ERROR: cannot read from /home/taranis/etc/setup-git.json for JSON: file or folder not found

Still running the old install, so again hit the same bug.

I agree that it is a bit painful. My collegues managed to get it to work with the same instructions taranis git init cd sources/taranis-git bin/taranis install

-- MarkOv


drs Mark A.C.J. Overmeer MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net

bsi-lz commented 5 years ago

bin/taranis install

Thanks alot, why is that missing in the docs? :D Sorry, i am a linux noob...

markov2 commented 5 years ago

Because it did not behave as expected. In the newer release, you do not need to use "bin/", just be in the right directory.

Some of these paths configurations are quite tricky. Each time something else breaks. Getting there (I hope) -- Regards, MarkOv


   Mark Overmeer MSc                                MARKOV Solutions
   Mark@Overmeer.net                          solutions@overmeer.net

http://Mark.Overmeer.net http://solutions.overmeer.net

markov2 commented 5 years ago

fixed with the release of 3.6