Issues

Issue #34 new

Internal error 500

Shila2
created an issue

Hello, I need help. I installed Redmine 2.3.1 with Bitnami Redmine installer. And it works. But after installing the wiki extensions plugin (0.6.3) Redmine doesn't open and Redmine 500 error occurs: "Internal error An error occurred on the page you were trying to access..."

The log file looks like this: Connecting to database specified by database.yml

OpenIdAuthentication.store is nil. Using in-memory store.

Migrating to Setup (1)

Migrating to IssueMove (2)

Migrating to IssueAddNote (3)

Migrating to ExportPdf (4)

Migrating to IssueStartDate (5)

Migrating to CalendarAndActivity (6)

Migrating to CreateJournals (7)

Migrating to CreateUserPreferences (8)

Migrating to AddHideMailPref (9)

Migrating to CreateComments (10)

Migrating to AddNewsCommentsCount (11)

Migrating to AddCommentsPermissions (12)

Migrating to CreateQueries (13)

Migrating to AddQueriesPermissions (14)

Migrating to CreateRepositories (15)

Migrating to AddRepositoriesPermissions (16)

Migrating to CreateSettings (17)

Migrating to SetDocAndFilesNotifications (18)

Migrating to AddIssueStatusPosition (19)

Migrating to AddRolePosition (20)

Migrating to AddTrackerPosition (21)

Migrating to SerializePossiblesValues (22)

Migrating to AddTrackerIsInRoadmap (23)

Migrating to AddRoadmapPermission (24)

Migrating to AddSearchPermission (25)

Migrating to AddRepositoryLoginAndPassword (26)

Migrating to CreateWikis (27)

Migrating to CreateWikiPages (28)

Migrating to CreateWikiContents (29)

Migrating to AddProjectsFeedsPermissions (30)

Migrating to AddRepositoryRootUrl (31)

Migrating to CreateTimeEntries (32)

Migrating to AddTimelogPermissions (33)

Migrating to CreateChangesets (34)

Migrating to CreateChanges (35)

Migrating to AddChangesetCommitDate (36)

Migrating to AddProjectIdentifier (37)

Migrating to AddCustomFieldIsFilter (38)

Migrating to CreateWatchers (39)

Migrating to CreateChangesetsIssues (40)

Migrating to RenameCommentToComments (41)

Migrating to CreateIssueRelations (42)

Migrating to AddRelationsPermissions (43)

Migrating to SetLanguageLengthToFive (44)

Migrating to CreateBoards (45)

Migrating to CreateMessages (46)

Migrating to AddBoardsPermissions (47)

Migrating to AllowNullVersionEffectiveDate (48)

Migrating to AddWikiDestroyPagePermission (49)

Migrating to AddWikiAttachmentsPermissions (50)

Migrating to AddProjectStatus (51)

Migrating to AddChangesRevision (52)

Migrating to AddChangesBranch (53)

Migrating to AddChangesetsScmid (54)

Migrating to AddRepositoriesType (55)

Migrating to AddRepositoriesChangesPermission (56)

Migrating to AddVersionsWikiPageTitle (57)

Migrating to AddIssueCategoriesAssignedToId (58)

Migrating to AddRolesAssignable (59)

Migrating to ChangeChangesetsCommitterLimit (60)

Migrating to AddRolesBuiltin (61)

Migrating to InsertBuiltinRoles (62)

Migrating to AddRolesPermissions (63)

Migrating to DropPermissions (64)

Migrating to AddSettingsUpdatedOn (65)

Migrating to AddCustomValueCustomizedIndex (66)

Migrating to CreateWikiRedirects (67)

Migrating to CreateEnabledModules (68)

Migrating to AddIssuesEstimatedHours (69)

Migrating to ChangeAttachmentsContentTypeLimit (70)

Migrating to AddQueriesColumnNames (71)

Migrating to AddEnumerationsPosition (72)

Migrating to AddEnumerationsIsDefault (73)

Migrating to AddAuthSourcesTls (74)

Migrating to AddMembersMailNotification (75)

Migrating to AllowNullPosition (76)

Migrating to RemoveIssueStatusesHtmlColor (77)

Migrating to AddCustomFieldsPosition (78)

Migrating to AddUserPreferencesTimeZone (79)

Migrating to AddUsersType (80)

Creating scope :sorted. Overwriting existing method User.sorted.

Migrating to CreateProjectsTrackers (81)

Migrating to AddMessagesLocked (82)

Migrating to AddMessagesSticky (83)

Migrating to ChangeAuthSourcesAccountLimit (84)

Migrating to AddRoleTrackerOldStatusIndexToWorkflows (85)

Migrating to AddCustomFieldsSearchable (86)

Migrating to ChangeProjectsDescriptionToText (87)

Migrating to AddCustomFieldsDefaultValue (88)

Migrating to AddAttachmentsDescription (89)

Migrating to ChangeVersionsNameLimit (90)

Migrating to ChangeChangesetsRevisionToString (91)

Migrating to ChangeChangesFromRevisionToString (92)

Migrating to AddWikiPagesProtected (93)

Migrating to ChangeProjectsHomepageLimit (94)

Migrating to AddWikiPagesParentId (95)

Migrating to AddCommitAccessPermission (96)

Migrating to AddViewWikiEditsPermission (97)

Migrating to SetTopicAuthorsAsWatchers (98)

Migrating to AddDeleteWikiPagesAttachmentsPermission (99)

Migrating to AddChangesetsUserId (100)

Migrating to PopulateChangesetsUserId (101)

Migrating to AddCustomFieldsEditable (102)

Migrating to SetCustomFieldsEditable (103)

Migrating to AddProjectsLftAndRgt (104)

Migrating to BuildProjectsTree (105)

Migrating to RemoveProjectsProjectsCount (106)

Migrating to AddOpenIdAuthenticationTables (107)

Migrating to AddIdentityUrlToUsers (108)

Migrating to AddWatchersUserIdTypeIndex (20090214190337)

Migrating to AddQueriesSortCriteria (20090312172426)

Migrating to AddProjectsTrackersUniqueIndex (20090312194159)

Migrating to ExtendSettingsName (20090318181151)

Migrating to AddTypeToEnumerations (20090323224724)

Migrating to UpdateEnumerationsToSti (20090401221305)

Migrating to AddActiveFieldToEnumerations (20090401231134)

Migrating to AddProjectToEnumerations (20090403001910)

Migrating to AddParentIdToEnumerations (20090406161854)

Migrating to AddQueriesGroupBy (20090425161243)

Migrating to CreateMemberRoles (20090503121501)

Migrating to PopulateMemberRoles (20090503121505)

Migrating to DropMembersRoleId (20090503121510)

Migrating to FixMessagesStickyNull (20090614091200)

Migrating to PopulateUsersType (20090704172350)

Migrating to CreateGroupsUsers (20090704172355)

Migrating to AddMemberRolesInheritedFrom (20090704172358)

Migrating to FixUsersCustomValues (20091010093521)

Migrating to AddMissingIndexesToWorkflows (20091017212227)

Migrating to AddMissingIndexesToCustomFieldsProjects (20091017212457)

Migrating to AddMissingIndexesToMessages (20091017212644)

Migrating to AddMissingIndexesToRepositories (20091017212938)

Migrating to AddMissingIndexesToComments (20091017213027)

Migrating to AddMissingIndexesToEnumerations (20091017213113)

Migrating to AddMissingIndexesToWikiPages (20091017213151)

Migrating to AddMissingIndexesToWatchers (20091017213228)

Migrating to AddMissingIndexesToAuthSources (20091017213257)

Migrating to AddMissingIndexesToDocuments (20091017213332)

Migrating to AddMissingIndexesToTokens (20091017213444)

Migrating to AddMissingIndexesToChangesets (20091017213536)

Migrating to AddMissingIndexesToIssueCategories (20091017213642)

Migrating to AddMissingIndexesToMemberRoles (20091017213716)

Migrating to AddMissingIndexesToBoards (20091017213757)

Migrating to AddMissingIndexesToUserPreferences (20091017213835)

Migrating to AddMissingIndexesToIssues (20091017213910)

Migrating to AddMissingIndexesToMembers (20091017214015)

Migrating to AddMissingIndexesToCustomFields (20091017214107)

Migrating to AddMissingIndexesToQueries (20091017214136)

Migrating to AddMissingIndexesToTimeEntries (20091017214236)

Migrating to AddMissingIndexesToNews (20091017214308)

Migrating to AddMissingIndexesToUsers (20091017214336)

Migrating to AddMissingIndexesToAttachments (20091017214406)

Migrating to AddMissingIndexesToWikiContents (20091017214440)

Migrating to AddMissingIndexesToCustomValues (20091017214519)

Migrating to AddMissingIndexesToJournals (20091017214611)

Migrating to AddMissingIndexesToIssueRelations (20091017214644)

Migrating to AddMissingIndexesToWikiRedirects (20091017214720)

Migrating to AddMissingIndexesToCustomFieldsTrackers (20091017214750)

Migrating to AddActivityIndexes (20091025163651)

Migrating to AddVersionsStatus (20091108092559)

Migrating to AddViewIssuesPermission (20091114105931)

Migrating to AddDefaultDoneRatioToIssueStatus (20091123212029)

Migrating to AddVersionsSharing (20091205124427)

Migrating to AddLftAndRgtIndexesToProjects (20091220183509)

Migrating to AddIndexToSettingsName (20091220183727)

Migrating to AddIndexesToIssueStatus (20091220184736)

Migrating to RemoveEnumerationsOpt (20091225164732)

Migrating to ChangeWikiContentsTextLimit (20091227112908)

Migrating to ChangeUsersMailNotificationToString (20100129193402)

Migrating to UpdateMailNotificationValues (20100129193813)

Migrating to AddIndexOnChangesetsScmid (20100221100219)

Migrating to AddIssuesNestedSetsColumns (20100313132032)

Migrating to AddIndexOnIssuesNestedSet (20100313171051)

Migrating to ChangeChangesPathLengthLimit (20100705164950)

Migrating to EnableCalendarAndGanttModulesWhereAppropriate (20100819172912)

Migrating to AddUniqueIndexOnMembers (20101104182107)

Migrating to AddCustomFieldsVisible (20101107130441)

Migrating to ChangeProjectsNameLimit (20101114115114)

Migrating to ChangeProjectsIdentifierLimit (20101114115359)

Migrating to AddWorkflowsAssigneeAndAuthor (20110220160626)

Migrating to AddUsersSalt (20110223180944)

Migrating to SaltUserPasswords (20110223180953)

Migrating to AddRepositoriesPathEncoding (20110224000000)

Migrating to ChangeRepositoriesPasswordLimit (20110226120112)

Migrating to ChangeAuthSourcesAccountPasswordLimit (20110226120132)

Migrating to ChangeJournalDetailsValuesToText (20110227125750)

Migrating to AddRepositoriesLogEncoding (20110228000000)

Migrating to CopyRepositoriesLogEncoding (20110228000100)

Migrating to AddIndexToUsersType (20110401192910)

Migrating to AddRolesIssuesVisibility (20110408103312)

Migrating to AddIssuesIsPrivate (20110412065600)

Migrating to AddRepositoriesExtraInfo (20110511000000)

Migrating to CreateChangesetParents (20110902000000)

Migrating to AddUniqueIndexToIssueRelations (20111201201315)

Migrating to AddRepositoriesIdentifier (20120115143024)

Migrating to AddRepositoriesIsDefault (20120115143100)

Migrating to SetDefaultRepositories (20120115143126)

Migrating to AddCustomFieldsMultiple (20120127174243)

Migrating to ChangeUsersLoginLimit (20120205111326)

Migrating to ChangeAttachmentsContainerDefaults (20120223110929)

Migrating to AddAuthSourcesFilter (20120301153455)

Migrating to ChangeRepositoriesToFullSti (20120422150750)

Migrating to AddTrackersFieldsBits (20120705074331)

Migrating to AddAuthSourcesTimeout (20120707064544)

Migrating to AddWorkflowsType (20120714122000)

Migrating to UpdateWorkflowsToSti (20120714122100)

Migrating to AddWorkflowsRuleFields (20120714122200)

Migrating to AddBoardsParentId (20120731164049)

Migrating to AddEnumerationsPositionName (20121026002032)

Migrating to PopulateEnumerationsPositionName (20121026003537)

Migrating to AddQueriesType (20121209123234)

Migrating to UpdateQueriesToSti (20121209123358)

Migrating to AddAttachmentsDiskDirectory (20121213084931)

Migrating to SplitDocumentsPermissions (20130110122628)

Migrating to AddUniqueIndexOnTokensValue (20130201184705)

Migrating to AddProjectsInheritMembers (20130202090625)

Migrating to AddUniqueIndexOnCustomFieldsTrackers (20130207175206)

Migrating to AddUniqueIndexOnCustomFieldsProjects (20130207181455)

Migrating to ChangeUsersLastnameLengthTo255 (20130215073721)

Migrating to AddIssuesClosedOn (20130215111127)

Migrating to PopulateIssuesClosedOn (20130215111141)

Connecting to database specified by database.yml

OpenIdAuthentication.store is nil. Using in-memory store.

Connecting to database specified by database.yml

Connecting to database specified by database.yml

OpenIdAuthentication.store is nil. Using in-memory store.

OpenIdAuthentication.store is nil. Using in-memory store.

Creating scope :sorted. Overwriting existing method Group.sorted.

Creating scope :sorted. Overwriting existing method Group.sorted.

Creating scope :sorted. Overwriting existing method User.sorted.

Creating scope :sorted. Overwriting existing method User.sorted.

Connecting to database specified by database.yml

OpenIdAuthentication.store is nil. Using in-memory store.

Migrating to CreateWikiExtensionsComments (1)

Migrating to CreateWikiExtensionsTags (2)

Migrating to CreateWikiExtensionsTagRelations (3)

Migrating to CreateWikiExtensionsProjectSettings (4)

Migrating to CreateWikiExtensionsProjectMenus (5)

Migrating to RenameWikiExtensionsTables (6)

Migrating to CreateWikiExtensionsCounts (7)

Migrating to AddAutoPreview (8)

Migrating to AddParentId (9)

Migrating to AddDisableSidebar (10)

Migrating to RemoveDisableSidebar (11)

Connecting to database specified by database.yml

Connecting to database specified by database.yml

OpenIdAuthentication.store is nil. Using in-memory store.

OpenIdAuthentication.store is nil. Using in-memory store.

Creating scope :sorted. Overwriting existing method Group.sorted.

Creating scope :sorted. Overwriting existing method Group.sorted.

Creating scope :sorted. Overwriting existing method User.sorted.

Creating scope :sorted. Overwriting existing method User.sorted.

Started GET "/redmine/" for 127.0.0.1 at 2013-06-28 11:55:21 +0200

Processing by WelcomeController#index as HTML

Current user: anonymous

Rendered welcome/index.html.erb within layouts/base (140.6ms)

Missing template, responding with 404

Rendered common/error.html.erb within layouts/base (0.0ms)

Completed 500 Internal Server Error in 1141ms

ActionView::Template::Error (Missing partial wiki_extensions/html_header with {:locale=>[:de, :en], :formats=>[:html], :handlers=>[:erb, :builder, :rsb]}. Searched in:

  • "C:/BitNami/redmine-2.3.1-1/apps/redmine/htdocs/plugins/redmine_wiki_extensions/app/views"

  • "C:/BitNami/redmine-2.3.1-1/apps/redmine/htdocs/app/views" ): 11: <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>

    12: <%= javascript_heads %>

    13: <%= heads_for_theme %>

    14: <%= call_hook :view_layouts_base_html_head %>

    15: <!-- page specific tags -->

    16: <%= yield :header_tags -%>

    17: </head> lib/redmine/hook.rb:111:in `block in render_on'

lib/redmine/hook.rb:61:in `block (2 levels) in call_hook'

lib/redmine/hook.rb:61:in `each'

lib/redmine/hook.rb:61:in `block in call_hook'

lib/redmine/hook.rb:58:in `tap'

lib/redmine/hook.rb:58:in `call_hook'

lib/redmine/hook.rb:158:in `call_hook'

app/views/layouts/base.html.erb:14:in

`_app_views_layouts_base_html_erb__491554530_33271728'

app/controllers/application_controller.rb:397:in `block (2 levels) in render_error

app/controllers/application_controller.rb:395:in `render_error'

app/controllers/application_controller.rb:383:in `render_404'

app/controllers/application_controller.rb:407:in `missing_template'

Could anybody help me please? Thanks!

Comments (3)

  1. James Wang

    I come across the same problem

    Started GET "/redmine/" for 10.10.79.203 at Sat Apr 05 16:21:35 +0800 2014
    Processing by WelcomeController#index as HTML
      Current user: wangjun (id=7)
      Rendered news/_news.html.erb (12.8ms)
      Rendered welcome/index.html.erb within layouts/base (98.8ms)
    Missing template, responding with 404
      Rendered common/error.html.erb within layouts/base (0.4ms)
    Completed 500 Internal Server Error in 233.4ms
    
    ActionView::Template::Error (Missing partial wiki_extensions/html_header with {:locale=>[:en], :formats=>[:html], :handlers=>[:rsb, :builder, :erb]}. Searched in:
      * "/home/soter/redmine/redmine-2.4.2/plugins/redmine_hudson/app/views"
      * "/home/soter/redmine/redmine-2.4.2/app/views"
    ):
        11: <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
        12: <%= javascript_heads %>
        13: <%= heads_for_theme %>
        14: <%= call_hook :view_layouts_base_html_head %>
        15: <!-- page specific tags -->
        16: <%= yield :header_tags -%>
        17: </head>
      lib/redmine/hook.rb:111:in `send'
      lib/redmine/hook.rb:111:in `view_layouts_base_html_head'
      lib/redmine/hook.rb:61:in `send'
      lib/redmine/hook.rb:61:in `call_hook'
      lib/redmine/hook.rb:61:in `each'
      lib/redmine/hook.rb:61:in `call_hook'
      lib/redmine/hook.rb:58:in `tap'
      lib/redmine/hook.rb:58:in `call_hook'
      lib/redmine/hook.rb:158:in `call_hook'
      app/views/layouts/base.html.erb:14:in `_app_views_layouts_base_html_erb__47433482_69850086566260'
      app/controllers/application_controller.rb:429:in `render_error'
      app/controllers/application_controller.rb:427:in `render_error'
      app/controllers/application_controller.rb:415:in `render_404'
      app/controllers/application_controller.rb:439:in `missing_template'
    
  2. andreashe

    We had the same problem. It is caused by the code in init.rb. Starting from line 24, Haru included all the files from the "lib" directory. It seems the intention was to initialize all macro extensions. However, the code also includes the xyz_patch.rb files, which will then again be included for the patches. Anyway, I changed the code to not include the xyz_patch.rb-files there and it worked for me. Cheers, Andreas

  3. Log in to comment