[DRE-maint] Bug#890333: gitlab: javascript errors after upgrade to 9.5.4

Libor Klepáč libor.klepac at bcom.cz
Tue Feb 13 14:49:28 UTC 2018


Package: gitlab
Version: 9.5.4.+dfsg-2
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hello,
after upgrading gitlab from 8.13.x to 9.5.4 we get no events in dashboard grids.
Errors in firefox console  are
ReferenceError: Controller is not defined [Zjistit více]    common.bundle.js:19235:1
../../../../javascript/jquery-atwho/jquery.atwho.js/</<     https://192.168.6.10/assets/webpack/common.bundle.js:19235:1
../../../../javascript/jquery-atwho/jquery.atwho.js/<       https://192.168.6.10/assets/webpack/common.bundle.js:19149:2
../../../../javascript/jquery-atwho/jquery.atwho.js         https://192.168.6.10/assets/webpack/common.bundle.js:18608:29
__webpack_require__                                         https://192.168.6.10/assets/webpack/webpack_runtime.bundle.js:55:12
./commons/jquery.js                                         https://192.168.6.10/assets/webpack/common.bundle.js:21974:78
__webpack_require__                                         https://192.168.6.10/assets/webpack/webpack_runtime.bundle.js:55:12
./commons/index.js                                          https://192.168.6.10/assets/webpack/common.bundle.js:21953:66
__webpack_require__                                         https://192.168.6.10/assets/webpack/webpack_runtime.bundle.js:55:12
webpackJsonpCallback                                        https://192.168.6.10/assets/webpack/webpack_runtime.bundle.js:26:23
<anonymní>

and

TypeError: __WEBPACK_IMPORTED_MODULE_0_document_register_element___default(...) is not a function [Zjistit více]         main.bundle.js:10029:1
./behaviors/gl_emoji.js    https://192.168.6.10/assets/webpack/main.bundle.js:10029:1
__webpack_require__        https://192.168.6.10/assets/webpack/webpack_runtime.bundle.js:55:12
./behaviors/index.js       https://192.168.6.10/assets/webpack/main.bundle.js:10089:68
__webpack_require__        https://192.168.6.10/assets/webpack/webpack_runtime.bundle.js:55:12
./main.js/<                https://192.168.6.10/assets/webpack/main.bundle.js:22926:71
./main.js                  https://192.168.6.10/assets/webpack/main.bundle.js:22886:29
__webpack_require__        https://192.168.6.10/assets/webpack/webpack_runtime.bundle.js:55:12
webpackJsonpCallback       https://192.168.6.10/assets/webpack/webpack_runtime.bundle.js:26:23
<anonymní>

I also tried to regenerate webapack and assets. It finishes without errors (after instaling node modules indexof and randomfill)

I also tried generate assets using yarn and
# bundle exec rake gitlab:assets:compile

but it does not finish successfuly, complains about missing webpack-stats-plugin, which seems to be installed.

Any clues what can be done?
This all bundler and node and webpack and etc. magic is ... (+ i have to allow traffic to our protected network, for npm to work)

Thanks,

Libor


- -- System Information:
Debian Release: buster/sid
  APT prefers experimental
  APT policy: (700, 'experimental'), (700, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-rc8-amd64 (SMP w/4 CPU cores)
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-----BEGIN PGP SIGNATURE-----

iQJJBAEBCAAzFiEEPGZVVU37tFmB0TQv8O+MbsKfR44FAlqC+vgVHGxpYm9yLmts
ZXBhY0BiY29tLmN6AAoJEPDvjG7Cn0eOBMwP/3Xk/cZcsEQf2S99vDtAZRv9Rdwl
IkYQr2NN0Mtq/xMetF8eDEugMOA2O7QoRMYV2iBuJ3Ork1oqPrrevtqonNltqIJh
UZZKy+SBQgYz8RLiGiZrvzKd82pBXjM8rHdMkH1EYES02MR09PEdvzdOyzvoHyQj
NvP6Y5dmYyZ7KEHDaDDJs3gObr/fs+yAoFsygB+aZObSyfYsiczyfVXQWgWg3GMb
v4g9ZSTUyoYOD1w/6xMSpShe8r3rqzr+st+gcR61VacC0ZREM2bA5M6Nm++b4e2E
XEE98rRC4YAYBBtYp0AIyVBSUM/vgR9EOGXsf9MuFUkUX1oT2zc2WJVSJzhi6Cv6
C3N1qQ9zRypDnSlDUyShJDaVvBbotejzpDtEN6GIwV/a+5yyl/iWq2id4fXSDqYH
jnE5iFOIv15jTQtYNBz6NGBwyKluRjbVPVAlADlQpEuKQpd7O2FyAWvSXN4axk74
6MLHIW2j6qDq5e3h4WrDMIhGvsbzVg826NdW27SUnxCCwUz4R/BGq1wGgMCgrxjj
OGx8I7hSZ4z9eBLyW7kU3KTHUY8YBd73716o8i8otS9rPecS40VfSNhUxRfivZSj
W/CboHerla+RQP/gIKfzzyad5Gh/ye6z8xZIcEH9AvcDr20vpev/FhhHY+Tbrrnd
JHwqhiFcTfmRtSmt
=9ewv
-----END PGP SIGNATURE-----


More information about the Pkg-ruby-extras-maintainers mailing list