[stable-5.2] Missing template
Closed
[stable-5.2] Missing template
Created by: rshk
I'm experiencing a 500 on .../refs/master/logs_tree/
with this error:
Started GET "/xxxx/yyyy/refs/master/logs_tree/?_=1371828457149" for at 2013-06-21 18:14:10 +0200
Processing by RefsController#logs_tree as HTML
Parameters: {"_"=>"1371828457149", "project_id"=>"xxxx/yyyy", "id"=>"master"}
Completed 500 Internal Server Error in 65ms
ActionView::MissingTemplate (Missing template refs/logs_tree, project_resource/logs_tree, application/logs_tree with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :slim, :coffee, :haml]}. Searched in:
* "/home/git/gitlab/app/views"
* "/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/kaminari-0.14.1/app/views"
* "/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/devise-2.2.3/app/views"
):
The problem was there with 5.1 too, tried to upgrade to 5.2 but nothing changed. I'm on debian.
Relevant system information:
System information
System: Debian 6.0.7
Current User: git
Using RVM: no
Ruby Version: 1.9.3p327
Gem Version: 2.0.3
Bundler Version:1.3.5
Rake Version: 10.0.4
GitLab information
Version: 5.2.1
Revision: 6a868a4
Directory: /home/git/gitlab
DB Adapter: mysql2
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 1.4.0
Repositories: /home/git/repositories/
Hooks: /home/git/gitlab-shell/hooks/
Git: /usr/bin/git
All the checks green (a part from git version, but unluckily that's what squeeze offers, and don't think it's related anyways).
And I did a git reset --hard
to make sure I actually have consistent files at the latest version.
Any thoughts? (I'm not experienced with ruby/rails, but it looks like the template is there..)
Created by: felixhummel
Had the same problem. I stopped gitlab and nginx, then precompiled all assets and restarted both services. Is fine now:
service nginx stop service gitlab stop cd /home/git/gitlab sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production service gitlab start service nginx start
Hope it helps! :)
By Administrator on 2013-06-25T20:49:24 (imported from GitLab project)
Created by: rshk
Hi, sorry, I've been quite busy too. Anyways, I tried doing like @felixhummel suggested, but nothing changed.. By the way, isn't
assets:precompile
supposed to only rebuild assets? The problem here seems to be related to a missing template..I don't know how rails work, is there any command to rebuild templates or something like that?
By Administrator on 2013-07-04T13:31:16 (imported from GitLab project)
Created by: Razer6
Thanks for the issue report but we only support issues for the latest stable version of GitLab. I'm closing this issue but if you still experience this problem in the latest stable version, please open a new issue (but also reference the old issue(s)). Make sure to also include the necessary debugging information conforming to the issue tracker guidelines found in our contributing guidelines.
By Administrator on 2013-10-12T11:03:57 (imported from GitLab project)