I have some broken CSS files on main Gitlab omnibus CE instance.
According to manual here frontend assets shall be recompiled without problems.
I’m getting the problems on several instances.
On the main one:
$ sudo gitlab-rake gitlab:assets:compile Error: EACCES: permission denied, open '/var/opt/gitlab/.config/yarn' at Object.openSync (fs.js:458:3) at readFileSync (fs.js:360:35) at /usr/share/yarn/lib/cli.js:101331:58 at Array.map (<anonymous>) at parseRcPaths (/usr/share/yarn/lib/cli.js:101329:78) at Object.findRc (/usr/share/yarn/lib/cli.js:101343:10) at getRcConfigForCwd (/usr/share/yarn/lib/cli.js:56915:74) at /usr/share/yarn/lib/cli.js:92694:56 at Generator.next (<anonymous>) at step (/usr/share/yarn/lib/cli.js:310:30) Error: Yarn executable was not detected in the system. Download Yarn at https://yarnpkg.com/en/docs/install
Yarn is installed and executable. Doing
yarn install seems that it installed own packages.
On the other (testing) instance, I have different error:
Root is the owner of directories, it looks as this is default.
Also, root is the owner of /opt/gitlab/embedded/service/gitlab-rails/public directoy, this is the same on different instances.
Anyway, if there is some other option to rebuild broken css, please, let me know.