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.

Reply via email to