Skip to content

fork error against windows server #33

Description

@dcb530

I am trying to using the plugin against Redmine 3.3 on Windows server.

After I saved the setting of Clone URL for SSH, I got the Internal Error. Checking the Redmine log, it shows as following:

`Started GET "/redmine/projects/testproject/repositories/new?repository_scm=GitRemote" for 127.0.0.1 at 2017-09-08 09:47:07 +0800
Processing by RepositoriesController#new as JS
Parameters: {"repository_scm"=>"GitRemote", "project_id"=>"testproject"}
Current user: daichengbo (id=8)
Rendered repositories/_form.html.erb (2.0ms)
Rendered repositories/new.html.erb (3.0ms)
Rendered repositories/new.js.erb (4.0ms)
Completed 200 OK in 66ms (Views: 4.1ms | ActiveRecord: 56.0ms)
Started POST "/redmine/projects/testproject/repositories" for 127.0.0.1 at 2017-09-08 09:47:17 +0800
Processing by RepositoriesController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"DypRYb/ojQHHhjesW1/JhkAnNmgMZvPYRHTFLk5zk99YxuZaeUADcqyKU94vUtL+DGRbJLpUUYhEtW/2eaQwmQ==", "repository_scm"=>"GitRemote", "repository"=>{"is_default"=>"0", "identifier"=>"", "url"=>"", "extra_clone_url"=>"git@GitLab.cdyoue.com:root/testproject.git"}, "commit"=>"创建", "project_id"=>"testproject"}
Current user: daichengbo (id=8)
Completed 500 Internal Server Error in 104ms (ActiveRecord: 85.0ms)

NotImplementedError (fork() function is unimplemented on this machine):
plugins/redmine_git_remote/lib/redmine_git_remote/poor_mans_capture3.rb:18:in fork' plugins/redmine_git_remote/lib/redmine_git_remote/poor_mans_capture3.rb:18:in capture3'
plugins/redmine_git_remote/lib/redmine_git_remote/poor_mans_capture3.rb:38:in capture2' plugins/redmine_git_remote/app/models/repository/git_remote.rb:160:in add_known_host'
plugins/redmine_git_remote/app/models/repository/git_remote.rb:94:in ensure_possibly_empty_clone_exists' plugins/redmine_git_remote/app/models/repository/git_remote.rb:84:in initialize_clone'
app/controllers/repositories_controller.rb:55:in create' lib/redmine/sudo_mode.rb:63:in sudo_mode'`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions