Control: tags -1 patch Hi Praveen,
On Mi 03 Mär 2021 16:12:47 CET, Pirate Praveen wrote:
On 2021, മാർച്ച് 3 8:17:44 PM IST, Mike Gabriel <mike.gabr...@das-netzwerkteam.de> wrote:Hi Praveen, On Mi 03 Mär 2021 15:38:46 CET, Pirate Praveen wrote:On 2021, മാർച്ച് 3 7:54:13 PM IST, Mike Gabriel <mike.gabr...@das-netzwerkteam.de> wrote:Package: gitlab Version: 13.7.7-2~fto10+1 Severity: serious Hi Praveen, I can't upgrade gitlab from 13.4.7-2~fto10+1, I get the below error messages (webpack and ttf fonts). Don't wonder about the /srv/gitlab paths, I have symlinked /var/lib/gitlab to /srv/gitlab (which always worked in the past) for better storage management.Can you share output of /usr/share/gitlab/node_modules ? It should be pointing to /var/lib/gitlab/node_modules.It does.There was some changes in node_modules path to adapt to yarn 2.0 and node-modules plugin instead of yarn 1.0.Hmmm... How can I check this. If the symlink points to /var/lib/gitlab/node_modules, then everything is fine? Or are more checks required?See if old directory /var/lib/gitlab/.node_modules is still present, if yes, that should be removed.If that does not fix, backup yarn.lock and truncate -s0 yarn.lock to regenerate it.Try manually running yarnpkg install (see /usr/lib/gitlab/scripts/rake-tasks.sh ) and webpack.Another think you can do is to remove node_modules and let yarnpkg recreate it.
I have now tracked this down entirely, see MR!7 on Salsa [1]. Now, the gitlab pkg's postinst ran through fine.
I can access my Git repos again, now, except from the source tree not being rendered (I see the circling circle and nothing happens). Shall I open a new bug for this?
Greets, Mike [1] https://salsa.debian.org/ruby-team/gitlab/-/merge_requests/7 -- DAS-NETZWERKTEAM c\o Technik- und Ökologiezentrum Eckernförde Mike Gabriel, Marienthaler Str. 17, 24340 Eckernförde mobile: +49 (1520) 1976 148 landline: +49 (4351) 850 8940 GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31 mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de
>From 71152b1ab41fe622938d754c7dace079688cb769 Mon Sep 17 00:00:00 2001 From: Mike Gabriel <mike.gabr...@das-netzwerkteam.de> Date: Thu, 4 Mar 2021 16:45:52 +0100 Subject: [PATCH 1/2] debian/patches: Use relative node_modules/ path when webpacking katex fonts. The libjs-katex bin:pkg brings all the required symlinks for webpack.js to find the font directory. (Closes: #983924). --- debian/patches/0740-use-packaged-modules.patch | 9 --------- 1 file changed, 9 deletions(-) diff --git a/debian/patches/0740-use-packaged-modules.patch b/debian/patches/0740-use-packaged-modules.patch index 0ea35fa6f..ce31529f4 100644 --- a/debian/patches/0740-use-packaged-modules.patch +++ b/debian/patches/0740-use-packaged-modules.patch @@ -69,15 +69,6 @@ Use debian packaged node modules when available loader: 'babel-loader', options: { cacheDirectory: path.join(CACHE_PATH, 'babel-loader'), -@@ -272,7 +277,7 @@ - }, - { - test: /\.(eot|ttf|woff|woff2)$/, -- include: /node_modules\/(katex\/dist\/fonts|monaco-editor)/, -+ include: /(node_modules\/monaco-editor|\/usr\/share\/fonts\/truetype\/katex)/, - loader: 'file-loader', - options: { - name: '[name].[contenthash:8].[ext]', @@ -551,19 +556,6 @@ // enable HMR only in webpack-dev-server DEV_SERVER_LIVERELOAD && new webpack.HotModuleReplacementPlugin(), -- 2.30.1
pgpSU1MtTtxO_.pgp
Description: Digitale PGP-Signatur