Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion installfrompip.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ pip install --editable grr/config/grr-response-server
pip install --no-cache-dir -f https://storage.googleapis.com/releases.grr-response.com/index.html grr-response-templates
pip install --editable grr/config/grr-response-test
----
Then edit /etc/default/grr-server and set:
Then edit /grr/debian/grr-server.default and set:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this path is set by the deb package. If you're just installing from pip you don't need to mess with this at all (but you need to do your own systemd setup, or run the worker, ui etc. manually. If you want to have all the systemd stuff set up for you by the package, then install a new version from source, you need to change this to update the systemd scripts.

So I don't think this needs changing but we need to clarify that somehow.


----
GRR_PREFIX=/path/to/GRR_NEW
Expand Down
12 changes: 6 additions & 6 deletions troubleshooting.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ from grr.lib.aff4_objects import cronjobs
cronjobs.ScheduleSystemCronFlows(token=data_store.default_token)
-----------------------------------------------------------------------

== Protobuf 2.5.0 ==
== Protobuf 3.0.0 ==

GRR only works with the Protobuf library v2.5.0 or newer. If your distribution
GRR only works with the Protobuf library v3.0.0. If your distribution
comes with an older version, follow the instructions below:

Remove any version of protobuf that is older than 2.5.0.
Remove any version of protobuf that is older than 3.0.0.

Note that this will also remove a couple of dependencies:

Expand All @@ -72,12 +72,12 @@ system:
sudo apt-get install build-essential uuid-dev zlib1g-dev python-dev
--------------------------------------------------------------------

Download protobuf version 2.5.0 or later from link:http://code.google.com/p/protobuf/[protobuf]
Download protobuf version 3.0.0 or later from link:http://code.google.com/p/protobuf/[protobuf]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you actually only need the compiler, so you can just go to the releases page and download the relevant compiler package for your OS.

Copy link
Author

@r3motecontrol r3motecontrol Nov 8, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @destijl

When I installed the compiler using sudo apt install protobuf-compiler, (Ubuntu 16.04), it installed v2.5.0. In the next step, cd /grr, pip install -editable . it produced an error "v3.0.0 required", After the installed protobuf-3.0.0, I was able to successfully install GRR. So I submitted the PR. I will verify it once again.

Thanks


Extract the package:
-------------------------------------------------------
tar xfv protobuf-2.5.0.tar.gz
cd protobuf-2.5.0
tar xfv protobuf-3.0.0.tar.gz
cd protobuf-3.0.0
-------------------------------------------------------

Build and install libprotobuf:
Expand Down