I have the same problem. If your project contains "http://sitename" in
Description gitlab prints "500 error".
суббота, 25 июня 2016 г., 1:05:53 UTC+3 пользователь Brian Gale написал:
>
> we have a single project on our internally hosted gitlab server that when
> you try to change any configuration or view the main page of it, you get a
> 500 internal server error.
> The production.log file shows:
> Started GET "/TestSoftware/<project name>" for 127.0.0.1 at 2016-06-24
> 15:52:47 -0600
> Processing by ProjectsController#show as HTML
> Parameters: {"namespace_id"=>"TestSoftware", "id"=>"<project name>"}
> Completed 500 Internal Server Error in 255ms (ActiveRecord: 10.4ms)
>
> ArgumentError (iv must be 16 bytes or longer):
> app/models/project.rb:489:in `import_url'
> app/models/project.rb:519:in `external_import?'
> app/models/project.rb:511:in `import?'
> app/models/project.rb:527:in `import_in_progress?'
> app/controllers/projects_controller.rb:94:in `show'
> lib/gitlab/middleware/go.rb:16:in `call'
> lib/gitlab/middleware/readonly_geo.rb:29:in `call'
>
>
> After a little bit of snooping, I noticed that the file
> ./refs/heads/master appears to be missing. My current guess is that the
> project is pooched and needs to be rebuilt from the latest pull. From
> talking to the users of the project, they are still able to push and pull
> and commit and merge to that project without difficulty, but not being able
> to view the main page (where one would go to get the git cloning
> information) or being able to change things on the settings page is
> troublesome.
>
> Has anybody run into this issue before and if so, were you able to resolve
> it without re-creating the project or is that my only solution at this
> point?
>
> NOTE: <project name> isn't really the name of the project. The project
> contains no special characters that are not working fine with other
> projects (it is an alphanumeric name with '_' characters in it).
>
> Brian
>
--
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/7db47ced-6f05-4a3f-ad2e-39e6a601d0ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.