gitlab 4.0 can not recompile assets after a bundle (re)install
Created by: andmarios
Yesterday I updated some libraries on my system and this broke some of the gems installed for gitlab that depended on them.
To fix the issue, I did:
cd /home/gitlab
sudo -u gitlab -H rm -rf .gem
sudo -u gitlab -H rm -rf gitlab/vendor
cd gitlab
sudo -u gitlab -H bundle install --deployment --without development test postgres
After that, gitlab would throw me a 500 server error. The logs showed that it couldn't recompile it's assets, because files needed by /home/gitlab/gitlab/app/assets/javascripts/application.js
were missing.
I had to remove these files from /home/gitlab/gitlab/app/assets/javascripts/application.js
in order to fix the issue:
jquery.cookie
jquery.endless-scroll
jquery.highlight
jquery.history
jquery.waitforimages
jquery.scrollto
g.raphael-min
g.bar-min
branch-graph
ace-src-noconflict/ace
I don't know if it is a bug or an error on my part. Thought I should report it though.