Content
Manual Install failes at finishing the installation
Added by mark twain almost 9 years ago
Hi there,
I am trying to install openproject on my raspberry pi, using the manual installation guide.
I followed the manual installation guide [ https://www.openproject.org/open-source/download/manual-installation-guide/ ]
up to: “Finish the Installation of OpenProject”.
Up to then, everything worked more or less like expected
[I had to: npm install -g bower before i was able to use ‘npm install’ ]
Now, I am stuck here:
[openproject
host] cd ~/openproject-ce
[openproject@host] RAILS_ENV=“production” ./bin/rake db:create
[openproject@host] RAILS_ENV=“production” ./bin/rake db:migrate
[openproject@host] RAILS_ENV=“production” ./bin/rake db:seed
[openproject@host] RAILS_ENV=“production” ./bin/rake assets:precompile@
these commands lead to:
e.g. with RAILS_ENV=“production” ./bin/rake db:create :
openproject@pi ~/openproject-ce $ RAILS_ENV=“production” ./bin/rake db:create
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require’: cannot load such file — bundler/setup (LoadError)
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require’
from /home/openproject/openproject-ce/config/boot.rb:32:in `<top (required)>’
from ./bin/rake:2:in `require_relative’
from ./bin/rake:2:in `’
As I simply followed these instructions and got stuck, I can not get any further atm. …
Is there anyone here who can help me with this?
Thanks and best regard,
Twain!
Replies (6)
As an little update on this, i was able to get beyond that problem, by:
@ sudo apt-get install ruby-dev@
In order to get passenger working with my nginx, withouth having to recompile nginx again,
I decided to install a stand alone passenger version*, and use nginx as a reverse proxy.
Forwarding does work with (within nginx configuration)
proxy_pass http://127.0.0.1:4000;
@ cd ~/openproject-ce@
@ passenger start —daemonize —address 127.0.0.1 —port 4000 @
I am using a subdomain like:
op.domain.tld
which does serve the running passenger via nginx.
Sadly all i can see here does not look like openproject, but like some sort of misconfiguration :
'mysql2' database is not configured. Available: ["production", "adapter", "database", "host", "username", "password", "encoding"] (ActiveRecord::AdapterNotSpecified)
I uploaded this to pastebin, see: [ http://pastebin.com/Kb40ePHS ]
Now I am stuck again …. .
Looking forward to some help here :)
It seems, my config/database.yml was not correct,
i changed it, according to the ‘Manual Installation guide’.
And the error messages changed!
When i go to op.domain.tld, i get:
Action Controller: Exception caught
So, anyone got an idea what to do next?
Did you run the remaining rake tasks after your initial database issue?
The error stems from missing precompiled assets, which are built as follows:
An unrelated side note: Is there a reason why you can’t use the packaged installation method , or are you running some unsupported distro?
Best,
Oliver
Thanks for your answer.
I already tried that, sadly this did not help; as i said, i did everything stated by the manual, but used passenger as a stand alone version … .
I am on a Raspberry 2; there is no openproject package for this platform … .
Any ideas left?
Hey Mark,
this is definitely an issue with the webpack-based assets. Please make sure your npm/node installation works and try to check the output of the command I’ve linked you above. You may also want to manually run webpack in the
frontend
folder with$(npm bin)/webpack --progress
.What distro are you running on Raspberry? I must admit to have never tried that, but a debian/fedora flavor should work fine with our package.
Best,
Oliver
Hi Oliver,
Node version:
And once again:
Running “$(npm bin)/webpack —progress” results in:
Ok, something seems to be wrong here … .
I am using Rasobian 8 which is based on Debian 8; the problem is pi’s hardware, which is not supported. (no prebuilt packages)