Giter Site home page Giter Site logo

Comments (16)

koppen avatar koppen commented on June 29, 2024

I haven't verified compatibility with 2.1 yet, however I'd expect it to work. Did you remember to restart the webserver after adding the plugin?

from redmine_github_hook.

khelal avatar khelal commented on June 29, 2024

Hi Jakob, thx for quick reply. yes I did and even verified that the plugin appears in the Administration > Information tab.

from redmine_github_hook.

khelal avatar khelal commented on June 29, 2024

Hi Jakob, any ideas on this? we're still unable to sync up with github. Thx.

from redmine_github_hook.

koppen avatar koppen commented on June 29, 2024

I have verified that the plugin indeed works fine on Redmine 2.1, so I cannot explain why you're seeing the result, you do.

The only thing I can think of is the app server not having been restarted, but if you see the plugin under /admin/plugins it has been.

Does other plugins work okay?

Could you post the output of rake routes?

from redmine_github_hook.

khelal avatar khelal commented on June 29, 2024

sure! here you go:

ubuntu@ip-10-32-57-164:/var/www/redmine$ rake routes
Rails Error: Unable to access log file. Please ensure that /var/www/redmine/log/production.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.
OpenIdAuthentication.store is nil. Using in-memory store.
                                  home              /                                                                                 welcome#index
                                signin              /login(.:format)                                                                  account#login
                               signout              /logout(.:format)                                                                 account#logout
                              register GET|POST     /account/register(.:format)                                                       account#register
                         lost_password GET|POST     /account/lost_password(.:format)                                                  account#lost_password
                      account_activate GET          /account/activate(.:format)                                                       account#activate
                          preview_news              /news/preview(.:format)                                                           previews#news
                     preview_new_issue              /issues/preview/new/:project_id(.:format)                                         previews#issue
                    preview_edit_issue              /issues/preview/edit/:id(.:format)                                                previews#issue
                         preview_issue              /issues/preview(.:format)                                                         previews#issue
                                       POST         /projects/:id/wiki(.:format)                                                      wikis#edit
                                       GET|POST     /projects/:id/wiki/destroy(.:format)                                              wikis#destroy
                                       GET|POST     /boards/:board_id/topics/new(.:format)                                            messages#new
                         board_message GET          /boards/:board_id/topics/:id(.:format)                                            messages#show
                                       GET|POST     /boards/:board_id/topics/quote/:id(.:format)                                      messages#quote
                                       GET          /boards/:board_id/topics/:id/edit(.:format)                                       messages#edit
                                       POST         /boards/:board_id/topics/preview(.:format)                                        messages#preview
                                       POST         /boards/:board_id/topics/:id/replies(.:format)                                    messages#reply
                                       POST         /boards/:board_id/topics/:id/edit(.:format)                                       messages#edit
                                       POST         /boards/:board_id/topics/:id/destroy(.:format)                                    messages#destroy
                  auto_complete_issues GET          /issues/auto_complete(.:format)                                                   auto_completes#issues
                   issues_context_menu              /issues/context_menu(.:format)                                                    context_menus#issues
                         issue_changes              /issues/changes(.:format)                                                         journals#index
                          quoted_issue POST         /issues/:id/quoted(.:format)                                                      journals#new {:id=>/\d+/}
                                       GET          /journals/diff/:id(.:format)                                                      journals#diff {:id=>/\d+/}
                                       GET|POST     /journals/edit/:id(.:format)                                                      journals#edit {:id=>/\d+/}
                                                    /projects/:project_id/issues/gantt(.:format)                                      gantts#show
                          issues_gantt              /issues/gantt(.:format)                                                           gantts#show
                                                    /projects/:project_id/issues/calendar(.:format)                                   calendars#show
                       issues_calendar              /issues/calendar(.:format)                                                        calendars#show
                                       GET          /projects/:id/issues/report(.:format)                                             reports#issue_report
                                       GET          /projects/:id/issues/report/:detail(.:format)                                     reports#issue_report_details
                            my_account GET|POST     /my/account(.:format)                                                             my#account
                    my_account_destroy GET|POST     /my/account/destroy(.:format)                                                     my#destroy
                               my_page GET          /my/page(.:format)                                                                my#page
                                    my GET          /my(.:format)                                                                     my#index
                      my_reset_rss_key POST         /my/reset_rss_key(.:format)                                                       my#reset_rss_key
                      my_reset_api_key POST         /my/reset_api_key(.:format)                                                       my#reset_api_key
                           my_password GET|POST     /my/password(.:format)                                                            my#password
                        my_page_layout GET          /my/page_layout(.:format)                                                         my#page_layout
                          my_add_block POST         /my/add_block(.:format)                                                           my#add_block
                       my_remove_block POST         /my/remove_block(.:format)                                                        my#remove_block
                       my_order_blocks POST         /my/order_blocks(.:format)                                                        my#order_blocks
                                 users GET          /users(.:format)                                                                  users#index
                                       POST         /users(.:format)                                                                  users#create
                              new_user GET          /users/new(.:format)                                                              users#new
                             edit_user GET          /users/:id/edit(.:format)                                                         users#edit
                                  user GET          /users/:id(.:format)                                                              users#show
                                       PUT          /users/:id(.:format)                                                              users#update
                                       DELETE       /users/:id(.:format)                                                              users#destroy
                       user_membership PUT          /users/:id/memberships/:membership_id(.:format)                                   users#edit_membership
                                       DELETE       /users/:id/memberships/:membership_id(.:format)                                   users#destroy_membership
                      user_memberships POST         /users/:id/memberships(.:format)                                                  users#edit_membership
                          watchers_new GET          /watchers/new(.:format)                                                           watchers#new
                              watchers POST         /watchers(.:format)                                                               watchers#create
                       watchers_append POST         /watchers/append(.:format)                                                        watchers#append
                      watchers_destroy POST         /watchers/destroy(.:format)                                                       watchers#destroy
                        watchers_watch POST         /watchers/watch(.:format)                                                         watchers#watch
                      watchers_unwatch POST         /watchers/unwatch(.:format)                                                       watchers#unwatch
        watchers_autocomplete_for_user GET          /watchers/autocomplete_for_user(.:format)                                         watchers#autocomplete_for_user
                                                    /projects/:id/settings/:tab(.:format)                                             projects#settings
                      settings_project GET          /projects/:id/settings(.:format)                                                  projects#settings
                       modules_project POST         /projects/:id/modules(.:format)                                                   projects#modules
                       archive_project POST         /projects/:id/archive(.:format)                                                   projects#archive
                     unarchive_project POST         /projects/:id/unarchive(.:format)                                                 projects#unarchive
                         close_project POST         /projects/:id/close(.:format)                                                     projects#close
                        reopen_project POST         /projects/:id/reopen(.:format)                                                    projects#reopen
                          copy_project GET|POST     /projects/:id/copy(.:format)                                                      projects#copy
      autocomplete_project_memberships GET          /projects/:project_id/memberships/autocomplete(.:format)                          members#autocomplete
                   project_memberships GET          /projects/:project_id/memberships(.:format)                                       members#index
                                       POST         /projects/:project_id/memberships(.:format)                                       members#create
                            membership GET          /memberships/:id(.:format)                                                        members#show
                                       PUT          /memberships/:id(.:format)                                                        members#update
                                       DELETE       /memberships/:id(.:format)                                                        members#destroy
                  project_enumerations PUT          /projects/:project_id/enumerations(.:format)                                      project_enumerations#update
                                       DELETE       /projects/:project_id/enumerations(.:format)                                      project_enumerations#destroy
                                                    /projects/:project_id/issues/:copy_from/copy(.:format)                            issues#new
     report_project_issue_time_entries GET          /projects/:project_id/issues/:issue_id/time_entries/report(.:format)              timelog#report
            project_issue_time_entries GET          /projects/:project_id/issues/:issue_id/time_entries(.:format)                     timelog#index
                                       POST         /projects/:project_id/issues/:issue_id/time_entries(.:format)                     timelog#create
          new_project_issue_time_entry GET          /projects/:project_id/issues/:issue_id/time_entries/new(.:format)                 timelog#new
         edit_project_issue_time_entry GET          /projects/:project_id/issues/:issue_id/time_entries/:id/edit(.:format)            timelog#edit
              project_issue_time_entry GET          /projects/:project_id/issues/:issue_id/time_entries/:id(.:format)                 timelog#show
                                       PUT          /projects/:project_id/issues/:issue_id/time_entries/:id(.:format)                 timelog#update
                                       DELETE       /projects/:project_id/issues/:issue_id/time_entries/:id(.:format)                 timelog#destroy
                        project_issues GET          /projects/:project_id/issues(.:format)                                            issues#index
                                       POST         /projects/:project_id/issues(.:format)                                            issues#create
                     new_project_issue GET          /projects/:project_id/issues/new(.:format)                                        issues#new
                    project_issue_form PUT|POST     /projects/:project_id/issues/new(.:format)                                        issues#new
                         project_files GET          /projects/:project_id/files(.:format)                                             files#index
                                       POST         /projects/:project_id/files(.:format)                                             files#create
                      new_project_file GET          /projects/:project_id/files/new(.:format)                                         files#new
      close_completed_project_versions PUT          /projects/:project_id/versions/close_completed(.:format)                          versions#close_completed
                      project_versions POST         /projects/:project_id/versions(.:format)                                          versions#create
                   new_project_version GET          /projects/:project_id/versions/new(.:format)                                      versions#new
                                                    /projects/:project_id/versions.:format                                            versions#index
                       project_roadmap              /projects/:project_id/roadmap                                                     versions#index
                                                    /projects/:project_id/versions(.:format)                                          versions#index
                    project_news_index GET          /projects/:project_id/news(.:format)                                              news#index
                                       POST         /projects/:project_id/news(.:format)                                              news#create
                      new_project_news GET          /projects/:project_id/news/new(.:format)                                          news#new
           report_project_time_entries GET          /projects/:project_id/time_entries/report(.:format)                               timelog#report
                  project_time_entries GET          /projects/:project_id/time_entries(.:format)                                      timelog#index
                                       POST         /projects/:project_id/time_entries(.:format)                                      timelog#create
                new_project_time_entry GET          /projects/:project_id/time_entries/new(.:format)                                  timelog#new
               edit_project_time_entry GET          /projects/:project_id/time_entries/:id/edit(.:format)                             timelog#edit
                    project_time_entry GET          /projects/:project_id/time_entries/:id(.:format)                                  timelog#show
                                       PUT          /projects/:project_id/time_entries/:id(.:format)                                  timelog#update
                                       DELETE       /projects/:project_id/time_entries/:id(.:format)                                  timelog#destroy
                       project_queries POST         /projects/:project_id/queries(.:format)                                           queries#create
                     new_project_query GET          /projects/:project_id/queries/new(.:format)                                       queries#new
              project_issue_categories GET          /projects/:project_id/issue_categories(.:format)                                  issue_categories#index
                                       POST         /projects/:project_id/issue_categories(.:format)                                  issue_categories#create
            new_project_issue_category GET          /projects/:project_id/issue_categories/new(.:format)                              issue_categories#new
                   edit_issue_category GET          /issue_categories/:id/edit(.:format)                                              issue_categories#edit
                        issue_category GET          /issue_categories/:id(.:format)                                                   issue_categories#show
                                       PUT          /issue_categories/:id(.:format)                                                   issue_categories#update
                                       DELETE       /issue_categories/:id(.:format)                                                   issue_categories#destroy
                     project_documents GET          /projects/:project_id/documents(.:format)                                         documents#index
                                       POST         /projects/:project_id/documents(.:format)                                         documents#create
                  new_project_document GET          /projects/:project_id/documents/new(.:format)                                     documents#new
                        project_boards GET          /projects/:project_id/boards(.:format)                                            boards#index
                                       POST         /projects/:project_id/boards(.:format)                                            boards#create
                     new_project_board GET          /projects/:project_id/boards/new(.:format)                                        boards#new
                    edit_project_board GET          /projects/:project_id/boards/:id/edit(.:format)                                   boards#edit
                         project_board GET          /projects/:project_id/boards/:id(.:format)                                        boards#show
                                       PUT          /projects/:project_id/boards/:id(.:format)                                        boards#update
                                       DELETE       /projects/:project_id/boards/:id(.:format)                                        boards#destroy
                 committers_repository GET|POST     /repositories/:id/committers(.:format)                                            repositories#committers
                  project_repositories POST         /projects/:project_id/repositories(.:format)                                      repositories#create
                new_project_repository GET          /projects/:project_id/repositories/new(.:format)                                  repositories#new
                       edit_repository GET          /repositories/:id/edit(.:format)                                                  repositories#edit
                            repository PUT          /repositories/:id(.:format)                                                       repositories#update
                                       DELETE       /repositories/:id(.:format)                                                       repositories#destroy
                    project_wiki_index GET          /projects/:project_id/wiki/index(.:format)                                        wiki#index
                                                    /projects/:project_id/wiki/:id/diff/:version/vs/:version_from(.:format)           wiki#diff
                                                    /projects/:project_id/wiki/:id/diff/:version(.:format)                            wiki#diff
                   rename_project_wiki GET          /projects/:project_id/wiki/:id/rename(.:format)                                   wiki#rename
                                       POST         /projects/:project_id/wiki/:id/rename(.:format)                                   wiki#rename
                  history_project_wiki GET          /projects/:project_id/wiki/:id/history(.:format)                                  wiki#history
                     diff_project_wiki GET          /projects/:project_id/wiki/:id/diff(.:format)                                     wiki#diff
                  preview_project_wiki POST|PUT     /projects/:project_id/wiki/:id/preview(.:format)                                  wiki#preview
                  protect_project_wiki POST         /projects/:project_id/wiki/:id/protect(.:format)                                  wiki#protect
           add_attachment_project_wiki POST         /projects/:project_id/wiki/:id/add_attachment(.:format)                           wiki#add_attachment
             export_project_wiki_index GET          /projects/:project_id/wiki/export(.:format)                                       wiki#export
         date_index_project_wiki_index GET          /projects/:project_id/wiki/date_index(.:format)                                   wiki#date_index
                     edit_project_wiki GET          /projects/:project_id/wiki/:id/edit(.:format)                                     wiki#edit
                          project_wiki GET          /projects/:project_id/wiki/:id(.:format)                                          wiki#show
                                       PUT          /projects/:project_id/wiki/:id(.:format)                                          wiki#update
                                       DELETE       /projects/:project_id/wiki/:id(.:format)                                          wiki#destroy
                                       GET          /projects/:project_id/wiki(.:format)                                              wiki#show
                                                    /projects/:project_id/wiki/:id/annotate/:version(.:format)                        wiki#annotate
                              projects GET          /projects(.:format)                                                               projects#index
                                       POST         /projects(.:format)                                                               projects#create
                           new_project GET          /projects/new(.:format)                                                           projects#new
                          edit_project GET          /projects/:id/edit(.:format)                                                      projects#edit
                               project GET          /projects/:id(.:format)                                                           projects#show
                                       PUT          /projects/:id(.:format)                                                           projects#update
                                       DELETE       /projects/:id(.:format)                                                           projects#destroy
                      bulk_edit_issues GET|POST     /issues/bulk_edit(.:format)                                                       issues#bulk_edit
                    bulk_update_issues POST         /issues/bulk_update(.:format)                                                     issues#bulk_update
             report_issue_time_entries GET          /issues/:issue_id/time_entries/report(.:format)                                   timelog#report
                    issue_time_entries GET          /issues/:issue_id/time_entries(.:format)                                          timelog#index
                                       POST         /issues/:issue_id/time_entries(.:format)                                          timelog#create
                  new_issue_time_entry GET          /issues/:issue_id/time_entries/new(.:format)                                      timelog#new
                 edit_issue_time_entry GET          /issues/:issue_id/time_entries/:id/edit(.:format)                                 timelog#edit
                      issue_time_entry GET          /issues/:issue_id/time_entries/:id(.:format)                                      timelog#show
                                       PUT          /issues/:issue_id/time_entries/:id(.:format)                                      timelog#update
                                       DELETE       /issues/:issue_id/time_entries/:id(.:format)                                      timelog#destroy
                       issue_relations GET          /issues/:issue_id/relations(.:format)                                             issue_relations#index
                                       POST         /issues/:issue_id/relations(.:format)                                             issue_relations#create
                              relation GET          /relations/:id(.:format)                                                          issue_relations#show
                                       DELETE       /relations/:id(.:format)                                                          issue_relations#destroy
                                issues GET          /issues(.:format)                                                                 issues#index
                                       POST         /issues(.:format)                                                                 issues#create
                             new_issue GET          /issues/new(.:format)                                                             issues#new
                            edit_issue GET          /issues/:id/edit(.:format)                                                        issues#edit
                                 issue GET          /issues/:id(.:format)                                                             issues#show
                                       PUT          /issues/:id(.:format)                                                             issues#update
                                       DELETE       /issues/:id(.:format)                                                             issues#destroy
                                       DELETE       /issues(.:format)                                                                 issues#destroy
                               queries GET          /queries(.:format)                                                                queries#index
                                       POST         /queries(.:format)                                                                queries#create
                             new_query GET          /queries/new(.:format)                                                            queries#new
                            edit_query GET          /queries/:id/edit(.:format)                                                       queries#edit
                                 query PUT          /queries/:id(.:format)                                                            queries#update
                                       DELETE       /queries/:id(.:format)                                                            queries#destroy
                            news_index GET          /news(.:format)                                                                   news#index
                             edit_news GET          /news/:id/edit(.:format)                                                          news#edit
                                  news GET          /news/:id(.:format)                                                               news#show
                                       PUT          /news/:id(.:format)                                                               news#update
                                       DELETE       /news/:id(.:format)                                                               news#destroy
                                       POST         /news/:id/comments(.:format)                                                      comments#create
                                       DELETE       /news/:id/comments/:comment_id(.:format)                                          comments#destroy
                     status_by_version POST         /versions/:id/status_by(.:format)                                                 versions#status_by
                          edit_version GET          /versions/:id/edit(.:format)                                                      versions#edit
                               version GET          /versions/:id(.:format)                                                           versions#show
                                       PUT          /versions/:id(.:format)                                                           versions#update
                                       DELETE       /versions/:id(.:format)                                                           versions#destroy
               add_attachment_document POST         /documents/:id/add_attachment(.:format)                                           documents#add_attachment
                         edit_document GET          /documents/:id/edit(.:format)                                                     documents#edit
                              document GET          /documents/:id(.:format)                                                          documents#show
                                       PUT          /documents/:id(.:format)                                                          documents#update
                                       DELETE       /documents/:id(.:format)                                                          documents#destroy
             time_entries_context_menu              /time_entries/context_menu(.:format)                                              context_menus#time_entries
                   report_time_entries GET          /time_entries/report(.:format)                                                    timelog#report
                bulk_edit_time_entries GET          /time_entries/bulk_edit(.:format)                                                 timelog#bulk_edit
              bulk_update_time_entries POST         /time_entries/bulk_update(.:format)                                               timelog#bulk_update
                          time_entries GET          /time_entries(.:format)                                                           timelog#index
                                       POST         /time_entries(.:format)                                                           timelog#create
                        new_time_entry GET          /time_entries/new(.:format)                                                       timelog#new
                       edit_time_entry GET          /time_entries/:id/edit(.:format)                                                  timelog#edit
                            time_entry GET          /time_entries/:id(.:format)                                                       timelog#show
                                       PUT          /time_entries/:id(.:format)                                                       timelog#update
                                       DELETE       /time_entries/:id(.:format)                                                       timelog#destroy {:id=>/\d+/}
                  time_entries_destroy DELETE       /time_entries/destroy(.:format)                                                   timelog#destroy
                                       GET          /projects/:id/settings/:tab(.:format)                                             projects#settings
                                       GET          /projects/:id/activity(.:format)                                                  activities#index
                                       GET          /projects/:id/activity.:format                                                    activities#index
                              activity GET          /activity(.:format)                                                               activities#index
                                       GET          /projects/:id/repository/:repository_id/statistics(.:format)                      repositories#stats
                                       GET          /projects/:id/repository/:repository_id/graph(.:format)                           repositories#graph
                                       GET          /projects/:id/repository/:repository_id/changes(/*path(.:ext))(.:format)          repositories#changes
                                       GET          /projects/:id/repository/:repository_id/revisions/:rev(.:format)                  repositories#revision
                                       GET          /projects/:id/repository/:repository_id/revision(.:format)                        repositories#revision
                                       POST         /projects/:id/repository/:repository_id/revisions/:rev/issues(.:format)           repositories#add_related_issue
                                       DELETE       /projects/:id/repository/:repository_id/revisions/:rev/issues/:issue_id(.:format) repositories#remove_related_issue
                                       GET          /projects/:id/repository/:repository_id/revisions(.:format)                       repositories#revisions
                                       GET          /projects/:id/repository/:repository_id/revisions/:rev/:action(/*path(.:ext))     repositories#(?-mix:(browse|show|entry|raw|annotate|diff)) {:rev=>/[a-z0-9\.\-_]+/}
                                       GET          /projects/:id/repository/statistics(.:format)                                     repositories#stats
                                       GET          /projects/:id/repository/graph(.:format)                                          repositories#graph
                                       GET          /projects/:id/repository/changes(/*path(.:ext))(.:format)                         repositories#changes
                                       GET          /projects/:id/repository/revisions(.:format)                                      repositories#revisions
                                       GET          /projects/:id/repository/revisions/:rev(.:format)                                 repositories#revision
                                       GET          /projects/:id/repository/revision(.:format)                                       repositories#revision
                                       POST         /projects/:id/repository/revisions/:rev/issues(.:format)                          repositories#add_related_issue
                                       DELETE       /projects/:id/repository/revisions/:rev/issues/:issue_id(.:format)                repositories#remove_related_issue
                                       GET          /projects/:id/repository/revisions/:rev/:action(/*path(.:ext))                    repositories#(?-mix:(browse|show|entry|raw|annotate|diff)) {:rev=>/[a-z0-9\.\-_]+/}
                                       GET          /projects/:id/repository/:repository_id/:action(/*path(.:ext))(.:format)          repositories#(?-mix:(browse|show|entry|raw|changes|annotate|diff))
                                       GET          /projects/:id/repository/:action(/*path(.:ext))(.:format)                         repositories#(?-mix:(browse|show|entry|raw|changes|annotate|diff))
                                       GET          /projects/:id/repository/:repository_id(.:format)                                 repositories#show
                                       GET          /projects/:id/repository(.:format)                                                repositories#show
                                       GET          /attachments/:id/:filename(.:format)                                              attachments#show {:id=>/\d+/, :filename=>/.*/}
                                       GET          /attachments/download/:id/:filename(.:format)                                     attachments#download {:id=>/\d+/, :filename=>/.*/}
                                       GET          /attachments/download/:id(.:format)                                               attachments#download {:id=>/\d+/}
                                       GET          /attachments/thumbnail/:id(/:size)(.:format)                                      attachments#thumbnail {:id=>/\d+/, :size=>/\d+/}
                            attachment GET          /attachments/:id(.:format)                                                        attachments#show
                                       DELETE       /attachments/:id(.:format)                                                        attachments#destroy
           autocomplete_for_user_group GET          /groups/:id/autocomplete_for_user(.:format)                                       groups#autocomplete_for_user
                                groups GET          /groups(.:format)                                                                 groups#index
                                       POST         /groups(.:format)                                                                 groups#create
                             new_group GET          /groups/new(.:format)                                                             groups#new
                            edit_group GET          /groups/:id/edit(.:format)                                                        groups#edit
                                 group GET          /groups/:id(.:format)                                                             groups#show
                                       PUT          /groups/:id(.:format)                                                             groups#update
                                       DELETE       /groups/:id(.:format)                                                             groups#destroy
                           group_users POST         /groups/:id/users(.:format)                                                       groups#add_users {:id=>/\d+/}
                            group_user DELETE       /groups/:id/users/:user_id(.:format)                                              groups#remove_user {:id=>/\d+/}
                                       POST         /groups/destroy_membership/:id(.:format)                                          groups#destroy_membership {:id=>/\d+/}
                                       POST         /groups/edit_membership/:id(.:format)                                             groups#edit_membership {:id=>/\d+/}
                       fields_trackers GET|POST     /trackers/fields(.:format)                                                        trackers#fields
                              trackers GET          /trackers(.:format)                                                               trackers#index
                                       POST         /trackers(.:format)                                                               trackers#create
                           new_tracker GET          /trackers/new(.:format)                                                           trackers#new
                          edit_tracker GET          /trackers/:id/edit(.:format)                                                      trackers#edit
                               tracker PUT          /trackers/:id(.:format)                                                           trackers#update
                                       DELETE       /trackers/:id(.:format)                                                           trackers#destroy
update_issue_done_ratio_issue_statuses POST         /issue_statuses/update_issue_done_ratio(.:format)                                 issue_statuses#update_issue_done_ratio
                        issue_statuses GET          /issue_statuses(.:format)                                                         issue_statuses#index
                                       POST         /issue_statuses(.:format)                                                         issue_statuses#create
                      new_issue_status GET          /issue_statuses/new(.:format)                                                     issue_statuses#new
                     edit_issue_status GET          /issue_statuses/:id/edit(.:format)                                                issue_statuses#edit
                          issue_status PUT          /issue_statuses/:id(.:format)                                                     issue_statuses#update
                                       DELETE       /issue_statuses/:id(.:format)                                                     issue_statuses#destroy
                         custom_fields GET          /custom_fields(.:format)                                                          custom_fields#index
                                       POST         /custom_fields(.:format)                                                          custom_fields#create
                      new_custom_field GET          /custom_fields/new(.:format)                                                      custom_fields#new
                     edit_custom_field GET          /custom_fields/:id/edit(.:format)                                                 custom_fields#edit
                          custom_field PUT          /custom_fields/:id(.:format)                                                      custom_fields#update
                                       DELETE       /custom_fields/:id(.:format)                                                      custom_fields#destroy
                     permissions_roles GET|POST     /roles/permissions(.:format)                                                      roles#permissions
                                 roles GET          /roles(.:format)                                                                  roles#index
                                       POST         /roles(.:format)                                                                  roles#create
                              new_role GET          /roles/new(.:format)                                                              roles#new
                             edit_role GET          /roles/:id/edit(.:format)                                                         roles#edit
                                  role PUT          /roles/:id(.:format)                                                              roles#update
                                       DELETE       /roles/:id(.:format)                                                              roles#destroy
                          enumerations GET          /enumerations(.:format)                                                           enumerations#index
                                       POST         /enumerations(.:format)                                                           enumerations#create
                       new_enumeration GET          /enumerations/new(.:format)                                                       enumerations#new
                      edit_enumeration GET          /enumerations/:id/edit(.:format)                                                  enumerations#edit
                           enumeration PUT          /enumerations/:id(.:format)                                                       enumerations#update
                                       DELETE       /enumerations/:id(.:format)                                                       enumerations#destroy
                                       GET          /projects/:id/search(.:format)                                                    search#index
                                search GET          /search(.:format)                                                                 search#index
                          mail_handler POST         /mail_handler(.:format)                                                           mail_handler#index
                                 admin GET          /admin(.:format)                                                                  admin#index
                        admin_projects GET          /admin/projects(.:format)                                                         admin#projects
                         admin_plugins GET          /admin/plugins(.:format)                                                          admin#plugins
                            admin_info GET          /admin/info(.:format)                                                             admin#info
                      admin_test_email GET          /admin/test_email(.:format)                                                       admin#test_email
           admin_default_configuration POST         /admin/default_configuration(.:format)                                            admin#default_configuration
           test_connection_auth_source GET          /auth_sources/:id/test_connection(.:format)                                       auth_sources#test_connection
                          auth_sources GET          /auth_sources(.:format)                                                           auth_sources#index
                                       POST         /auth_sources(.:format)                                                           auth_sources#create
                       new_auth_source GET          /auth_sources/new(.:format)                                                       auth_sources#new
                      edit_auth_source GET          /auth_sources/:id/edit(.:format)                                                  auth_sources#edit
                           auth_source GET          /auth_sources/:id(.:format)                                                       auth_sources#show
                                       PUT          /auth_sources/:id(.:format)                                                       auth_sources#update
                                       DELETE       /auth_sources/:id(.:format)                                                       auth_sources#destroy
                             workflows GET          /workflows(.:format)                                                              workflows#index
                        workflows_edit GET|POST     /workflows/edit(.:format)                                                         workflows#edit
                 workflows_permissions GET|POST     /workflows/permissions(.:format)                                                  workflows#permissions
                        workflows_copy GET|POST     /workflows/copy(.:format)                                                         workflows#copy
                              settings GET          /settings(.:format)                                                               settings#index
                         settings_edit GET|POST     /settings/edit(.:format)                                                          settings#edit
                                       GET|POST     /settings/plugin/:id(.:format)                                                    settings#plugin
                          sys_projects GET          /sys/projects(.:format)                                                           sys#projects
                                       POST         /sys/projects/:id/repository(.:format)                                            sys#create_project_repository
                  sys_fetch_changesets GET          /sys/fetch_changesets(.:format)                                                   sys#fetch_changesets
                               uploads POST         /uploads(.:format)                                                                attachments#upload
                                       GET          /robots.txt(.:format)                                                             welcome#robots
                           github_hook POST         /github_hook(.:format)                                                            github_hook#index
                                       GET|POST     /projects/:id/code_review/:action(.:format)                                       code_review#:action
                                       GET|POST|PUT /projects/:id/code_review_settings/:action(.:format)                              code_review_settings#:action
                                       GET|POST     /projects/:id/wiki_extensions/:action(.:format)                                   wiki_extensions#:action
                                       GET|POST|PUT /projects/:id/wiki_extensions_settings/:action(.:format)                          wiki_extensions_settings#:action
                                       GET          /home_monitoring_controlling_project/index/:id(.:format)                          home_monitoring_controlling_project#index
                                       GET          /mc_time_mgmt_project/index/:id(.:format)                                         mc_time_mgmt_project#index
                                       GET          /mc_human_resource_project/index/:id(.:format)                                    mc_human_resource_mgmt_project#index

from redmine_github_hook.

koppen avatar koppen commented on June 29, 2024

So the plugin route is definitely there:

github_hook POST /github_hook(.:format) github_hook#index

No clue why your request doesn't hit that route.

Could you paste the debug information from /admin/info?

from redmine_github_hook.

khelal avatar khelal commented on June 29, 2024

Here it is:

Environment:
  Redmine version                          2.1.2.stable
  Ruby version                             1.9.3 (x86_64-linux)
  Rails version                            3.2.8
  Environment                              production
  Database adapter                         PostgreSQL
Redmine plugins:
  redmine_code_review                      0.6.0
  redmine_github_hook                      0.2.0
  redmine_monitoring_controlling           0.1.1
  redmine_wiki_extensions                  0.6.0

from redmine_github_hook.

khelal avatar khelal commented on June 29, 2024

And to answer your other question, all the other plugins that we're using are working perfectly fine...

from redmine_github_hook.

koppen avatar koppen commented on June 29, 2024

Thanks. I've just verified that Ruby 1.9.3 works as well (I'd been checking on 1.8.7 until now).

A couple of long shot ideas to try:

  • Redmine is up to version 2.1.4 (which is the version I've verified). I don't see any changes that should cause the issue you're seeing in the changelog since 2.1.2, but it's worth a shot.
  • Is there any chance you're running into this Ruby bug: http://www.redmine.org/boards/4/topics/34353?r=34361#message-34361 ?
  • Does it work if you run on rails server rather than via Passenger? You should be able to post via curl to try it out.

Other than that, I am at a loss, and I'm afraid you'll have to get your hands dirty and see what it takes to fix the issue. I'd be very happy to see a pull request fixing this as I cannot reproduce.

from redmine_github_hook.

khelal avatar khelal commented on June 29, 2024

Hmm I've tried all of this and unfortunately nothing works. I've upgraded to 2.1.4, updated to the latest Ruby version and tried it without Passenger and in all cases we had the same problem. Sorry for being a pain :(

from redmine_github_hook.

koppen avatar koppen commented on June 29, 2024

No worries, I am just sorry that I cannot help you but without steps to reproduce the issue my hands are tied.

Okay, last idea, what's the output of running in the shell:

rails runner "puts GithubHookController.instance_methods - ApplicationController.instance_methods"

from redmine_github_hook.

khelal avatar khelal commented on June 29, 2024
ubuntu@ip-10-32-57-164:/var/www/redmine$ sudo bundle exec rails runner "puts GithubHookController.instance_methods - ApplicationController.instance_methods"
/var/lib/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `block in require': iconv will be deprecated in the future, use String#encode instead.
/var/lib/gems/1.9.1/gems/railties-3.2.8/lib/rails/commands/runner.rb:53:in `eval': uninitialized constant GithubHookController (NameError)
    from /var/lib/gems/1.9.1/gems/railties-3.2.8/lib/rails/commands/runner.rb:53:in `eval'
    from /var/lib/gems/1.9.1/gems/railties-3.2.8/lib/rails/commands/runner.rb:53:in `<top (required)>'
    from /var/lib/gems/1.9.1/gems/railties-3.2.8/lib/rails/commands.rb:64:in `require'
    from /var/lib/gems/1.9.1/gems/railties-3.2.8/lib/rails/commands.rb:64:in `<top (required)>'
    from script/rails:6:in `require'
    from script/rails:6:in `<main>'

from redmine_github_hook.

khelal avatar khelal commented on June 29, 2024

And for reference:

ubuntu@ip-10-32-57-164:/var/www/redmine$ ruby -v
ruby 1.9.3p286 (2012-10-12 revision 37165) [x86_64-linux]

And

ubuntu@ip-10-32-57-164:/var/www/redmine$ gem list 

*** LOCAL GEMS ***

actionmailer (3.2.9, 3.2.8)
actionpack (3.2.9, 3.2.8)
activemodel (3.2.9, 3.2.8)
activerecord (3.2.9, 3.2.8)
activeresource (3.2.9, 3.2.8)
activesupport (3.2.9, 3.2.8)
arel (3.0.2)
builder (3.0.0)
bundler (1.2.1)
coderay (1.0.8)
daemon_controller (1.0.0)
erubis (2.7.0)
factory_girl (4.1.0)
factory_girl_rails (4.1.0)
fastthread (1.0.7)
hike (1.2.1)
i18n (0.6.1)
journey (1.0.4)
jquery-rails (2.0.3)
json (1.7.5)
mail (2.4.4)
metaclass (0.0.1)
mime-types (1.19)
mocha (0.12.3)
multi_json (1.4.0, 1.3.6)
net-ldap (0.3.1)
passenger (3.0.17)
pg (0.14.1)
polyglot (0.3.3)
rack (1.4.1)
rack-cache (1.2)
rack-openid (1.3.1)
rack-ssl (1.3.2)
rack-test (0.6.2)
rails (3.2.9, 3.2.8)
railties (3.2.9, 3.2.8)
rake (10.0.2, 0.9.2.2)
rdoc (3.12)
rmagick (2.13.1)
ruby-openid (2.1.8)
simplecov (0.7.1)
simplecov-html (0.7.1)
simplecov-rcov (0.2.3)
sprockets (2.2.2, 2.1.3)
thor (0.16.0)
tilt (1.3.3)
treetop (1.4.12, 1.4.11)
tzinfo (0.3.35, 0.3.33)

from redmine_github_hook.

khelal avatar khelal commented on June 29, 2024

Ok.... you're never going to beleive this but it worked now. All that I did was to rename the plugin folder from "redmine_github_hook-master" to "redmine_github_hook". Does this make any sense to you?

from redmine_github_hook.

koppen avatar koppen commented on June 29, 2024

Heh, I believe you ;)

I can't claim to know much about how Redmine actually loads plugins, but it makes sense. The plugin registers itself as redmine_github_hook so expecting Redmine to load it as that isn't far off.

I am happy that you worked it out! :)

from redmine_github_hook.

axolx avatar axolx commented on June 29, 2024

Gah! This bit me too for a while. Glad I finally found this thread though :)

from redmine_github_hook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.