Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#53184 - [gitlab] webpack is not installed with latest gitlab (8.17.2)
Attached to Project:
Community Packages
Opened by Simon Doppler (dopsi) - Monday, 06 March 2017, 22:36 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 08 March 2017, 15:20 GMT
Opened by Simon Doppler (dopsi) - Monday, 06 March 2017, 22:36 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 08 March 2017, 15:20 GMT
|
DetailsDescription:
The lastest gitlab (8.17.2) lacks webpack (it has something to do with NodeJS, see my fix below). This is the entry in the log file : --------------------------------------------------------------- ActionView::Template::Error (Could not load compiled manifest from /usr/share/webapps/gitlab/public/assets/webpack/manifest.json - have you run `rake webpack:compile`? (original error No such file or directory @ rb_sysopen - /usr/share/webapps/gitlab/public/assets/webpack/manifest.json)): 28: = stylesheet_link_tag "application", media: "all" 29: = stylesheet_link_tag "print", media: "print" 30: 31: = javascript_include_tag(*webpack_asset_paths("application")) 32: 33: - if content_for?(:page_specific_javascripts) 34: = yield :page_specific_javascripts app/views/layouts/_head.html.haml:31:in `_app_views_layouts__head_html_haml___4496552953264907693_55123640' app/views/layouts/application.html.haml:3:in `_app_views_layouts_application_html_haml___2149553463195357828_55885660' app/views/layouts/project.html.haml:25:in `_app_views_layouts_project_html_haml___19517622230222845_36756840' app/controllers/projects/tree_controller.rb:27:in `show' lib/gitlab/middleware/multipart.rb:93:in `call' lib/gitlab/request_profiler/middleware.rb:14:in `call' lib/gitlab/middleware/go.rb:16:in `call' --------------------------------------------------------------- Steps to reproduce: To obtain this, I upgraded gitlab from 8.16.6-1 to 8.17.2-1, then ran the usual sudo su - gitlab -s /bin/sh -c "cd '/usr/share/webapps/gitlab'; bundle-2.3 exec rake db:migrate RAILS_ENV=production" and sudo systemctl daemon-reload sudo systemctl restart gitlab-sidekiq gitlab-unicorn gitlab-workhorse Steps to fix (on an already installed system): cd /usr/share/webapps/gitlab sudo npm install --production chown -R gitlab * sudo su - gitlab -s /bin/sh -c "cd '/usr/share/webapps/gitlab'; bundle-2.3 exec rake gitlab:assets:clean gitlab:assets:compile cache:clear RAILS_ENV=production" sudo chown -R root * sudo chown gitlab ./db/schema.rb These steps are based on this issue : https://gitlab.com/gitlab-org/gitlab-ce/issues/28586 |
This task depends upon
Closed by Doug Newgard (Scimmia)
Wednesday, 08 March 2017, 15:20 GMT
Reason for closing: Fixed
Additional comments about closing: gitlab 8.17.3-2
Wednesday, 08 March 2017, 15:20 GMT
Reason for closing: Fixed
Additional comments about closing: gitlab 8.17.3-2
Comment by Jonas Heinrich (onny) -
Wednesday, 08 March 2017, 12:23 GMT
Oh thanks, I accidentially opened a new bug for this issue :/
Comment by Doug Newgard (Scimmia) -
Wednesday, 08 March 2017, 15:01 GMT
Fixed in gitlab 8.17.3-2?
Comment by Jonas Heinrich (onny) -
Wednesday, 08 March 2017, 15:18 GMT
looks fine for me, seems to be fixed