I attempted edit of
"/opt/gitlab-7.4.0-0/apps/gitlabci/htdocs/config/initializers/3_sidekiq.rb
" specifying the location of the unix socket file instead of the default
"redis://localhost:6379":
# Custom Redis configuration
config_file = Rails.root.join('config', 'resque.yml')
resque_url = if File.exists?(config_file)
YAML.load_file(config_file)[Rails.env]
else
#"redis://localhost:6379"
"unix:/opt/gitlab-7.4.0-0/redis/var/run/redis.sock"
end
After service restart, I attempted launching a webhook again and received
the following in the
"/opt/gitlab-7.4.0-0/apps/gitlabci/htdocs/log/production.log " log now:
Started GET "/gitlabci/projects/1/web_hooks/2/test" for 76.104.242.176 at
2014-10-26 19:53:12 +0000
Processing by WebHooksController#test as HTML
Parameters: {"project_id"=>"1", "id"=>"2"}
Redirected to
Completed 500 Internal Server Error in 29ms
ActionController::RedirectBackError (No HTTP_REFERER was set in the request
to this action, so redirect_to :back could not be called successfully. If
this is a test, make sure to specify request.env["HTTP_REFERER"].):
app/controllers/web_hooks_controller.rb:28:in `test'
On Sunday, October 26, 2014 10:57:54 AM UTC-7, Gary Wright wrote:
> Hello All,
>
> I have recently installed Bitnami Gitlab 7.4.0.0 image and was hoping to
> eventually replace an older version we have been using. So I have
> configured a new project and attached a webhook address pointing at my
> current build servers. The gitlabci build execution of unit tests (a
> couple of small python-nose assertion tests) completes almost immediately,
> as I can see the output in the gitlabci web window. It never moves past
> this point though and remains in the "running" state for hours, until I go
> into the gitlabci configuration and remove the webhook address, then it
> instantly completes successfully.
>
> I have verified from my logs that the webhook webserver has never received
> a HTTP POST from the gitlab instance during the build, however I can curl
> and reach my webhook listener server from the new gitlab (fresh Ubuntu
> 14.04LTS) successfully.
>
> I have noted that within gitlabci, clicking the "cancel" button on the
> "running" gitlabci build yields a HTTP 500 response, along with clicking
> the "test webhook" button from within gitlabci settings for the project.
>
> Here is a snippet of the log "
> /opt/gitlab-7.4.0-0/apps/gitlabci/gitlabci-runner/logs/gitlabci-runner.log":
>
> 2014-10-26 17:24:49 +0000 | Submitting build 8 to coordinator...aborted
> 2014-10-26 17:24:54 +0000 | Checking for builds...nothing
> 2014-10-26 17:24:59 +0000 | Checking for builds...nothing
> 2014-10-26 17:25:04 +0000 | Checking for builds...nothing
> 2014-10-26 17:25:09 +0000 | Checking for builds...nothing
> 2014-10-26 17:25:14 +0000 | Checking for builds...nothing
> 2014-10-26 17:25:20 +0000 | Checking for builds...nothing
> :100000000
>
>
> 2014-10-26 17:34:20 +0000 | Submitting build 9 to coordinator...response
> error: 500
> 2014-10-26 17:34:20 +0000 | Completed build 9, success.
> 2014-10-26 17:34:20 +0000 | Submitting build 9 to coordinator...response
> error: 500
> 2014-10-26 17:34:25 +0000 | Submitting build 9 to coordinator...response
> error: 500
> 2014-10-26 17:34:25 +0000 | Completed build 9, success.
> 2014-10-26 17:34:25 +0000 | Submitting build 9 to coordinator...response
> error: 500
> 2014-10-26 17:34:31 +0000 | Submitting build 9 to coordinator...response
> error: 500
> 2014-10-26 17:34:31 +0000 | Completed build 9, success.
> 2014-10-26 17:34:31 +0000 | Submitting build 9 to coordinator...response
> error: 500
> 2014-10-26 17:34:36 +0000 | Submitting build 9 to coordinator...response
> error: 500
> 2014-10-26 17:34:36 +0000 | Completed build 9, success.
> 2014-10-26 17:34:36 +0000 | Submitting build 9 to coordinator...response
> error: 500
> 2014-10-26 17:34:41 +0000 | Submitting build 9 to coordinator...response
> error: 500
> 2014-<span class="styled-by-prettify" style="color: r
> ...
--
You received this message because you are subscribed to the Google Groups
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/gitlabhq/3e1e7cb6-8a00-494e-8da9-f91a79e8019d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.