我刚刚在离线环境下安装了Foreman 3.3和Katello 4.5。
在下面的页面中,我有一个空白的屏幕,有一些控制台输出错误(见下面的截图)。
由于Bastion UI或JSON中的错误,页面似乎无法加载。但我还是不明白这个问题。
受影响的页面:产品
- <
- 内容视图/gh><
- 同步计划/gh>
- 的生命周期环境 <
- 内容凭证/gh><
- 激活键/gh><
- Deb包/gh>
- 容器图像标签 文件<
- 包/gh>
- 勘误表 <
- 内容主机/gh><
- 主机集合/gh>
控制台输出错误:
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
你能帮忙吗?谢谢你
控制台日志中的语法错误指向错误的文件。错误在Katello字典中,/usr/share/gems/gems/katello-4.5.0.rc1/local/fr
。
在法语中,我们使用这个特殊字符'
,这导致了这个错误;所以我删除了它(见截图),并重新启动foreman:foreman-maintain service restart
。
FR字典错误