Added by Alasdair McAndrew over 8 years ago
I attempted to install openproject on my VPS running Ubuntu 14.04 following the instructions given at
https://www.openproject.org/open-source/download/packaged-installation-guide/
It all seemed to go pretty well, but I can’t start it in my browser. And when I dug about I found that:
/home/openproject
is empty - openproject seems to be installed in /opt/openproject
openproject.conf
in the /etc/apache2/sites-enabled/
directorySo it seems as though some manual fiddling is going to be needed. But I’m a bit confused. The manual installation instructions assume that all the necessary files will be in the home directory of the “openproject” user, but the package installation puts all the files in opt/openproject
. Which one is correct - and is there a simple way of rescuing, or completing, the packaged installation?
Replies (5)
Hey Alasdair,
when you first install the package, OpenProject is indeed installed to
/opt/openproject
.Installing the package itself does nothing but extract the relevant files. You still need to step through the installation wizard for database setup and other initial configuration.
Use
openproject configure
to do that. If you choose to install and setup Apache2 in the wizard, a conf file will be written.For more information, please see ‘Package Configuration’ in the guide you’ve linked.
https://www.openproject.org/open-source/download/packaged-installation-guide
Best,
Oliver
Thanks, Oliver,
I have indeed run
openproject configure
and alsoopenproject reconfigure
; I have set up a MySQL database manually and during the configuration accepted “Use existing database”. I am already running apache2 (this server runs several other web services). I think part of the problem was that the configuration asked me whether I wanted to install apache2, and I answered no (it’s already installed). But I don’t want to reinstall apache2 as I don’t want to break my existing setup and services.If I answer “Yes” to install apache2, does openproject actually do a new download and install of apache2, or does it use an existing installation?
Thanks again,
Alasdair
Hi Alasdair,
it will try to / check whether the apache package is installed and use that one.
Please note that it occupies :80 and :443 virtualhosts, though. If you do not want that, you must provide the integration yourself.
Best,
Oliver
Oops - I ran
sudo openproject reconfigure
and said yes to install apache2. And it did a complete reinstallation - with the result that apache2 won’t start! I get a “configtest” failure. The main lines seem to be:I am running mod_perl already as I need it for an online mathematics testing system I use with my students - and this is a service which I now can’t seem to use, as apache2 is not starting. This is what I was afraid of…
Any help would be most welcome!
Well, I simply commented out the first line, and all is good.
… except there’s a problem with ports: the root of my server now produces openproject (which is excellent!) instead of wordpress.org (which I need access to)… I need some way of being able to access both of them!
Thanks again.