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. RESOLVED: 500 Internal server error after upgrade to version 6

RESOLVED: 500 Internal server error after upgrade to version 6

Added by Melrose Brown over 8 years ago

Dear openproject community,
I upgraded to openproject version 6 today and cannot access openproject through the browser anymore, hitting a 500 internal server error. The server is running RHEL 6 and I updated via yum by changing the baseversion in /etc/yum.repos.d/openproject.repo to stable.6. Openproject appears to be running on the server:

 status openproject
openproject start/running 

During configuration (sudo openproject configure) I received a number of deprecation warnings (see the end of this message). Looking in production.log it seems that I am also missing the openproject/config/plugins directory:

 W, [2016-11-11T15:06:18.212177 #15766]  WARN -- : [auth_saml] Missing settings from '/opt/openproject/config/plugins/auth_saml/settings.yml', skipping omniauth registration. 

I have tried to reconfigure without success either.

Unfortunately I am at a bit of a loss for how to probe further to try and diagnose what could be going on. I have backups of the mysql database, attachments, git repositories etc and backed up the entire server last night (most of it anyway - unfortunately /var/log is not there).
I would be hugely grateful if someone could advise on some next steps to either point me in the direction of the source of this error, how to roll back to version 5, and/or any important information regarding restoring from a backup.

I have considered using yum rollback or uninstalling and reinstalling openproject, but am aware that I am now in somewhat of a panic mode and feel it may be best to take a breath and seek advice before digging any deeper holes! The production.log, web-1.log and worker-1.log files are attached in case this may shed more light on the problem.

Best,
Melrose

DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.3.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.3.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.3.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.3.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.3.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.3.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.3.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.3.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.3.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.3.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.3.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.3.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.3.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.3.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.3.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.3.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.3.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.3.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.3.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.3.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.3.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.3.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.3.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /opt/openproject/vendor/bundle/ruby/2.3.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
*** Seeding for locale: 'en'
*** Seeding basic data
 ↳ BuiltinRolesSeeder
   *** Skipping built in role Non member - already exists
   *** Skipping built in role Anonymous - already exists
 ↳ RoleSeeder
   *** Skipping roles as there are already some configured
 ↳ ActivitySeeder
   *** Skipping activities as there are already some configured
 ↳ ColorSeeder
   *** Skipping colors as there are already some configured
 ↳ WorkflowSeeder
   *** Skipping types, statuses and workflows as there are already some configured
 ↳ PrioritySeeder
   *** Skipping priorities as there are already some configured
 ↳ ProjectStatusSeeder
   *** Skipping reported project status as there are already some configured
 ↳ ProjectTypeSeeder
   *** Skipping project types as there are already some configured
 ↳ SettingSeeder
   *** Skipping settings as all settings already exist in the db
   Loading discovered seeders: 
 ↳ EnumerationsSeeder
 ↳ SettingSeeder
   *** Skipping BasicData::Backlogs::SettingSeeder
*** Seeding admin user
   *** No need to seed an admin as there already is one.
*** Seeding demo data
 ↳ ProjectSeeder
   *** Skipping DemoData::ProjectSeeder
*** Loading action_cable_engine seed data
*** Loading date_validator_engine seed data
*** Loading bourbon_engine seed data
*** Loading i18n_js_engine seed data
*** Loading openproject_translations seed data
*** Loading openproject_global_roles seed data
*** Loading openproject_auth_plugins seed data
*** Loading openproject_auth_saml seed data
*** Loading lobby_boy seed data
*** Loading openproject_openid_connect seed data
*** Loading openproject_documents seed data
*** Loading openproject_my_project_page seed data
*** Loading openproject_xls_export seed data
*** Loading reportingengine seed data
*** Loading openproject_costs seed data
*** Loading openproject_reporting seed data
*** Loading openproject_meeting seed data
*** Loading openproject_pdf_export seed data
*** Loading openproject_backlogs seed data
*** Loading openproject_themes_dark seed data
*** Loading openproject_local_avatars seed data
*** Loading openproject_webhooks seed data
*** Loading openproject_github_integration seed data
SCM vendor Subversion uses remote managed repositories. Skipping.
Nothing to do.
Nothing to do.
This job runs via upstart, invoking upstart now...

Replies (4)

RE: RESOLVED: 500 Internal server error after upgrade to version 6 - Added by Melrose Brown over 8 years ago

I finally figured out what was going wrong! I was missing Reload.pm from /usr/lib64/perl5/vendor_perl/Apache2 . I added the missing file from mod_perl-2.0.10 found here: http://apache.org/dist/perl/ and everything seems to be back up and running.

RE: RESOLVED: 500 Internal server error after upgrade to version 6 - Added by Julian Vanden Broeck over 8 years ago

Dear Melrose,
Dear OpenProject people,

We got the same problem with our OpenProject testing system, moving from OpenProject 5 to 6 on CentOS 6.8 doesn’t work out of the box! After upgrading without adding the perl module (.pm file) apache returns a internal error and shows this line:

failed to resolve handler `Apache2::Reload': Can't locate Apache2/Reload.pm in @INC (@INC contains: /usr/lib64/perl5/vendor_perl /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 61) line 3.\n

On the error log

Even if the Melrose Brown’s solution works and seems to fix this issue we would like to know if you have a better solution before upgrading our production system?

Best regards,
Julian

RE: RESOLVED: 500 Internal server error after upgrade to version 6 - Added by Niels Lindenthal over 8 years ago

Hi guys,

are you using RHEL 6? I am asking because we do not support this version anymore using the standard rpm packages. One solution would be to upgrade your OS to RHEL 7.

Best
Nies

RE: RESOLVED: 500 Internal server error after upgrade to version 6 - Added by Julian Vanden Broeck over 8 years ago

Our openproject setup is based on CentOS 6.8 (final)!

[root@projects ~]# cat /etc/redhat-release 
CentOS release 6.8 (Final)

And it was installed from this repository:

[root@projects ~]# cat /etc/yum.repos.d/openproject.repo 
[openproject]
name=Repository for opf/openproject-ce application.
baseurl=https://rpm.packager.io/gh/opf/openproject-ce/centos6/stable/5
enabled=1

and upgraded to the latest version with this one:

[root@projects ~]# cat /etc/yum.repos.d/openproject.repo 
[openproject]
name=Repository for opf/openproject-ce application.
baseurl=https://rpm.packager.io/gh/opf/openproject-ce/centos6/stable/6
enabled=1

So you don’t support this version but there is a repository for it? :( Could you tell me more about this?

Best regards,
Julian

  • (1 - 4/4)
Loading...