Re: GitLab CE (8.0.4) "new project" fails with 500

2015-12-01 Thread Greg Long
I am having exactly the same issue. I see that nobody has responded - were 
you able to get it working, and if so, how?

On Tuesday, October 20, 2015 at 2:05:39 AM UTC-7, Urs Liska wrote:
>
> I have GitLab 8.0.4 installed from Omnibus packages on an Ubuntu 14.04 
> server. Suddenly I can't create new projects anymore. The last significant 
> thing I did was creating a new group (but I don't feel this should be part 
> of the problem). The last new project is 27 days old, so it may be that 
> there has been a GitLab update in between (but I don't really know that).
>
> When clicking on the "New Project" menu item the system responds with the 
> `500` error page, and the respective entry in `production.log` is
>
> Started GET "/projects/new" for 88.66.154.89 at 2015-10-19 11:55:13 
> +0200
> Processing by ProjectsController#new as HTML
> Completed 500 Internal Server Error in 61ms (ActiveRecord: 7.9ms)
> 
> ActionView::Template::Error (undefined method `empty?' for  
> #):
> 22:   .col-sm-10
> 23: = f.select :namespace_id,  
> namespaces_options(params[:namespace_id] || :current_user), {}, {class: 
> 'select2', tabindex: 2}
> 24: 
> 25:   - if import_sources_enabled?
> 26: %hr
> 27: 
> 28: .project-import.js-toggle-container
>   app/controllers/application_controller.rb:303:in 
> `import_sources_enabled?'
>   app/views/projects/new.html.haml:25:in `block in 
> _app_views_projects_new_html_haml___3279847372260590402_70154110845080'
>   app/views/projects/new.html.haml:8:in 
> `_app_views_projects_new_html_haml___3279847372260590402_70154110845080'
>
> I did update GitLab through APT, and I did `gitlab-cfg reconfigure`, both 
> without any improvement.
>
> Somehow this error message (`ActionView::Template::Error ...`) looks like 
> indicating a bug, but I don't know. Any help greatly appreciated.
>

-- 
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 gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/09d0021f-0c5e-46c2-946c-ff03e9eba729%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: show sphinx docs in wiki

2015-12-01 Thread David W.
Looking for the same information - did you get any traction with this?

On Wednesday, May 21, 2014 at 4:19:27 AM UTC-5, Jochen Kursawe wrote:
>
> Hello,
>
> I have a some python code and autogenerate an api using sphinx - is there 
> a way to automatically build the sphinx pages in gitlab and then link them 
> from within the wiki? That would be extremely useful for me!
>
> All the best,
>
> Jochen 
>

-- 
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 gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/a9de3903-436b-4d09-b4ad-ab59aee2069b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Can't add comments to issues after upgrading to 8.2.1

2015-12-01 Thread Greg Long
After upgrading GitLab to 8.2.1, we can no longer add comments to issues. 
The error stack is:

NoMethodError (undefined method `megabytes' for nil:NilClass):
  app/models/note.rb:117:in `max_attachment_size'
  lib/file_size_validator.rb:47:in `block in validate_each'
  lib/file_size_validator.rb:39:in `each'
  lib/file_size_validator.rb:39:in `validate_each'
  app/services/notes/create_service.rb:13:in `execute'
  app/controllers/projects/notes_controller.rb:24:in `create'




-- 
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 gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/74c6da1e-c15c-4df5-bb87-a52e30064f38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: GitLab CE (8.0.4) "new project" fails with 500

2015-12-01 Thread 'Urs Liska' via GitLab
Sorry of being no help - but it simply started working again, no idea why
...
Am 02.12.2015 01:36 schrieb "Greg Long" :

> I am having exactly the same issue. I see that nobody has responded - were
> you able to get it working, and if so, how?
>
> On Tuesday, October 20, 2015 at 2:05:39 AM UTC-7, Urs Liska wrote:
>>
>> I have GitLab 8.0.4 installed from Omnibus packages on an Ubuntu 14.04
>> server. Suddenly I can't create new projects anymore. The last significant
>> thing I did was creating a new group (but I don't feel this should be part
>> of the problem). The last new project is 27 days old, so it may be that
>> there has been a GitLab update in between (but I don't really know that).
>>
>> When clicking on the "New Project" menu item the system responds with the
>> `500` error page, and the respective entry in `production.log` is
>>
>> Started GET "/projects/new" for 88.66.154.89 at 2015-10-19 11:55:13
>> +0200
>> Processing by ProjectsController#new as HTML
>> Completed 500 Internal Server Error in 61ms (ActiveRecord: 7.9ms)
>>
>> ActionView::Template::Error (undefined method `empty?' for
>> #):
>> 22:   .col-sm-10
>> 23: = f.select :namespace_id,
>> namespaces_options(params[:namespace_id] || :current_user), {}, {class:
>> 'select2', tabindex: 2}
>> 24:
>> 25:   - if import_sources_enabled?
>> 26: %hr
>> 27:
>> 28: .project-import.js-toggle-container
>>   app/controllers/application_controller.rb:303:in
>> `import_sources_enabled?'
>>   app/views/projects/new.html.haml:25:in `block in
>> _app_views_projects_new_html_haml___3279847372260590402_70154110845080'
>>   app/views/projects/new.html.haml:8:in
>> `_app_views_projects_new_html_haml___3279847372260590402_70154110845080'
>>
>> I did update GitLab through APT, and I did `gitlab-cfg reconfigure`, both
>> without any improvement.
>>
>> Somehow this error message (`ActionView::Template::Error ...`) looks like
>> indicating a bug, but I don't know. Any help greatly appreciated.
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "GitLab" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/gitlabhq/OAtjC3FDTxs/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> gitlabhq+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/gitlabhq/09d0021f-0c5e-46c2-946c-ff03e9eba729%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/CAGnTGCWpRny7-HtYLvUX9a_jRaGur4CBod8tGPBwXa1C3HXJaw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.