Top Menu

Jump to content
Home
    • Projects
    • Work packages
    • 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
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Professional 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?
      Create a new account

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
  • Roadmap
  • Work packages
  • Calendars
  • Team planners
  • Boards
  • Forums
  • Wiki
    • Table of contents
      • Expanded. Click to collapseCollapsed. Click to showDeveloper
        • Hierarchy leafAccessibility Checklist
        • Hierarchy leafCode Review Guidelines
        • Expanded. Click to collapseCollapsed. Click to showContribution
          • Hierarchy leafGit Workflow
          • Hierarchy leafTranslations
        • Expanded. Click to collapseCollapsed. Click to showDeveloping Plugins
          • Hierarchy leafDeveloping an OmniAuth Authentication Plugin
        • Hierarchy leafRelease Process
        • Hierarchy leafReport a bug
        • Hierarchy leafSecurity
        • Hierarchy leafSetting up an OpenLDAP server for testing
        • Hierarchy leafTheme Features
      • Hierarchy leafDownload
      • Expanded. Click to collapseCollapsed. Click to showFeature tour
        • Hierarchy leafRelease Notes OpenProject 30
        • Expanded. Click to collapseCollapsed. Click to showRelease Notes OpenProject 30 - Overview
          • Hierarchy leafGlossary
          • Hierarchy leafRelease Notes - Accessibility
          • Hierarchy leafRelease Notes - Accessibility changes
          • Hierarchy leafRelease Notes - Add work package queries as menu items to sidebar
          • Hierarchy leafRelease Notes - Copy projects based on Templates
          • Hierarchy leafRelease Notes - Design changes
          • Hierarchy leafRelease Notes - Fixed Bugs
          • Hierarchy leafRelease Notes - Keyboard Shortcuts
          • Hierarchy leafRelease Notes - Project settings
          • Hierarchy leafRelease Notes - Ruby&Rails Update
          • Hierarchy leafRelease Notes - Security
          • Hierarchy leafRelease Notes - Timelines
          • Hierarchy leafRelease Notes - Work packages
      • Hierarchy leafHowto create animated gifs
      • Hierarchy leafMigration Squashing
      • Hierarchy leafMod security
      • Hierarchy leafNew work package page
      • Hierarchy leafOP3 to OP4 Debian upgrade
      • Hierarchy leafOP4 Ubuntu1404 Stable with MySQL in production
      • Hierarchy leafOpenProject 40 Development Setup
      • Expanded. Click to collapseCollapsed. Click to showOpenProject Foundation
        • Hierarchy leafBoards
        • Hierarchy leafMembers
        • Hierarchy leafOPF-Meetings
        • Hierarchy leafStatutes
      • Expanded. Click to collapseCollapsed. Click to showRelease Notes
        • Hierarchy leafOpenProject released on Bitnami
      • Expanded. Click to collapseCollapsed. Click to showRelease Notes OpenProject 40 - Overview
        • Hierarchy leafRelease Notes OpenProject 40 - Accessibility improvements
        • Hierarchy leafRelease Notes OpenProject 40 - Column header functions in work package table
        • Hierarchy leafRelease Notes OpenProject 40 - Improved Design
        • Hierarchy leafRelease Notes OpenProject 40 - Integrated query title on work package page
        • Hierarchy leafRelease Notes OpenProject 40 - Integrated toolbar on work package page
        • Hierarchy leafRelease Notes OpenProject 40 - OmniAuth integration for OpenProject
        • Hierarchy leafRelease Notes OpenProject 40 - Work package details pane
      • Expanded. Click to collapseCollapsed. Click to showSecurity and privacy
        • Hierarchy leafFAQ
      • Expanded. Click to collapseCollapsed. Click to showSupport
        • Expanded. Click to collapseCollapsed. Click to showDownload and Installation
          • Hierarchy leafInstallation MacOS
          • Expanded. Click to collapseCollapsed. Click to showInstallation OpenProject 3 0
            • Hierarchy leafDebian Stable with MySQL in production
            • Hierarchy leafInstallation Ubuntu
            • Hierarchy leafInstallation Windows
            • Hierarchy leafInstallation on Centos 65 x64 with Apache and PostgreSQL 93
          • Expanded. Click to collapseCollapsed. Click to showInstallation OpenProject 40
            • Hierarchy leafOP4 Debian Stable with MySQL in production
          • Expanded. Click to collapseCollapsed. Click to showMigration paths
            • Hierarchy leafFrom Chilliproject to OpenProject
            • Hierarchy leafMigration 15 to 30
            • Hierarchy leafMigration 24 to 30
            • Hierarchy leafMigration Redmine 2x › OpenProject 30
            • Hierarchy leafOpenProject 3 Migration
          • Hierarchy leafOpenProject 40
        • Expanded. Click to collapseCollapsed. Click to showNews
          • Hierarchy leafNew OpenProject Translations Plugin
          • Hierarchy leafNew Plugin on OpenProjectorg Local Avatars
          • Hierarchy leafNew design for OpenProject
          • Hierarchy leafNews Accessibility workshop for OpenProject
          • Hierarchy leafNews Glossary for OpenProject
          • Hierarchy leafNews Heartbleed fixed
          • Hierarchy leafNews Icon Fonts
          • Hierarchy leafNews OpenProject 30 Release
          • Hierarchy leafNews Release GitHub Integration Plugin
          • Hierarchy leafNews Success Story Deutsche Telekom
          • Hierarchy leafNews Timelines
          • Hierarchy leafOpenProject 3013 released
          • Hierarchy leafOpenProject 3017 released
          • Hierarchy leafOpenProject 40 released
          • Hierarchy leafOpenProject 40 will be coming soon
          • Hierarchy leafOpenProject 405 released
          • Hierarchy leafOpenProject and pkgrio
          • Hierarchy leafOpenProject news moved to a new blog
          • Hierarchy leafOpenProjectBitnami
          • Hierarchy leafPackager version with plugins released ("Community edition")
          • Hierarchy leafRegistration OpenProject-Foundation
          • Hierarchy leafRelease OpenProject AuthPlugins
          • Hierarchy leafUpdates on OpenProject
          • Hierarchy leafWe need your feedback for the the new fullscreen view for work packages
        • Hierarchy leafOpenProject Plug-Ins
      • Expanded. Click to collapseCollapsed. Click to showWiki
        • Hierarchy leaf2nd Level Support
You are here:
  • Forums
  • General discussion

Content

Internal error when accessing work packages

Added by alex r over 8 years ago

Hi all,

I have a new instance of OpenProject installed on ubuntu 10.4 - I followed the manual instructions - and when I try to access a work package, any type of work package, I get an internal server error.

In openproject/logs/production.log I have no meesage.

In /var/log/apache2/error.log I have the following entries
App 16965 stderr: /home/openproject/openproject/config/initializers/10-patches.rb:68:in `rescue in human_attribute_name’ : [DEPRECATION] Relying on Redmine::I18n addition of `field_` to your translation key “id” on the “WorkPackage” model is deprecated. Please use proper ActiveRecord i18n!
App 16965 stderr: Caught: translation missing: en.activerecord.attributes.work_package.id (StandardWarning)

Is there another log I can look into?

Thanks a lot!
Alex


Replies (21)

RE: Internal error when accessing work packages - Added by Stu Thomas about 8 years ago

BUMP … I go the same error.log on my fresh install after trying to addd a Work Package to my first Project … Does anyone have a solution to fix this without completely reinstalling?

RE: Internal error when accessing work packages - Added by Mikael Engström about 8 years ago

Also getting the same using a demo account on demoname.openproject.com

RE: Internal error when accessing work packages - Added by alex r about 8 years ago

@Thomas, in my case the problem was caused by the order of the plugins in Gemfile.plugins. After I changed it, everything worked ok - I found the solution somewhere on the forum, but now I cannot find the post :(.

The current working order I have in my Gemfile.plugins is:

gem “openproject-pdf_export”, git: “https://github.com/finnlabs/openproject-pdf_export.git”, :branch => “stable”

gem ‘openproject-costs’, :git => ‘https://github.com/finnlabs/openproject-costs.git’, :branch => ‘stable’

gem ‘openproject-meeting’, :git => ‘https://github.com/finnlabs/openproject-meeting.git’, :branch => ‘stable’

gem ‘openproject-my_project_page’, :git => ‘https://github.com/finnlabs/openproject-my_project_page.git’, :branch => ‘stable’

gem ‘openproject-documents’, :git => ‘https://github.com/opf/openproject-documents.git’, :branch => ‘stable’

gem ‘reporting_engine’, :git => ‘https://github.com/finnlabs/reporting_engine.git’, :branch => ‘stable’

gem “openproject-ensure_project_hierarchy”, :git => “https://github.com/oliverguenther/openproject-ensure_project_hierarchy.git”, :branch => ‘master’

gem “openproject-backlogs”, git: “https://github.com/finnlabs/openproject-backlogs.git”, :branch => “stable”

@Mikael, unfortunately I cannot help with the demo account…

Alex

RE: Internal error when accessing work packages - Added by Dumitru Gutu about 8 years ago

Hi Alex, could you tell us what version of Openproject package do you use, a core or a community edition?
Thanks.

RE: Internal error when accessing work packages - Added by alex r about 8 years ago

Hi Dumitru,

I’m using Openproject 4 - I did a manual install by taking the stable version form github (git describe says: v4.0.4-23-g0bf3a7c.)

Alex

RE: Internal error when accessing work packages - Added by Stu Thomas about 8 years ago

I ended up doing a fresh install … which fixed the problem

RE: Internal error when accessing work packages - Added by Dumitru Gutu about 8 years ago

Yes, I can also confirm that on fresh install I wasn’t able to reproduce the error mentined by “alex”

RE: Internal error when accessing work packages - Added by Kendell Welch almost 8 years ago

Did anyone ever figure this out? I have OpenProject 4 on Ubuntu. I changed the order of my Gemfile.plugins file as described above. I have uninstalled and reinstalled. Can’t get this to work. I can create projects just file, but can’t create a Work Package. Please Help!

RE: Internal error when accessing work packages - Added by alex r almost 8 years ago

I was able to get rid of the error by changing the order the extra packages were installed - I modified the Gemfile.plugins, and the following order had worked for me:

gem “openproject-pdf_export”, git: “https://github.com/finnlabs/openproject-pdf_export.git”, :branch => “stable”

gem ‘openproject-costs’, :git => ‘https://github.com/finnlabs/openproject-costs.git’, :branch => ‘stable’

gem ‘openproject-meeting’, :git => ‘https://github.com/finnlabs/openproject-meeting.git’, :branch => ‘stable’

gem ‘openproject-my_project_page’, :git => ‘https://github.com/finnlabs/openproject-my_project_page.git’, :branch => ‘stable’

gem ‘openproject-documents’, :git => ‘https://github.com/opf/openproject-documents.git’, :branch => ‘stable’

gem ‘reporting_engine’, :git => ‘https://github.com/finnlabs/reporting_engine.git’, :branch => ‘stable’

gem “openproject-ensure_project_hierarchy”, :git => “https://github.com/oliverguenther/openproject-ensure_project_hierarchy.git”, :branch => ‘master’

gem “openproject-backlogs”, git: “https://github.com/finnlabs/openproject-backlogs.git”, :branch => “stable”

Alex

RE: Internal error when accessing work packages - Added by Kendell Welch almost 8 years ago

Thanks, but I tried that. Still can’t create work packages.

RE: Internal error when accessing work packages - Added by alex r almost 8 years ago

:( unfortunately I have no other idea…

RE: Internal error when accessing work packages - Added by Kendell Welch almost 8 years ago

Could you possibly post your exact Gemfile.plugins file verbatim?

RE: Internal error when accessing work packages - Added by Kendell Welch almost 8 years ago

Did anybody figure this out? I have completely re-installed on both Ubuntu and Debian (yes, the supported versions, and yes, complete machine wipe) and I still get an internal error. I don’t know if the packaged installer is grabbing the wrong version(s) or something, but it don’t work. I have also followed the manual installation procedure by copy-and-pasting each command verbatim, and I can’t get that to work at all.

What’s up here?

Thanks,
Kendell

RE: Internal error when accessing work packages - Added by Karsten Gallinowski almost 8 years ago

Hi Kendell,

maybe we should start over and try again what went wrong during your installation. First of all from what you wrote above I can’t tell if you did a manual or packager installation. So can you please clarify this for me.

The next step should be to install everything step by step and check if it is working or not. Especially if you do a manual installation it is a good approach to install the core without plugins first. Then test if it is working. If it is proceed.

Unfortunately the installation of plugins is a manual and error prone process. So please try to get the core to work and come back and we will figure out what the problem is with the plugins together.

Or you use the package installation (Community Edition) and we try to get everything working with this version.

What do you think?

Regards,
Karsten

RE: Internal error when accessing work packages - Added by Kendell Welch almost 8 years ago

Hi Karsten,

I’ve done both the manual installation on the recommended version of Ubuntu (that doesn’t work at all,) and then completely wiped the machine, reinstalled the recommended version of Ubuntu, and did the packaged installation (openproject-ce) …experienced this problem. I again wiped the machine and installed the recommended version of Debian. Same problem.

The really weird thing here is, it seems random as to who experiences the problem. For instance, my boss’ account works fine with all features. However my account and another IT guy’s account can’t create work packages. All three accounts are identical as far as permissions.

I can’t really re-install at this point because we’ve started using the system and have a bunch of data in the system.

This has to be something tied to the accounts, and I haven’t the slightest clue what it is. Further, I don’t know what the default login to the MySQL server is, so I can’t even poke around in there to figure it out.

-Kendell

RE: Internal error when accessing work packages - Added by Karsten Gallinowski almost 8 years ago

Hi Kendell,

the MySQL password should be located in /etc/openproject-ce/install.dat. All other configuration information are also available in the directory /etc/openproject-ce.

What about the broken SMTP configuration we discovered in the other thread?

Regards,
Karsten

RE: Internal error when accessing work packages - Added by Kendell Welch almost 8 years ago

As for my Work Package issue, I got it resolved yesterday. I upgraded to 4.1.1…the first time around was a massive fail, but after a “apt-get remove openproject-ce” and “apt-get install openproject-ce” following the supplied instructions, magically everything worked correctly. I’m going full-steam on that front.

As for the email connectivity, I’m still working on that. I’ve modified configuration.yml as described in another thread, but no luck yet. Don’t know if rebooting the server will reset it. Also, while I don’t think this is the case, I’m not 100% positive that my SMTP server is working correctly, so I’ll look in to that today. I have another project to work on today that involves my Exchange server, so will investigate during that process.

RE: Internal error when accessing work packages - Added by Karsten Gallinowski almost 8 years ago

Hi Kendell,

thanks for the info. Please keep in mind that it is NOT recommended to configure openproject-ce via configruation.yml. Please use the openproject-ce config command for that. Packager installations work a little bit different from manual installations (especially when it comes to configuration).

Please read the following article https://www.openproject.org/open-source/packaged-installation/packaged-installation-community/ on how to configuration your installation (the “OpenProject command line tool” part of the article).

As always please inform us about progress. We will try to help.

Cheers,
Karsten

RE: Internal error when accessing work packages - Added by Kendell Welch almost 8 years ago

Karsten,

I configured using openoffice-ce reconfig, and got the email to seem as if it were working (and verified that my SMTP relay is working properly.) However, when I “Send a Test Email” from the Settings page, it says that it sent, but nothing comes through. I’ve seen a couple of other mentions of this on this forum, but no clear answers. I’m open to ideas :)

Thanks
Kendell

RE: Internal error when accessing work packages - Added by Kendell Welch almost 8 years ago

I wonder if hand-editing the configuration.yml file is my problem. When I did that (which I did initially) there were references to Environment variables. I notice now after having use the reconfigure utility, those variables are still not there. Should I replace with an original copy and try again. And if so, do you or someone else have a copy of the original sitting around somewhere?

RE: Internal error when accessing work packages - Added by Kendell Welch almost 8 years ago

I found a backup of the file and restored it to its original state. The ran “openproject-ce reconfigure”…no dice.

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