On 2021, മാർച്ച് 9 12:56:44 AM IST, Mike Gabriel
<mike.gabr...@das-netzwerkteam.de> wrote:
>Package: gitlab
>Version: 13.7.8+ds1-1~fto10+1
>Severity: serious
>
>Hi Praveen,
>
>here comes the other issue I am facing. Occurred with 13.7.7 and also
>occurs with 13.7.8:
>
>When I open a Git repository on my GitLab instance, I see a circling
>circle where the code files/dirs should actually be.
Can you share a screenshot ?
>The JS console provides four error messages:
>
>1.
>Uncaught TypeError: o.a.fn.tooltip is undefined (with a backtrace I
>omit here for now).
>
>2.
>Source-Map-Fehler: Error: JSON.parse: unexpected character at line 1
>column 1 of the JSON data
>Ressourcen-Adresse:
>https://gitlab.das-netzwerkteam.de/assets/webpack/runtime.2cbada1d.bundle.js
>Source-Map-Adresse: runtime.2cbada1d.bundle.js.map
>
>3.
>Source-Map-Fehler: Error: JSON.parse: unexpected character at line 1
>column 1 of the JSON data
>Ressourcen-Adresse:
>https://gitlab.das-netzwerkteam.de/assets/webpack/pages.projects.show.7aaabbab.chunk.js
>Source-Map-Adresse: pages.projects.show.7aaabbab.chunk.js.map
>
>4.
>Source-Map-Fehler: Error: JSON.parse: unexpected character at line 1
>column 1 of the JSON data
>Ressourcen-Adresse:
>https://gitlab.das-netzwerkteam.de/assets/webpack/pages.projects.show.7aaabbab.chunk.js
>Source-Map-Adresse: pages.projects.show.7aaabbab.chunk.js.map
>
>
>Any clue where else to look for error or log messages that might help
>to track down this issue?
You can try removing /usr/share/gitlab/public/assets (keep a backup in case you
want to restore) and regenerating it.
dpkg-reconfigure gitlab
Or run gitlab-rake assets:precompile
And run webpack as given in, https://wiki.debian.org/gitlab/webpack
>I can push / pull to / from my GitLab server via the git command, only
>the rendering of code trees (and possibly other Javascript dependent
>functionalities) seem(s) to be broken.
Removing /var/lib/gitlab/node_modules and /var/lib/gitlab/yarn.lock and
regenerating it via yarnpkg install command could be another way.
See /usr/lib/gitlab/scripts/rake-tasks.sh
>Mike
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.