[DRE-maint] Bug#977701: gitlab: Missing assets, breaking some functionalities

Maximilian Stein m at steiny.biz
Wed Jan 6 15:04:34 GMT 2021


So, I got the asset compilation running, but I had to workaround some issues, including broken symlinks to js libs:_____________________________________________
cd /usr/share/gitlab

# move locale.static elsewhere
mv app/assets/javascripts/locale.static .
mv app/assets/javascripts/locale/index.js{,.bak}
ln -s /usr/share/gitlab/locale.static/index.js app/assets/javascripts/locale/index.js

# remove broken symlinks
mkdir /root/vendor_assets_javascripts
cd vendor/assets/javascripts/
mv -t /root/vendor_assets_javascripts chart-lib.min.js clipboard.js fuzzaldrin-plus.js g.bar-min.js g.raphael-min.js jquery.nicescroll.min.js
cd -

# create hash file
touch assets-hash.txt
chown git:git assets-hash.txt

# provide webpack
ln -s /usr/bin/webpack node_modules/.bin/webpack

# compile all assets
gitlab-rake gitlab:assets:compile_____________________________________________

However, this unfortunately didn't resolve the issues.
Best,
Maximilian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20210106/58caeb49/attachment.html>


More information about the Pkg-ruby-extras-maintainers mailing list