Rdoc Issues
Created by: HendrikPetertje
My gitlab server seems to have issues rendering Rdoc files
What I was doing
- I created a new repository with an Rdoc readme file (the default readme in new rails projects)
- I created a new project on my gitlab server
- I added the remote to my local repository
- I pushed my repository to origin using
git push -u origin master
- I visited the project page and saw that my commit was handled in the activities page
- I visited the "Files pane" of my project
What I expected
- I expected a page to load showing the files in my Master branch with the readme underneath it.
What happened instead
- I got an error 500 when visiting the page. visiting the address http://domainname.com/groupname/projectname/tree/maste resulted in the same problem.
- When I changed the name of my readme from
README.rdoc
toREADME.md
and pushed a new commit the file section loaded correctly on the above mentioned pane and address.
Additional details:
Application.log
January 21, 2014 17:30: NSLeeuwarden created a new project "NSLeeuwarden / Happietaria"
Production.log
Rendered projects/tree/show.html.haml within layouts/projects (71.4ms)
Completed 500 Internal Server Error in 342ms
ActionView::Template::Error (wrong number of arguments (0 for 1..2)):
10: %pre.clean
11: = readme.data
12: - else
13: = raw GitHub::Markup.render(readme.name, readme.data)
sideqik.log
Initialized empty Git repository in /home/git/repositories/nsleeuwarden/happietaria.git/
2014-01-21T22:30:50Z 1507 TID-ovy74pwo4 GitlabShellWorker JID-48671a2559cea42a7fd05545 INFO: done: 2.659 sec
2014-01-21T22:31:20Z 1507 TID-ovy74pwo4 PostReceive JID- INFO: start
2014-01-21T22:31:20Z 1507 TID-ovy74pwo4 PostReceive JID- INFO: done: 0.167 sec
2014-01-21T22:34:40Z 1507 TID-ovy74pwo4 PostReceive JID- INFO: start
2014-01-21T22:34:40Z 1507 TID-ovy74pwo4 PostReceive JID- INFO: done: 0.083 sec
2014-01-21T22:34:40Z 1507 TID-ovy74pwo4 PostReceive JID- INFO: start
2014-01-21T22:34:40Z 1507 TID-ovy74pwo4 PostReceive JID- INFO: done: 0.046 sec
2014-01-21T22:37:12Z 1507 TID-ovy74pwo4 PostReceive JID- INFO: start
2014-01-21T22:37:12Z 1507 TID-ovy74pwo4 PostReceive JID- INFO: done: 0.073 sec
Components
GitLab 6.4.1 GitLab Shell 1.8.0 GitLab API v3 Ruby 2.0.0p353 Rails 4.0.2o
server generation details
server generated as ready to run digital ocean application
Gitlab checks
Git configured for git user? ... yes
Has python2? ... yes
python2 is supported version? ... yes
Checking Environment ... Finished
Checking GitLab Shell ...
GitLab Shell version >= 1.7.9 ? ... OK (1.8.0)
Repo base directory exists? ... yes
Repo base directory is a symlink? ... no
Repo base owned by git:git? ... yes
Repo base access is drwxrws---? ... yes
update hook up-to-date? ... yes
update hooks in repos are links: ...
[private-therefore-hidden] / [private-therefore-hidden] ... ok
[private-therefore-hidden]/ [private-therefore-hidden] ... ok
[private-therefore-hidden]/ [private-therefore-hidden] ... ok
[private-therefore-hidden]/ [private-therefore-hidden] ... ok
[private-therefore-hidden]/ [private-therefore-hidden] ... ok
[private-therefore-hidden]/ [private-therefore-hidden] ... ok
Running /home/git/gitlab-shell/bin/check
Check GitLab API access: OK
Check directories and files:
/home/git/repositories: OK
/home/git/.ssh/authorized_keys: OK
Test redis-cli executable: redis-cli 2.6.13
Send ping to redis server: PONG
gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes
Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking LDAP ...
LDAP is disabled in config/gitlab.yml
Checking LDAP ... Finished
Checking GitLab ...
Database config exists? ... yes
Database is SQLite ... no
All migrations up? ... yes
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Init script exists? ... yes
Init script up-to-date? ... yes
projects have namespace: ...
[private-therefore-hidden]/ [private-therefore-hidden] ... yes
[private-therefore-hidden]/ [private-therefore-hidden] ... yes
[private-therefore-hidden]/ [private-therefore-hidden] ... yes
[private-therefore-hidden]/ [private-therefore-hidden] ... yes
[private-therefore-hidden]/ [private-therefore-hidden] ... yes
[private-therefore-hidden]/ [private-therefore-hidden] ... yes
Projects have satellites? ...
[private-therefore-hidden]/ [private-therefore-hidden] ... yes
[private-therefore-hidden]/ [private-therefore-hidden] ... yes
[private-therefore-hidden]/ [private-therefore-hidden] ... yes
[private-therefore-hidden]/ [private-therefore-hidden] ... yes
[private-therefore-hidden]/ [private-therefore-hidden] ... yes
[private-therefore-hidden]/ [private-therefore-hidden] ... yes
Redis version >= 2.0.0? ... yes
Your git bin path is "/usr/bin/git"
Git version >= 1.7.10 ? ... yes (1.8.3)
Checking GitLab ... Finished
Server up time
Server has been running for 1 month total and works like a charm appart from this Server has been up for 8 hours, reboot of the server (sudo shutdown -r 0) and restart of the gitlab environment don't fix the issue. total reboots of the server are around 5 (apt-get dist-upgrades of kernels need reboot)..