Added by Phason Electronics about 9 years ago
I did a fresh install of the latest version according to the Ubuntu 14.04 instructions here.
https://www.openproject.org/open-source/packaged-installation/packaged-installation-guide/
/opt/openproject
../opt/openproject/public
. The folders assets and javascripts, as well as the files 404.html, 422.html, 500.html, and favicon.ico are the only items here.When I try to run OpenProject, I get a 403 Forbidden error.
What do I do to get this running?
Regards,
Chris
Replies (6)
Hey Chris,
I assume you did run
openproject configure
?If so, can you give me the output of:
1.
/var/log/apache2/error.log
and
2. all logs in
/var/log/openproject/
? (edit: wrongfully used openproject-ce in the log path)Best,
Oliver
Here is the Apache 2 error log, as well as the logs in the
/var/log/openproject/
folder. There is no “openproject-ce”.Thanks very much,
Chris
Hey Chris,
The logs show nothing specific except that you had an OpenProject instance running with Packager at
/home/openproject/openproject-ce/
Given the he apache2 errror.log line
H01276: Cannot serve directory /opt/openproject/public/: No matching DirectoryIndex
it is most likely* you configured OpenProject with a server prefix (Relative root installation), in that case, the installation resides at the path you configured.
If you’re unsure what this means, please post the contents of
/etc/openproject/installer.dat
(Remove all lines with passwords and API keys).Best,
Oliver
Hi Oliver,
Yes, I did have an OpenProject instance like that previously, which I could never get installed and running properly. I ended up ripping out everything I could find with open project, Ruby, rails, and so on, so that I could start fresh with the packaged install.
I assume the Apache error is because directory indexing is not turned on, and there is no default file such as “index.php”.
I have attached the file for you.
Thanks,
Chris
Hey Chris,
you’ve defined a server prefix
/openproject
. That means that the installation will run under<your domain>/openproject
.If that is not what you wanted, use
openproject reconfigure
to run through the steps and leave Server path prefix empty!Well, I ran it again. It kept redoing my Apache settings and overwriting my virtual servers that served other parts of my network. When I finally got that corrected so that it would run on port 3000 instead of the port some other things run on, it worked. I now have the “demo project” in place, and have started adding users and content.
Thanks for your help.
Regards,
Chris