Skip to content

500 Internal server error #651

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
avicenna13 opened this issue Feb 6, 2017 · 2 comments
Closed

500 Internal server error #651

avicenna13 opened this issue Feb 6, 2017 · 2 comments
Assignees
Labels

Comments

@avicenna13
Copy link

avicenna13 commented Feb 6, 2017

Hello. When creating / deleting storage, as well as for any saving settings inside the plugin get the error "Internal Server Error" that just did not know where to dig.

Started GET "/projects/pinstudio/repositories/new" for 127.0.0.1 at 2017-02-06 18:17:18 +0300
Processing by RepositoriesController#new as HTML
  Parameters: {"project_id"=>"pinstudio"}
  Current user: AV (id=13)
  Rendered repositories/_form.html.erb (3.6ms)
  Rendered repositories/new.html.erb within layouts/base (4.9ms)
Completed 200 OK in 95ms (Views: 30.1ms | ActiveRecord: 46.5ms)
Started GET "/projects/pinstudio/repositories/new?repository_scm=Xitolite" for 127.0.0.1 at 2017-02-06 18:17:22 +0300
Processing by RepositoriesController#new as JS
  Parameters: {"repository_scm"=>"Xitolite", "project_id"=>"pinstudio"}
  Current user: AV (id=13)
  Rendered repositories/_form.html.erb (3.4ms)
  Rendered repositories/new.html.erb (4.5ms)
  Rendered repositories/new.js.erb (5.3ms)
Completed 200 OK in 68ms (Views: 6.3ms | ActiveRecord: 45.2ms)
Started POST "/projects/pinstudio/repositories" for 127.0.0.1 at 2017-02-06 18:17:25 +0300
Processing by RepositoriesController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"==", "repository_scm"=>"Xitolite", "repository"=>{"is_default"=>"0", "identifier"=>"testliverepo", "path_encoding"=>"", "create_readme"=>"false", "enable_git_annex"=>"false"}, "commit"=>"Создать", "project_id"=>"pinstudio"}
  Current user: AV (id=13)
Redirected to http://thin_server/projects/pinstudio/settings/repositories
Completed 500 Internal Server Error in 160ms (ActiveRecord: 129.3ms)

Rugged::ConfigError (Error stat'ing config file '/root/.gitconfig'):
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'`

Version plugin: 1.2.1
Version Git: 2.1.4
Redmine: 3.2.0

Thanks!

@n-rodriguez n-rodriguez self-assigned this Feb 16, 2017
@n-rodriguez
Copy link
Contributor

n-rodriguez commented Feb 16, 2017

Hi! It seems that Redmine is running with the root user : Rugged::ConfigError (Error stat'ing config file '/root/.gitconfig'):
Redmine must run with a normal user.

@PowerKiKi
Copy link
Collaborator

As discussed in #732 (comment), issues related to Redmine < 4.0 or severely outdated issues are being closed to help clean up the issue tracker.

If this issue is still relevant to you and you are running Redmine >= 4.0, please open a new issue including all new relevant information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants