Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Open Project installed, but the /opt directory and the frontend nothing appears - what to do

Open Project installed, but the /opt directory and the frontend nothing appears - what to do

Added by Alexander Liebrecht about 9 years ago

Hello Community and Developers,

I installed yesterday OpenProject on CentOS 64 bit and PHP 5.4. The thing is that I have followed the instructions available and find now on my root server the contents of the Open Projects in the /opt Directory. Is it normal that it has been installed there.

I have configured it so that OpenProject in frontend in the browser must be under http://projekte.alexl.eu/openproject (var/www/openproject). But unfortunately there is “Not Found on this server”.

Now I do not know what to do and how I can make it better.

maybe Do you have some ideas on this ??

Thanks in advance.


Replies (4)

RE: Open Project installed, but the /opt directory and the frontend nothing appears - what to do - Added by Oliver Jakobi about 9 years ago

Hi Alex,

hope you didn’t give up on your OpenProject installation so far.

Regarding the /opt directory, it seems like you went for the packaged installation. Can you please confirm that?

If so, the /opt directory is correct. :)
That’s also the reason, why your web server will not find anything on /var/www/openproject.
OpenProject is run on an application server, which differs from the php-run Wordpress you are using.

Since your web server seems to have been installed already when you installed OpenProject, the packaged installation most likely did not configure your web server (which one is it, that you use?), so you will have to manually edit your config.
You will find information on that for apache in the manual installation guide (https://www.openproject.org/open-source/manual-installation/manual-installation-guide/).

If you feel uncomfortable editing the config on your own, feel free to get back here.

Best
Oliver

RE: Open Project installed, but the /opt directory and the frontend nothing appears - what to do - Added by Alexander Liebrecht about 9 years ago

Hello Oliver,

Thanks for your feedback and I did it again quite different. Yes, the /opt directory seems to be correct. I install just the final point to http://openproject.alexl.eu.

I installed everything, all Gems, rails and so on and only needs to complete the final steps to see what will happen.

Now I have this error in the terminal via SSH.

Apparently something is act_as_op_engine.rb with the file, but I can not find the error. In the terminal it looks like this:

[openproject@projekte openproject]$ bundle exec rake db:create:all
rake aborted!
SyntaxError: /opt/openproject/lib/open_project/plugins/acts_as_op_engine.rb:207: syntax error, unexpected ','
      def add_api_attribute(on:,
                                ^
/opt/openproject/lib/open_project/plugins/acts_as_op_engine.rb:208: syntax error, unexpected ',', expecting keyword_end
                            writable_for: [:create, :update],
                                                             ^
/opt/openproject/lib/open_project/plugins/acts_as_op_engine.rb:230: syntax error, unexpected keyword_end, expecting end-of-input
/opt/openproject/lib/open_project/plugins.rb:33:in `require'
/opt/openproject/lib/open_project/plugins.rb:33:in `<module:Plugins>'
/opt/openproject/lib/open_project/plugins.rb:30:in `<module:OpenProject>'
/opt/openproject/lib/open_project/plugins.rb:29:in `<top (required)>'
/opt/openproject/config/application.rb:62:in `require'
/opt/openproject/config/application.rb:62:in `<top (required)>'
/opt/openproject/Rakefile:33:in `require'
/opt/openproject/Rakefile:33:in `<top (required)>'
(See full trace by running task with --trace)
[openproject@projekte openproject]$

Maybe you can help me? Would be very helpful.

Everything else has worked so far as well as with “bundle install”. Since I have whole days to “gem install mysql” execute. But it worked for great Google search finally.

RE: Open Project installed, but the /opt directory and the frontend nothing appears - what to do - Added by Oliver Günther about 9 years ago

Hey Alexander,

the error stems from using an older version of Ruby (something before 2.1, where required keyword arguments were introduced. https://robots.thoughtbot.com/ruby-2-keyword-arguments#required-keyword-arguments). 2.1. is our minimum requiremenet for the manual installation.

The packaged installation should work fine with an existing Apache installation. We currently only have a fully automated setup for when OpenProject is allowed to take control over Apache configurations, so we’re not quite there yet in terms of flexibility in the Apache configuration.

Can you post the contents of /etc/openproject/installer.dat ? (Remove all sensitive information such as db passwords first, please).
That will give us more guidance on what configuration you made.

Best,
Oliver

RE: Open Project installed, but the /opt directory and the frontend nothing appears - what to do - Added by Alexander Liebrecht about 9 years ago

Hello Oliver,

now I have Ruby 2.2.3 installed and if I as openproject user want to run this command(bundle exec rake db:create:all), I get this error appears. What can be or I have something moved?

[openproject@projekte openproject]$ bundle exec rake db:create:all
/usr/local/bin/bundle:22:in `<main>': undefined method `activate_bin_path' for Gem:Module (NoMethodError)
[openproject@projekte openproject]$ ruby -v
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux]
[openproject@projekte openproject]$

The content of your file installer.dat looks very thin and this is so.

I do not know if that has to be.

mysql/db_host
mysql/db_port
mysql/db_name
mysql/db_username
mysql/db_password
mysql/db_source_host
mysql/ssl no
mysql/root_password






server/ssl_cert /etc/ssl/certs/example.com.crt
server/ssl_key /etc/ssl/private/example.com.key
server/ssl_ca










mysql/autoinstall skip
server/autoinstall install
server/variant apache2
server/hostname openproject.alexl.eu
server/server_path_prefix
server/ssl no
repositories/api-key
repositories/svn-install install
repositories/svn-path /var/db/openproject/svn
repositories/apache-wrapper-token
repositories/git-install install
repositories/git-path /var/db/openproject/git

smtp/autoinstall sendmail
smtp/admin_email power_sash@gmx.net
memcached/autoinstall install
repositories/git-http-backend /usr/libexec/git-core/git-http-backend/
  • (1 - 4/4)
Loading...