Bug#894072: gitlab: postinst fails with "/var/lib/gitlab/yarn/node_modules/.bin/yarn: not found"
Hi Praveen, > This bug appears from uploading from 9.5.4 installation. If you do a > purge && reinstall, it solves the problem. But I need to upgrade from 9.5.4 and "purge" is destructive... I don't want to risk losing configs, projects and what not. Please take care of upgrade path from 9.5. Purge should not be necessary. I tried "cd /var/lib/gitlab/yarn && npm install yarn" (as gitlab user) but it did not work: npm WARN package.json compression-webpack-plugin@0.3.2 No license field. npm WARN package.json dropzone@4.3.0 No license field. npm WARN package.json jszip-utils@0.0.2 license should be a valid SPDX license expression npm WARN package.json select2@3.5.2-browserify No license field. yarn@1.5.1 ../node_modules/yarn After that the following folders remain empty /var/lib/gitlab/yarn and attempt to reconfigure GitLab fails exactly the same. What did help is the following command: cd /var/lib/gitlab/yarn && npm install --prefix=. yarn But you may have other ideas how to fix the problem properly... Regards, Dmitry.
Bug#894072: gitlab: postinst fails with "/var/lib/gitlab/yarn/node_modules/.bin/yarn: not found"
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 This are referenced at this bug: #893867 @Praveen: This bug appears from uploading from 9.5.4 installation. If you do a purge && reinstall, it solves the problem. https://maqui.darkbolt.net/ Linux registered user ~#363219 PGP keys avaiables at KeyServ. ID: 0x4233E9F2 Los hombres somos esclavos de la historia -BEGIN PGP SIGNATURE- Version: Mailvelope v2.2.0 Comment: https://www.mailvelope.com wkYEAREIABAFAlq5EAQJEHxYwOBCM+nyAACl9QCgleBRTyIoj+w4mHlqe3k8 EDAz3hUAoLDYyYaVSWCJNrJ8eJTHC+8cfHCp =4Jp0 -END PGP SIGNATURE-
Bug#894072: gitlab: postinst fails with "/var/lib/gitlab/yarn/node_modules/.bin/yarn: not found"
Control: severity -1 important On തിങ്കള് 26 മാർച്ച് 2018 08:52 വൈകു, David López Zajara (Er_Maqui) wrote: > This are referenced at this bug: #893867 > > @Praveen: > > This bug appears from uploading from 9.5.4 installation. If you do a > purge && reinstall, it solves the problem. > Since 9.5.4 is not part of any stable release, I have reduced severity to important. As updating from 8.13 in stretch won't hit this issue. Work around would be to manually install yarn. signature.asc Description: OpenPGP digital signature
Bug#894072: gitlab: postinst fails with "/var/lib/gitlab/yarn/node_modules/.bin/yarn: not found"
On Mon, 26 Mar 2018 17:29:58 +1100 Dmitry Smirnovwrote:> Installation of GitLab failed in postinst as follows: > > > Installing node modules... > npm WARN package.json compression-webpack-plugin@0.3.2 No license field. > npm WARN package.json dropzone@4.3.0 No license field. > npm WARN package.json jszip-utils@0.0.2 license should be a valid SPDX > license expression > npm WARN package.json select2@3.5.2-browserify No license field. > yarn@1.5.1 ../node_modules/yarn > sh: 1: /var/lib/gitlab/yarn/node_modules/.bin/yarn: not found > dpkg: error processing package gitlab (--configure): > subprocess installed post-installation script returned error exit > status 127 > > > I did a purge and reinstall but could not reproduce this error. Can you try if manually installing yarn works? See https://salsa.debian.org/ruby-team/gitlab/blob/debian/10.5.5+dfsg-3/debian/rake-tasks.sh#L34 signature.asc Description: OpenPGP digital signature
Bug#894072: gitlab: postinst fails with "/var/lib/gitlab/yarn/node_modules/.bin/yarn: not found"
Package: gitlab Version: 10.5.5+dfsg-3 Severity: serious Installation of GitLab failed in postinst as follows: Installing node modules... npm WARN package.json compression-webpack-plugin@0.3.2 No license field. npm WARN package.json dropzone@4.3.0 No license field. npm WARN package.json jszip-utils@0.0.2 license should be a valid SPDX license expression npm WARN package.json select2@3.5.2-browserify No license field. yarn@1.5.1 ../node_modules/yarn sh: 1: /var/lib/gitlab/yarn/node_modules/.bin/yarn: not found dpkg: error processing package gitlab (--configure): subprocess installed post-installation script returned error exit status 127