Open link in a new tab

Content

Expand project menu

Tutorial: Step By Step how to install OP 3.0 with Apache ("autostart") on Centos 6.5

This tutorial helps you to deploy OP3. Please, aware that:

  1. it`s primarily for testing purposes and may contain some security misconfiguration, so consider deploying it to the internet
  2. there is only 1 requirement you have to meet, that you have to have clean Centos 6.5 x64 install (from netinstall, minimal installation)
  3. I`m using production environment for OP3
  4. I`m using PostgreSQL 9.3 from official Postgresql repo
  5. There should be some unnecessary packages that I`m installing in this tutorial, but this is just Copy&Paste tutorial to deploy OP3 in few minutes, so excuse it please :)
  6. If you find any bugs or you have any recommendations for improving this tutorial, please, feel free to send me comment.

1. Prepare you environment

Update your system

[root@centos]# yum update

Install tools needed for DB and Ruby

[root@centos]# yum install git wget 

[root@centos]# yum groupinstall "Development tools"

Install some handy tools

[root@centos]# yum install vim mlocate

Create dedicated user for OP3

[root@centos]# groupadd openproject
[root@centos]# useradd --create-home --gid openproject openproject      
[root@centos]# passwd openproject (enter desired password)

2. Install Database (PostreSQL 9.3)

Edit .repo file and add this line:
exclude=postgresql*
to the section and :

[root@centos]# vim /etc/yum.repos.d/CentOS-Base.repo
  • press INSERT key to enter editing mode and write the following string into 2 sections
  • press ESCAPE key to exit editing mode
  • press “:wq” and press ENTER to save editing and exit VIM
  • so updated repo sections should look like this:
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
exclude=postgresql*

#released updates 
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
exclude=postgresql*

Then finish PostgreSQL installation

[root@centos]# curl -O http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-centos93-9.3-1.noarch.rpm

[root@centos]# rpm -ivh pgdg-centos93-9.3-1.noarch.rpm

[root@centos]# yum list postgres*

[root@centos]# yum install postgresql93-server postgresql93-devel

[root@centos]# service postgresql-9.3 initdb

[root@centos]# chkconfig postgresql-9.3 on

Add usermap of your user under which you have installed OP (“openproject” in my case) and PostgreSQL user that has granted rights to the DB.

Edit pg_ident.conf file and add this line at the end of file. This will add UserMap with name “openproject” to linux user “openproject” to DB user “openproject”:

openproject     openproject     openproject

[root@centos]# vim /var/lib/pgsql/9.3/data/pg_ident.conf

Uncomment this line in postgresql.conf file to allow connection to localhost of PostgreSQL service:
listen_addresses = ‘localhost’

[root@centos]# vim /var/lib/pgsql/9.3/data/postgresql.conf

Restart PostgreSQL service

[root@centos]# service postgresql-9.3 restart

Now create databases

[root@centos]# su - postgres

-bash-4.1$ psql -U postgres

Replace string “openproject” with desired username in PostgreSQL database and “my_password” with desired password (in my case both are “openproject”)

postgres=# CREATE ROLE openproject LOGIN ENCRYPTED PASSWORD 'my_password' NOINHERIT VALID UNTIL 'infinity';

postgres=# CREATE DATABASE openproject WITH ENCODING='UTF8' OWNER=openproject;
postgres=# CREATE DATABASE openproject_development WITH ENCODING='UTF8' OWNER=openproject;   
postgres=# CREATE DATABASE openproject_test WITH ENCODING='UTF8' OWNER=openproject;

postgres=# \q

postgres=# exit

3. Install Ruby

Enable ELrepo

[root@centos]# wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
[root@centos]# rpm -Uvh epel-release-6*.rpm       
[root@centos]# yum update

Install necessary packages for Ruby

[root@centos]# yum search libyaml

[root@centos]# yum install libyaml libxml2 libxml2-devel libxslt-devel libxml2-devel ruby-mysql mysql-devel ImageMagick-c++ ImageMagick-devel graphviz graphviz-ruby graphviz-devel memcached sqlite-devel

Switch to user under which will OP run (user “openproject” in my case):

[root@centos]# su openproject -c "bash -l"

Switch to users home dir or whatever directory you want to install openproject

[openproject@centos]# cd ~

Add following line into profile file of the desired user:
source ~/.profile

[openproject@centos]# vim /home/openproject/.bash_profile

Install RVM (Ruby Version Manager)

[openproject@centos]# \curl -L https://get.rvm.io | bash -s stable       
[openproject@centos]# source $HOME/.rvm/scripts/rvm

Install Ruby via RVM

[openproject@centos]# rvm autolibs disable       
[openproject@centos]# rvm install 2.1.0       
[openproject@centos]# gem install bundler

4. Install OpenProject

[openproject@centos]# git clone https://github.com/opf/openproject.git

[openproject@centos]# cd openproject

[openproject@centos]# bundle install

Fix appeared error by:

[openproject@centos]# gem install pg -v '0.17.1' -- --with-pg-config=/usr/pgsql-9.3/bin/pg_config

[openproject@centos]# bundle install

5. Configure OpenProject

Please, be aware that database configuration file and configuration file are “ident-sensitive” and consistence of these files are crutial to have working environment (email notifications, database connections, etc.

*Create and configure file in ../openproject/config/database.yml.
It should look like this:*

production:
      adapter: postgresql
      encoding: utf8
      database: openproject
      pool: 5
      username: openproject
      password: openproject
development:
      adapter: postgresql
      encoding: utf8
      database: openproject_development
      pool: 5
      username: openproject
      password: openproject
test:
      adapter: postgresql
      encoding: utf8
      database: openproject_test
      pool: 5
      username: openproject
      password: openproject

Configure email notifications (using gmail account) by creating configuration.yml in openproject/config directory

development:                         #main level
email_delivery_method: :smtp         #main level, will not work

default:                             #main level
  email_delivery_method: :smtp       #setting for default
  smtp_address: smtp.gmail.com       #setting for default
  smtp_port: 587
  smtp_domain: smtp.gmail.com
  smtp_user_name: ***@gmail.com
  smtp_password: ****
  smtp_enable_starttls_auto: true
  smtp_authentication: plain

Install plugins (Optional)
Create Gemfile.plugins file in openproject directory and paste these files:

Please aware, that all of the plugins are currently in beta state, so after final release, the installation could be different. Consider this step and if you don’t want to install plugins, just skip this step and go to “Finish installation of OpenProject”

gem "pdf-inspector", "~>1.0.0", :group => :test
gem "openproject-meeting", :git => "https://github.com/finnlabs/openproject-meeting.git", :branch => "dev"
gem "openproject-pdf_export", git: "https://github.com/finnlabs/openproject-pdf_export.git", :branch => "dev"
gem "openproject-plugins", git: "https://github.com/opf/openproject-plugins.git", :branch => "dev"
gem "openproject-backlogs", git: "https://github.com/finnlabs/openproject-backlogs.git", :branch => "dev"

Finish installation of OpenProject

[openproject@centos]# cd /home/openproject/openproject

[openproject@centos]# bundle exec rake db:create:all 

[openproject@centos]# bundle exec rake db:migrate
[openproject@centos]# bundle exec rake generate_secret_token     
[openproject@centos]# RAILS_ENV="production" bundle exec rake db:migrate

[openproject@centos]# RAILS_ENV="development" bundle exec rake db:seed

[openproject@centos]# RAILS_ENV="production" bundle exec rake db:seed

Precompile OpenProjects assets

[openproject@centos]# RAILS_ENV="production" bundle exec rake assets:precompile

[openproject@centos]# RAILS_ENV="development" bundle exec rake assets:precompile

Install Apache with Passenger to autostart OpenProject with OS and loadbalance traffic

Install necessary packages

[root@centos]# yum install httpd curl-devel httpd-devel apr-devel apr-util-devel

Grant permission for passenger

[root@centos]# chmod o+x "/home/openproject"

[root@centos]# su - openproject -c "bash -l"

Install Passenger gem

[openproject@centos]# gem install passenger

Compile Passenger for Apache and follow instructions for pasting settings to httpd and virtualhost
Just install it with default values and read statements if there are any errors :)

[openproject@centos]# passenger-install-apache2-module

Add this lines to /etc/httpd/conf/httpd.conf:

LoadModule passenger_module /home/openproject/.rvm/gems/ruby-2.1.0/gems/passenger-4.0.37/buildout/apache2/mod_passenger.so
   <IfModule mod_passenger.c>
     PassengerRoot /home/openproject/.rvm/gems/ruby-2.1.0/gems/passenger-4.0.37
     PassengerDefaultRuby /home/openproject/.rvm/gems/ruby-2.1.0/wrappers/ruby
   </IfModule>

Create VirtualHost file for Apache:

[root@centos]# vim /etc/httpd/conf.d/openproject.conf

Paste these lines into it:

   <VirtualHost *:80>
      ServerName www.myopenprojectsite.com
      # !!! Be sure to point DocumentRoot to 'public'!
      DocumentRoot /home/openproject/openproject/public    
      <Directory /home/openproject/openproject/public>
         # This relaxes Apache security settings.
         AllowOverride all
         # MultiViews must be turned off.
         Options -MultiViews
      </Directory>
   </VirtualHost>

Finally disable temporarly SELINUX and iptables to be able to access your apache from another computer

[root@centos]# setenforce 0

[root@centos]# service iptables disable

Start Apache

[root@centos]# service httpd start

Now your OP should be accesible on IP address of the PC where you have successfully installed openproject.

Please, notice, that disabling SELINUX and iptables is really not good way how to finish this installation. This guide is only for testing purposes and to be able to install OP as soon as possible. Configuring Apache (SSL etc.) and iptables is another topic.

Any comments are appretiated.

Message actions

Hi
problem is create database on Mysql for Openproject and running
tks
quyen dang

Message actions

Hi,

Thank you for your tuto, it is amazing, I installed it on debian, but I am wondering what it is the admin account that I can use to log in first? I am on the first page but I can only “Registre” when I registre I don’t receive anything, I used my company’s smpt and my gmail one and both of them doesnt work….any idea please? I want to have the admin account to manage all features on the application.

thanks

Message actions

Ahmed F wrote:

Hi,

Thank you for your tuto, it is amazing, I installed it on debian, but I am wondering what it is the admin account that I can use to log in first? I am on the first page but I can only “Registre” when I registre I don’t receive anything, I used my company’s smpt and my gmail one and both of them doesnt work….any idea please? I want to have the admin account to manage all features on the application.

thanks

Hey, if you ran `RAILS_ENV=production rake db:seed` the admin account should be admin:admin, i.e. the username is ‘admin’ and the password too.

Message actions

Markus Kahl wrote:

Ahmed F wrote:

Hi,

Thank you for your tuto, it is amazing, I installed it on debian, but I am wondering what it is the admin account that I can use to log in first? I am on the first page but I can only “Registre” when I registre I don’t receive anything, I used my company’s smpt and my gmail one and both of them doesnt work….any idea please? I want to have the admin account to manage all features on the application.

thanks

Hey, if you ran `RAILS_ENV=production rake db:seed` the admin account should be admin:admin, i.e. the username is ‘admin’ and the password too.

Hi

Well I followed, the debian tuto, what if I didn’t ran that command? Can I run it now? beacause admin/admin doesn’t work.

thank you,

Regards,

Message actions

You can just run the command now, it just adds the admin user.

Message actions

Philipp Tessenow wrote:

You can just run the command now, it just adds the admin user.

alright!

It works now.

Thank you very much.

Ahmed

Message actions

Thank you Karol for this tutorial!

For those who wish to install OP on MySQL, I have created new one based on this tutorial:
https://www.openproject.org/topics/1308

Enjoy,
Igor

Message actions

There is an error with MySQL tutorial… Instead of 3 databasess (production, development and test) only one is created and used. This means that test table can overwrite the production database! There is also a warning in example config file:

# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.

So, I think at least test DB should be different than production one.

Message actions

Hello Burn Down,
in both tutorials (postgresql and mysql) test DBs are defined. Please check the section for database.yml

Mention warning means that you should not put the same DB name under production and test section.

Regards,
Igor

Message actions

Igor Vitorac wrote:

Thank you Karol for this tutorial!

For those who wish to install OP on MySQL, I have created new one based on this tutorial:
https://www.openproject.org/topics/1308

Enjoy,
Igor

Hi Igor,

First of all thank you for sharing info about how to install OP3 using MySQL. I’ve been trying to install it through your installation guide but once I enter for the first time to openproject via web browser, I receive a Passenger error:

“MySQL 5.6.12 is not supported. Version 5.6 requires patch level >= 13. (RuntimeError)”

Does it mean I have to upgrade MySQL? But I saw this is the latest production MySQL version; MySQL 5.7 is still in development.

Thank you for all in advance and regards,

Antonio

Message actions

Hi Antonio,
its better to ask questions in mine forum post related MySQL installation, so the other users can see it as well.
But, let me give you the answer here…

My standard install is based on CentOS, so MySQL is comming from CentOS repository as well.
So, I have mysql-server-5.1.xx.

I have principle always to use MySQL from the distro repository, unless I really need new feature and in that case I am installing latest MySQL from their site.
As I can see, latest patch level for 5.6 is 19 i.e. 5.6.19. So, if you really need MySQL 5.6.x, then you could do upgrade to the latest 5.6.19 version.
Most probably there are some issues with MySQL 5.6.12, and that is the reason why you are getting that error.

Regards,
Igor Vitorac

Message actions

Thanks Igor!

It worked. Sorry for that newbie question, also for replying here.

Message actions

Many Thanks for your great tutorial!
After some minor issues my own OpenProject installation is running fine. For others who stumble across the same issues:

  1. You have to do a git checkout stable in step 4 before doing a bundle install.
  2. Don’t just copy the text for /etc/httpd/conf/httpd.conf:, adapt it to your passenger version. I think current was 4.0.48

Best regards
Fabian

Message actions

This line is wrong:

[rootcentos]# service iptables disable@

the right is..

[rootcentos]# service iptables stop@

Message actions

Hi
Thanks for your guide
I used it as the base to create a Centos 7 guide - see attached
You will notice that the OP install is largely the same, but there are changse to Centos set up and apache, the firewall is different and I used a different approach to the Postgresql authentication (md5, basically I copied the ubuntu approach)
Hope you like it

Cheers
Brendan

Message actions

Thanks for this tutorial! I followed it, but because I wanted OP running in a subdirectory of an existing virtual host, the instructions here didn’t quite fit. I got the issue sorted out here if you’d like to integrate the extra instructions I found.

Message actions

Hi

I’ve installed openproject but I’ve received the following error from apache:

Any idea?

Thanks in advance

Bye

Moris

Web application could not be started

(): did not find expected alphabetic or numeric character while scanning an alias at line 9 column 19 (Psych::SyntaxError)
/home/openproject/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/psych.rb:369:in `parse’
/home/openproject/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/psych.rb:369:in `parse_stream’
/home/openproject/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/psych.rb:317:in `parse’
/home/openproject/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/psych.rb:244:in `load’
/home/openproject/openproject/lib/open_project/configuration.rb:147:in `load_config_from_file’
/home/openproject/openproject/lib/open_project/configuration.rb:81:in `load’
/home/openproject/openproject/lib/open_project/configuration.rb:106:in `[]’
/home/openproject/openproject/config/application.rb:130:in `class:Application’
/home/openproject/openproject/config/application.rb:63:in `module:OpenProject’
/home/openproject/openproject/config/application.rb:62:in `<top (required)>’
/home/openproject/openproject/config/environment.rb:32:in `require’
/home/openproject/openproject/config/environment.rb:32:in `<top (required)>’
config.ru:32:in `require’
config.ru:32:in `block in

’
/home/openproject/.rvm/gems/ruby-2.1.0/gems/rack-1.4.5/lib/rack/builder.rb:51:in `instance_eval’
/home/openproject/.rvm/gems/ruby-2.1.0/gems/rack-1.4.5/lib/rack/builder.rb:51:in `initialize’
config.ru:1:in `new’
config.ru:1:in `

’
/home/openproject/.rvm/gems/ruby-2.1.0/gems/passenger-4.0.53/helper-scripts/rack-preloader.rb:112:in `eval’
/home/openproject/.rvm/gems/ruby-2.1.0/gems/passenger-4.0.53/helper-scripts/rack-preloader.rb:112:in `preload_app’
/home/openproject/.rvm/gems/ruby-2.1.0/gems/passenger-4.0.53/helper-scripts/rack-preloader.rb:158:in `module:App’
/home/openproject/.rvm/gems/ruby-2.1.0/gems/passenger-4.0.53/helper-scripts/rack-preloader.rb:29:in `module:PhusionPassenger’
/home/openproject/.rvm/gems/ruby-2.1.0/gems/passenger-4.0.53/helper-scripts/rack-preloader.rb:28:in `

’

Message actions

I’ve been trying to install OpenProject many times and actually tried it in all platforms that has available tutorials. This is the last tutorial that I have followed but still getting the same result. The installation was actually went successful but it seems that the site has no styles. It is just all text in the site. I’ve found out that the default.css is not present in the “public/assets/” directory.

This is the content of the “public/assets” directory;

[root@li794-43 assets]# ls
1downarrow-5964aac5231fa96d3e8a209897d630b0.png
1downarrow-9e87737553e336ec227802e2b6fe05a2.png
1uparrow-377eb5f09f9369cb85af87e12db4d883.png
1uparrow-931fab282dbf557e2a865bbd9fb98e05.png
2downarrow-ada5130dabb7533ce852da605d141f5a.png
2downarrow-eab3df43787bdd793b8218dfb7120b87.png
2uparrow-a5a70c113a7f3fb538ce465ce87d536b.png
2uparrow-cfa34083a509b8e970186adf05d3eea2.png
accessibility-a19e6a4f6469539db659c787c9c205d9.js
accessibility-a19e6a4f6469539db659c787c9c205d9.js.gz
add-339568b39fbbe53e196354bcd53fc88c.png
add-5b69cd4e5a2a22dbb91c7f1133f8a2eb.png
added-186471bf8928dc7a16f29ffeea630ee7.png
added-5643a02b5b4981d90cbf6a0598ed6433.png
admin_users-e185f02a1d02a05b34363cfa5aa6f29d.js
admin_users-e185f02a1d02a05b34363cfa5aa6f29d.js.gz
arrow-bottom-right-4264b36704df158722e41f6547225f3e.png
arrow-bottom-right-7fa2f832bd62b5ed71c684fd5098bed2.png
arrow_collapsed-75cae3aae0bc06c04b85c1e847cfa22f.png
arrow_collapsed-bcb16d6673a2c5107189c8057166fbde.png
arrow-down-3-735c4831cdb7f20982b586d7684be7d7.png
arrow-down-3-d5038295536d665196c8ac471a92373a.png
arrow-down-4b7df8c811d52e01ac86db3870a7247a.png
arrow_down-5dd006da384b35fca9203ca8dbf480e9.png
arrow-down-749567df6e1af56d0f20547677d8cdf3.png
arrow_down-d8c2bcae46374c36096e89c8057da131.png
arrow-down-grey-3af1baf751943a7dace853040a76b282.png
arrow-down-grey-8d48d083c7249edd54bd68144e34597d.png
arrow_expanded-2b592145acd852db12df0d7eadcb0ff9.png
arrow_expanded-4d0c0f2457036e8c53536ab09d76453a.png
arrow-right-23ed8a0d0578fd94832e2b9990309133.png
arrow-right-b906217401373271d066af77169f9855.png
attachment-03f1798cbef4682472eb5ba99f5fe03e.png
attachment-f3bf411ed2910b643444c110b604ad83.png
auth_provider-developer-bf25f29526d11cc759e89e944f51e222.png
auth_provider-developer-dcddfafe875ccb39c917d93821fa96f3.png
background_breadcrumb-38ba95ac416b62e4d8c6cd64cdea8956.png
background_breadcrumb-931314491668d5354b20265496df32f7.png
background_top_navigation-1b0fbbcb96f0f9f13bedc4eaa4e7b8f9.png
background_top_navigation-a058700c7143befee88febb8bcdd0188.png
background_widgets-05f5856c0404768d65421597d8dbcaef.png
background_widgets-68a974ce08fa2e381c8d52430d3749e6.png
bg_footer-53377b1e1d895bd62d99e61f616782d4.png
bg_footer-aa9efa2d90440000b376963103935e65.png
bg_input_file-8a0bcdb12dc01f816fe751649b7246e7.png
bg_input_file-c81c3eb0e76a4c643c1dd7b3b2830b29.png
blockquote-bg-08081e58f8490938b84b632facd72b06.png
blockquote-bg-76457d486f597cb1a01df2f48d3f2858.png
breadcrumb-list-136f4f119a527de25d412ff3d4443e46.png
breadcrumb-list-ec4c971e03fafe235cf137136317277d.png
bullet_add-029be20386c972cc9b0be84e8c5f9b7c.png
bullet_add-2b74d87f5cf0959f581bb4f5167faad1.png
bullet_arrow_left-760d00023363f8c8ea7ea67f83ace720.png
bullet_arrow_left-c9105a017857b1ca573e95cc716fdf03.png
bullet_arrow_right-a77ded2eaba491e6a023c5938d63a7d1.png
bullet_arrow_right-ec979c3526ae98e23a46287ffd696abc.png
bullet_black-39cac1876b0c07a15654f509bd640fb3.png
bullet_black-776ba3e76f531e145d57368cd2667396.png
bullet_blue-4a899b81b9286c2b32a87127e26ba3c7.png
bullet_blue-e1104554e4562ee766ede7de1fa315a7.png
bullet_delete-0187ce859155fddba0454ec40aa67d64.png
bullet_delete-86ac7d6ad84694a18fe60642500a0a95.png
bullet_diamond-ad18180bd15f4e1b1a0c8b18fa2db362.png
bullet_diamond-b3b3f9674908591ead5cdb8a0ff109c5.png
bullet_end-26a9460bd2a9223e0abb9f2ec600a653.png
bullet_end-da8937d4b44bc8b00aaec1a1f0c788f9.png
bullet_go-01d6b6f2925e1fb96efb03d0eda3f9ac.png
bullet_go-3ab4b184a95e3fa49b5d13392f83d0f9.png
bullet_green-246687a9e3f57327b47641a285c49110.png
bullet_green-47dad2224a8be07926bfe2e654b48a75.png
bullet_orange-55438d4e041e6dca73cccaf361f98797.png
bullet_orange-c01f062f38ded2a8630d3f90c3a8b6af.png
bullet_purple-2c6982f540e807f9500bf511a19c5f08.png
bullet_purple-60adaa316f008bd845310e3760c32b9d.png
bullet_red-84a25157dce226996451f44e89751143.png
bullet_red-a3a2688523277e40543921fee182a535.png
bullet_toggle_minus-7b5ae7139a5eac00ac14e0c5a2910db3.png
bullet_toggle_minus-ec4dfe0441b54385e429f93dc0deb48f.png
bullet_toggle_plus-2833c07dba54b736d8cc6cc59e81bc98.png
bullet_toggle_plus-cc16a39eb6e8d14917928a152a086baa.png
close-116ec8828397db99807a90dacc25cf7d.png
close-d4e3d06dac02aace90b2307ade7b69ed.png
close_hover-7f0be5fff712cfc18b57dfdca821716b.png
close_hover-d0141a646683eb6a80cab8143417f737.png
cloud_footer-27d9176a8cab09a762eaf4b73955154f.png
cloud_footer-a3c00f71af13edea0110916d63854f46.png
comment-aa9f225d102c013a2d9a18d0e3d6196a.png
comment-edad03de7e78850755f4d1d5eb1c06c2.png
comments-0306ee9b88bfb8cc3d43c85e61b5fac0.png
comments-13b4092bc34ecc739a7cec6a08f731bc.png
default-avatar-5dd4b9978fc0224d9ae39414983b3dec.png
default-avatar-978e5fee473a349f06342b5812fec9bf.png
dotted-separator-3e695dc47c7573a4afff2e9034edeed4.gif
dotted-separator-a5a8eebdfc77e34eb7f3c07701a0433e.gif
double_arrows_grey_white_sprite-7abdca221ef42d89716837012dfe7e76.png
double_arrows_grey_white_sprite-9cb41d8fb05287fa0b4d628bd18b1483.png
draft-afd60148b8c18eb38b23167ab7eb71ef.png
draft-c7d359c6fdac7e6afc229a8ea1beb670.png
external-86e151a93d8194d8c61e4612228c2347.png
external-a141a8911f1920c89d0b8ed6659d106f.png
favicon-2e4038339c95e39b526cb0ab6ac5ecf8.ico
favicon-d412c0557df4cfa4bc06e594f92a8ede.ico
files
files-showhide-39d8b174a608b51f718c15a86d9d810b.png
files-showhide-3b6ebc889beb4e6b3251952283f6b087.png
folder-927596db1474ee0d4831b84417084608.png
folder-ec7ea8ff66b6d15abdbc1d83a94db2d5.png
folder_open-7deb130ed37bc51e42d0b947d2ce80ff.png
folder_open-940c8b65658cf7531309932d49e13536.png
folder_open_add-9cc45f33770a5492cda5200dea02795f.png
folder_open_add-df95f20110920b9835c358385dfa34de.png
folder_open_orange-4c6e82dc796c931d8c1bbd415555da1f.png
folder_open_orange-762ea438c9de4b39050959b847b37759.png
gradient-up-5e6449b8b48c301109aa64eee7684154.png
gradient-up-776ca1d36984d36d52bc7280ec73659b.png
home_black_white_sprite-1ac43fb68ac2d4f6fbfeb78a68766e2f.png
home_black_white_sprite-fd286a8a56bbf9c051ab70147eec85af.png
jstoolbar
lato
link-6c2abc08f112f86e9a93238eff7c4ad0.png
link-6e1a1e59bc796a8e284ee1ea7b6b151e.png
loading-af4bad15ff19e450302b325b5d6ed565.gif
loadingAnimation-033ac934c3afd4d2bd40ffa4c166c280.gif
loadingAnimation-6693bd708b7fc552368d4311225f2a0a.gif
loading-e6907c9865444f5f705bcfaada4e2764.gif
logo_icon_finn_blue-206c125e17e4ab4ebac42b221b21435d.png
logo_icon_finn_blue-95ea5829757309d996f41f84843db723.png
logo_openproject-c06ee90db777e2396e501e3ab8502ed4.png
logo_openproject-fb76ed0c1dbc5d7b662e04996c4d73b9.png
logo_openproject_white_big-20bb71d471777283203bacd0fbd45df2.png
logo_openproject_white_big-f24a840553905adb27e033c0c50d97e7.png
lupe_projektsuche-0caff3db6bcdb812af35b927c6ae0204.png
lupe_projektsuche-2bc84f3f4aac1d24ff7790981eee9197.png
magnifier-4baf8336233456aba90abaa412fd1c45.png
magnifier-d7ef713af1da9143cdfc54f7bb3bc2c0.png
manifest-2410203489bc3213257d337506d370c5.json
milestone_done-2d61de87ad16d921781b7efb6886b5ab.png
milestone_done-e6cb7e1949ae8e9bf42cf3560909db12.png
milestone_late-2bc6bed13246260ff7c6b0e98bac740c.png
milestone_late-793098667ecbf92f3504511f9e9fb210.png
milestone_todo-7a62d861acff8a446375ca904d5e09e9.png
milestone_todo-9b42e1323a61db1c275e121a42eaa11d.png
modal_close-3fd835b189ac138846e5e6f8635ba654.png
modal_close-86ef710bdb270ec34c94e3b61306175d.png
openid-bg-0c5d7d5e08d77e00b4864f016a2f6911.gif
openid-bg-68112e6443c1a35da1fca83be383b81a.gif
openproject_icon
pdf-7d24f818b82c5d3dbb199ef874ddde59.png
pdf-dadaf7b78fc94d2f8ed496cb5975fde4.png
profile-arrow-down-4491638bed4a220f919685983fb63d11.png
profile-arrow-down-f5b96f2dc265f7b019861874fe73d032.png
profile-arrow-up-3e352e3d72f8821e990c8374a6574098.png
profile-arrow-up-8a176e52a54d9130700ec597db7b127a.png
project_marker-27b087affb7267f6e6e28edea76b6528.png
project_marker-550cd9749b74ade57fa4da842ab807c5.png
projectnavi_arrow_down-880b1bd30b2240d698cb25c0563f3bb4.png
projectnavi_arrow_down-94bb40dea26433c96ba1575123355e6c.png
projectnavi_arrow_down_white-0ddb366f02f564202ac1d54db8f11a53.png
projectnavi_arrow_down_white-7d91fc7925df68f54047617d63416de9.png
projectnavi_arrow_left-2bcfddf2e32aea10926ed8acf5eb8939.png
projectnavi_arrow_left-9df9f395a24d9ae35e8bd7e0454d42d4.png
projectnavi_arrow_right-53784dcbf71ed2244932129a373afcc4.png
projectnavi_arrow_right-62bdfd8cbf68c34d80401729b47f2a8c.png
projectnavi_arrow_up-a1beecba68588ffc798e1101c0eaad0a.png
projectnavi_arrow_up-e9094464f485cf13e50a73d8a24ad275.png
projectnavi_arrow_up_white-06b24d7635acf0429f3dda925daa045f.png
projectnavi_arrow_up_white-793be5c974018594e8969e7c9422ca9c.png
prototype
pulldown_arrow2-4608fc7a975a6e71cda9cca534546253.png
pulldown_arrow2-f802cdc017121171f096b2d0981d572c.png
question_mark_black_white_sprite-1129c63419f2d2d730d27106b3451417.png
question_mark_black_white_sprite-6a8a4a370daeae618571870a9472a3c7.png
question_mark_grey_white_sprite-7704c64759f29a6e9b2d6e8ac3b5e6e5.png
question_mark_grey_white_sprite-dbd2795117ff56c7a006989a16c48746.png
report-13f2ca2ee362bad62a8cfa4656198247.png
report-58102a27f579a588ba02bdce0e24f0c2.png
server_key-98378594738fe3e419b9c28b5678c44f.png
server_key-bd33bbe96bb20b5b410f23a44f293dcb.png
sort_asc-7d896a22a5a2175761c0960f6116d881.png
sort_asc-b8718a303125ad6583d465e8d087d6ef.png
sort_desc-1302de61af69dc843c7f9eba6ae2177a.png
sort_desc-f5f349ebc49536c78fd07a6a166638d9.png
suche_lupe-bfe4b6db7a451008fddfbd1891ac852e.png
suche_lupe-d40043b96d8b4766d56ed5ccc34940c0.png
table_multiple-53b794c775d6c5341883985f2dbd9ee6.png
table_multiple-ea743a175c8869cf0515c87c1d3c87e0.png
task_done-2d61de87ad16d921781b7efb6886b5ab.png
task_done-e6cb7e1949ae8e9bf42cf3560909db12.png
task_late-436b3edba2ee0aec82c98d9d83287ad2.png
task_late-4b058d7e001b88d838dfd7a3ae08eb6b.png
task_todo-106947eb3decfe52d87cbeed872f43b8.png
task_todo-328e917ec3944568052bb283e66593b4.png
thumb-arrow-right-1a30ac63e889506245486da8569cba32.png
thumb-arrow-right-5b3b1216447d8bf7af2be71fa7f444bc.png
tooltip-arrow-5ac2b9a5ea6d806af05f71f3a60fb4c9.png
tooltip-arrow-75e60f8011f0d17ebfd28bac917c2a41.png
top_menu_arrow_black_white_sprite-a4763f85cb3ec0c3ebacbb346681be7e.png
top_menu_arrow_black_white_sprite-b9da13b8a9afa7e51d7ff0f25766a99e.png
top_menu_arrow_grey_white_sprite-5b59ee50c244d61d0777371cf45c8448.png
top_menu_arrow_grey_white_sprite-e0874b4326c41bfb812fe854ee48ac54.png
topmenu_sprite-5a5b4190b1705383a5bc2c15336fce3d.png
topmenu_sprite-de53ebf1aa96f455c8d376d5d410e78f.png
version_marker-045c08f676d5746047e46f2944e0dad1.png
version_marker-4c6de7fd9a5922f46893f8754fb651af.png
webalys
wiki_styles

I am also attaching a screenshot of the site. Hope anyone can help me. Thanks in advance.

Message actions

I don’t know your exact setup, but here’s a quick guess: Have you tried the following in config/environments/production.rb?

config.serve_static_assets = true
Message actions

Hi

You could isolate the web server as the problem by running the rails web server

When you test you will use the rails web server, so you will need this next update.
reverse it when you run under apache

nano /home/openproject/openproject/config/environments/production.rb 

change false to true

config.serve_static_assets = true  

Now, as root, stop apache and SElinux (It should already be stopped…but just in case )

service httpd stop 
setenforce 0 

you can test it using the command

RAILS_ENV=production bundle exec rails server

Open your browser to the host ip address on port 3000 e.g.
http://xxx.xxx.xxx.xxx:3000
This is a good test to see if you have done everything correctly.

All the above instructions can be found in the following discussion as an attachment

https://www.openproject.org/topics/1903
It also my give you hints on what to look at

and you can also look at the httpd error log, this will give you a good hint.
I m not sure where it is kept on centos

cheers
Brendan