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. Cannot delete a specific user group

Cannot delete a specific user group

Added by b w about 10 years ago

Hi,
I have one issue with my OP installation. I have a specific user group which I cannot delete. Also I can’t delete any of its members or assigned projects. However, renaming of the group was possible.

When I try to delete it, I always get the message ‘Internal Error’ and the logfile contains the following:

Started DELETE "/admin/groups/40" for 192.168.101.20 at 2015-04-10 10:41:51 +0200
Processing by GroupsController#destroy as HTML
  Parameters: {"authenticity_token"=>"*REMOVED*", "id"=>"40"}
Completed 500 Internal Server Error in 20.9ms

NameError (uninitialized constant Meeting):
  app/models/watcher.rb:77:in `block in prune_single_user'
  app/models/watcher.rb:76:in `each'
  app/models/watcher.rb:76:in `prune_single_user'
  app/models/watcher.rb:47:in `prune'
  app/models/member.rb:204:in `unwatch_from_permission_change'
  app/models/member.rb:134:in `destroy_if_no_roles_left!'
  app/models/member.rb:192:in `do_remove_member_role'
  app/models/member.rb:97:in `remove_member_role_and_destroy_member_if_last'
  app/models/member_role.rb:93:in `block (2 levels) in remove_role_from_group_users'
  app/models/member_role.rb:93:in `each'
  app/models/member_role.rb:93:in `block in remove_role_from_group_users'
  app/models/member_role.rb:92:in `each'
  app/models/member_role.rb:92:in `remove_role_from_group_users'
  app/models/member_role.rb:61:in `destroy'
  app/controllers/groups_controller.rb:112:in `destroy'

A little bit of background information: The OP installation started with the initial 3.0.0 release and was later upgraded to 3.0.18. After this I realized that this error exists. Yesterday I switched to 4.0.9 but the error still exists.

Would be great if anyone could help me with this. Thanks in advance.

Greetings
Ben


Replies (2)

RE: Cannot delete a specific user group - Added by Douglas Leonardo about 10 years ago

Hello, you has plugins installed?

RE: Cannot delete a specific user group - Added by b w about 10 years ago

Hi,
well currently on the Plugins page there is ‘No data to display’.
However I had some plugins installed before upgrading to 4.x.
I think it was some meeting plugin, PDF export and time tracking (cannot remember the details).
But I think these were integrated into openproject by now.
Do you think there are some sideeffects from old plugins?
Greetings
Ben

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