工头页无法加载

发布于 2025-02-13 14:06:24 字数 4367 浏览 0 评论 0原文

我刚刚在离线环境中使用Katello 4.5安装了Foreman 3.3。

在下面的页面中,我有一个带有一些控制台输出错误的空白屏幕(请参见下面的屏幕截图)。

似乎由于堡垒UI或JSON中的错误,这些页面似乎无法加载。但是我仍然不明白这个问题。

受影响的页面:

控制台输出错误:

Cette page utilise la propriété non standard « zoom ». Envisagez d’utiliser calc() dans les valeurs des propriétés pertinentes ou utilisez « transform » avec « transform-origin: 0 0 ». products
Uncaught SyntaxError: missing ) after argument list
products:51:1504
WARNING: Tried to load AngularJS more than once. katello:common-3245f69d8ef37312df4a.js:7:179007
Erreur dans les liens source : Error: NetworkError when attempting to fetch resource.
URL de la ressource : https://172.20.10.2/webpack/katello/katello:common-3245f69d8ef37312df4a.js
URL du lien source : katello:common-3245f69d8ef37312df4a.js.map

Uncaught Error: [$injector:modulerr] Failed to instantiate module Bastion.capsule-content due to:
[$injector:modulerr] Failed to instantiate module Bastion due to:
[$injector:unpr] Unknown provider: BastionConfig


https://errors.angularjs.org/1.8.2/$injector/modulerr?p0=Bas…ndle-v10.1.0-production-764404f58e4a47165b8a.js%3A1%3A920%0A
    A https://172.20.10.2/assets/bastion/bastion-a61e08734ad66c57bc535a2e0c25acc398bb44a8ac0e0ecd3541a62fa8bccafb.js:3
    c https://172.20.10.2/assets/bastion/bastion-a61e08734ad66c57bc535a2e0c25acc398bb44a8ac0e0ecd3541a62fa8bccafb.js:3
    ke https://172.20.10.2/assets/bastion/bastion-a61e08734ad66c57bc535a2e0c25acc398bb44a8ac0e0ecd3541a62fa8bccafb.js:3
    c https://172.20.10.2/assets/bastion/bastion-a61e08734ad66c57bc535a2e0c25acc398bb44a8ac0e0ecd3541a62fa8bccafb.js:3
    mt https://172.20.10.2/assets/bastion/bastion-a61e08734ad66c57bc535a2e0c25acc398bb44a8ac0e0ecd3541a62fa8bccafb.js:3
    t https://172.20.10.2/assets/bastion/bastion-a61e08734ad66c57bc535a2e0c25acc398bb44a8ac0e0ecd3541a62fa8bccafb.js:3
    q https://172.20.10.2/assets/bastion/bastion-a61e08734ad66c57bc535a2e0c25acc398bb44a8ac0e0ecd3541a62fa8bccafb.js:3
    <anonymous> https://172.20.10.2/assets/bastion/bastion-a61e08734ad66c57bc535a2e0c25acc398bb44a8ac0e0ecd3541a62fa8bccafb.js:26
    c https://172.20.10.2/webpack/foreman-vendor.bundle-v10.1.0-production-764404f58e4a47165b8a.js:173
    fireWith https://172.20.10.2/webpack/foreman-vendor.bundle-v10.1.0-production-764404f58e4a47165b8a.js:173
    ready https://172.20.10.2/webpack/foreman-vendor.bundle-v10.1.0-production-764404f58e4a47165b8a.js:173
    E https://172.20.10.2/webpack/foreman-vendor.bundle-v10.1.0-production-764404f58e4a47165b8a.js:173
    promise https://172.20.10.2/webpack/foreman-vendor.bundle-v10.1.0-production-764404f58e4a47165b8a.js:173
    a https://172.20.10.2/webpack/foreman-vendor.bundle-v10.1.0-production-764404f58e4a47165b8a.js:173
    js https://172.20.10.2/webpack/foreman-vendor.bundle-v10.1.0-production-764404f58e4a47165b8a.js:173
    n https://172.20.10.2/webpack/foreman-vendor.bundle-v10.1.0-production-764404f58e4a47165b8a.js:1
    js https://172.20.10.2/webpack/foreman-vendor.bundle-v10.1.0-production-764404f58e4a47165b8a.js:1
    n https://172.20.10.2/webpack/foreman-vendor.bundle-v10.1.0-production-764404f58e4a47165b8a.js:1
    0 https://172.20.10.2/webpack/foreman-vendor.bundle-v10.1.0-production-764404f58e4a47165b8a.js:398
    n https://172.20.10.2/webpack/foreman-vendor.bundle-v10.1.0-production-764404f58e4a47165b8a.js:1
    <anonymous> https://172.20.10.2/webpack/foreman-vendor.bundle-v10.1.0-production-764404f58e4a47165b8a.js:1
    <anonymous> https://172.20.10.2/webpack/foreman-vendor.bundle-v10.1.0-production-764404f58e4a47165b8a.js:1
bastion-a61e08734ad66c57bc535a2e0c25acc398bb44a8ac0e0ecd3541a62fa8bccafb.js:3:4735

您可以帮忙吗?谢谢

I just installed Foreman 3.3 with Katello 4.5 in an offline environment.

And in the pages below, I have a blank screen with some console output errors (see screenshots below).

It's seems that the pages fail to load due to Bastion UI or an error in the JSON. But I still don't understand the issue.

Affected pages:

Console output errors :

Cette page utilise la propriété non standard « zoom ». Envisagez d’utiliser calc() dans les valeurs des propriétés pertinentes ou utilisez « transform » avec « transform-origin: 0 0 ». products
Uncaught SyntaxError: missing ) after argument list
products:51:1504
WARNING: Tried to load AngularJS more than once. katello:common-3245f69d8ef37312df4a.js:7:179007
Erreur dans les liens source : Error: NetworkError when attempting to fetch resource.
URL de la ressource : https://172.20.10.2/webpack/katello/katello:common-3245f69d8ef37312df4a.js
URL du lien source : katello:common-3245f69d8ef37312df4a.js.map

Uncaught Error: [$injector:modulerr] Failed to instantiate module Bastion.capsule-content due to:
[$injector:modulerr] Failed to instantiate module Bastion due to:
[$injector:unpr] Unknown provider: BastionConfig


https://errors.angularjs.org/1.8.2/$injector/modulerr?p0=Bas…ndle-v10.1.0-production-764404f58e4a47165b8a.js%3A1%3A920%0A
    A https://172.20.10.2/assets/bastion/bastion-a61e08734ad66c57bc535a2e0c25acc398bb44a8ac0e0ecd3541a62fa8bccafb.js:3
    c https://172.20.10.2/assets/bastion/bastion-a61e08734ad66c57bc535a2e0c25acc398bb44a8ac0e0ecd3541a62fa8bccafb.js:3
    ke https://172.20.10.2/assets/bastion/bastion-a61e08734ad66c57bc535a2e0c25acc398bb44a8ac0e0ecd3541a62fa8bccafb.js:3
    c https://172.20.10.2/assets/bastion/bastion-a61e08734ad66c57bc535a2e0c25acc398bb44a8ac0e0ecd3541a62fa8bccafb.js:3
    mt https://172.20.10.2/assets/bastion/bastion-a61e08734ad66c57bc535a2e0c25acc398bb44a8ac0e0ecd3541a62fa8bccafb.js:3
    t https://172.20.10.2/assets/bastion/bastion-a61e08734ad66c57bc535a2e0c25acc398bb44a8ac0e0ecd3541a62fa8bccafb.js:3
    q https://172.20.10.2/assets/bastion/bastion-a61e08734ad66c57bc535a2e0c25acc398bb44a8ac0e0ecd3541a62fa8bccafb.js:3
    <anonymous> https://172.20.10.2/assets/bastion/bastion-a61e08734ad66c57bc535a2e0c25acc398bb44a8ac0e0ecd3541a62fa8bccafb.js:26
    c https://172.20.10.2/webpack/foreman-vendor.bundle-v10.1.0-production-764404f58e4a47165b8a.js:173
    fireWith https://172.20.10.2/webpack/foreman-vendor.bundle-v10.1.0-production-764404f58e4a47165b8a.js:173
    ready https://172.20.10.2/webpack/foreman-vendor.bundle-v10.1.0-production-764404f58e4a47165b8a.js:173
    E https://172.20.10.2/webpack/foreman-vendor.bundle-v10.1.0-production-764404f58e4a47165b8a.js:173
    promise https://172.20.10.2/webpack/foreman-vendor.bundle-v10.1.0-production-764404f58e4a47165b8a.js:173
    a https://172.20.10.2/webpack/foreman-vendor.bundle-v10.1.0-production-764404f58e4a47165b8a.js:173
    js https://172.20.10.2/webpack/foreman-vendor.bundle-v10.1.0-production-764404f58e4a47165b8a.js:173
    n https://172.20.10.2/webpack/foreman-vendor.bundle-v10.1.0-production-764404f58e4a47165b8a.js:1
    js https://172.20.10.2/webpack/foreman-vendor.bundle-v10.1.0-production-764404f58e4a47165b8a.js:1
    n https://172.20.10.2/webpack/foreman-vendor.bundle-v10.1.0-production-764404f58e4a47165b8a.js:1
    0 https://172.20.10.2/webpack/foreman-vendor.bundle-v10.1.0-production-764404f58e4a47165b8a.js:398
    n https://172.20.10.2/webpack/foreman-vendor.bundle-v10.1.0-production-764404f58e4a47165b8a.js:1
    <anonymous> https://172.20.10.2/webpack/foreman-vendor.bundle-v10.1.0-production-764404f58e4a47165b8a.js:1
    <anonymous> https://172.20.10.2/webpack/foreman-vendor.bundle-v10.1.0-production-764404f58e4a47165b8a.js:1
bastion-a61e08734ad66c57bc535a2e0c25acc398bb44a8ac0e0ecd3541a62fa8bccafb.js:3:4735

Could you help? Thank you

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

寻找一个思念的角度 2025-02-20 14:06:27

控制台日志中的语法错误是指错误的文件。错误是在Katello字典中,/USR/Share/gems/gems/katello-4.5.0.rc1/local/fr

在法语中,我们使用此特殊字符',并且会导致此错误;因此,我将其删除(请参阅屏幕截图),然后重新启动工头:工头维护服务重新启动

fr dictionnary错误

The syntax error in the console log refers to the wrong file. The error was in the Katello dictionary, /usr/share/gems/gems/katello-4.5.0.rc1/local/fr.

In French, we use this special character ' and it causes this bug; so I removed it (see screenshot) and restarted foreman: foreman-maintain service restart.

FR Dictionnary Error

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文