Broken layout after upgrade to 11.6.0

Dear Community,

I’m new here and need some support.
I did review forum and other pages over Internet and didn’t find any supporting info so far.

After latest upgrade to GitLab Community Edition [11.6.0] my layout has been broken.
I tried to switch on static files like it helped me before but this time it failed:
vi /opt/gitlab/embedded/service/gitlab-rails/config/environments/production.rb

Disable Rails’s static asset server (Apache or nginx will already do this)

if Gitlab.rails5?
config.public_file_server.enabled = false
else
config.serve_static_files = true
end

My layout looks like this:


In logs I can’t find any errors.
The only warnings I can see in console:
Loading failed for the <script> with source “https://gitlab.myname.com/assets/webpack/runtime.36639ba9.bundle.js”. sign_in:34:1

Loading failed for the <script> with source “https://gitlab.myname.com/assets/webpack/main.467495dc.chunk.js”. sign_in:35:1

Loading failed for the <script> with source “https://gitlab.myname.com/assets/webpack/commons~pages.ldap.omniauth_callbacks~pages.omniauth_callbacks~pages.sessions~pages.sessions.new.1903546f.chunk.js”. sign_in:36:1

Loading failed for the <script> with source “https://gitlab.myname.com/assets/webpack/pages.sessions.new.bf8800a8.chunk.js”. sign_in:37:1
I checked and files exists in following location:
/opt/gitlab/embedded/service/gitlab-rails/public/assets/webpack/
-rw-r–r-- 1 root root 3664 Dec 21 21:24 /opt/gitlab/embedded/service/gitlab-rails/public/assets/webpack/runtime.36639ba9.bundle.js
-rw-r–r-- 1 root root 1960957 Dec 21 21:24 /opt/gitlab/embedded/service/gitlab-rails/public/assets/webpack/main.467495dc.chunk.js
-rw-r–r-- 1 root root 11262 Dec 21 21:24 /opt/gitlab/embedded/service/gitlab-rails/public/assets/webpack/commons~pages.ldap.omniauth_callbacks~pages.omniauth_callbacks~pages.sessions~pages.sessions.new.1903546f.chunk.js
-rw-r–r-- 1 root root 5502 Dec 21 21:24 /opt/gitlab/embedded/service/gitlab-rails/public/assets/webpack/pages.sessions.new.bf8800a8.chunk.js

OS is CentOS release 6.10 (Final)
SELinux is disabled.

Any ideas how to solve it?

Thanks,

Hi @sqsmacz,

Is the domain you’re using actually “https://gitlab.myname.com/”?

If so, there appears to be an issue with the SSL certificate for this domain, which could cause problems like the one you’re describing.

When you open your GitLab homepage, open the Developer Tools in your browser ( Ctrl+Alt+I or F12 for Chrome/Firefox ). Then, click to the “Console” tab (if its not already displayed).
With the Browser/DevTools console open, reload any page where you are having layout/styling issues - you should see some errors pop up.
Copy/paste any error messages here and I’d be happy to troubleshoot for you.

Best Regards,
Greg Myers

Hi Greg!
Thanks for your reply.

No, it’s not my original domain.
My certificate is wildcard and it’s valid - thanks for suggestion.

The errors on console debug I described in my previous post and they are as follow:
Loading failed for the <script> with source “https://gitlab.myname.com/assets/webpack/runtime.36639ba9.bundle.js”. sign_in:34:1

Loading failed for the <script> with source “https://gitlab.myname.com/assets/webpack/main.467495dc.chunk.js”. sign_in:35:1

Loading failed for the <script> with source “https://gitlab.myname.com/assets/webpack/commons~pages.ldap.omniauth_callbacks~pages.omniauth_callbacks~pages.sessions~pages.sessions.new.1903546f.chunk.js”. sign_in:36:1

Loading failed for the <script> with source “https://gitlab.myname.com/assets/webpack/pages.sessions.new.bf8800a8.chunk.js”. sign_in:37:1
I checked and files exists in following location:
/opt/gitlab/embedded/service/gitlab-rails/public/assets/webpack/
-rw-r–r-- 1 root root 3664 Dec 21 21:24 /opt/gitlab/embedded/service/gitlab-rails/public/assets/webpack/runtime.36639ba9.bundle.js
-rw-r–r-- 1 root root 1960957 Dec 21 21:24 /opt/gitlab/embedded/service/gitlab-rails/public/assets/webpack/main.467495dc.chunk.js
-rw-r–r-- 1 root root 11262 Dec 21 21:24 /opt/gitlab/embedded/service/gitlab-rails/public/assets/webpack/commons~pages.ldap.omniauth_callbacks~pages.omniauth_callbacks~pages.sessions~pages.sessions.new.1903546f.chunk.js
-rw-r–r-- 1 root root 5502 Dec 21 21:24 /opt/gitlab/embedded/service/gitlab-rails/public/assets/webpack/pages.sessions.new.bf8800a8.chunk.js

Seems to be unfortunately all pages are broken…

Additional error found on console:
Error loading this URI: Could not load the source for blob:https://gitlab.myname.com/52dd005b-5948-9b4d-a190-52d950279d50.
[Exception… “Failed to open input source ‘blob:https://gitlab.myname.com/52dd005b-5948-9b4d-a190-52d950279d50’” nsresult: “0x805303f4 ()” location: “JS frame :: resource://devtools/shared/base-loader.js -> resource://devtools/shared/DevToolsUtils.js :: mainThreadFetch :: line 644” data: yes]
Stack: mainThreadFetch@resource://devtools/shared/base-loader.js -> resource://devtools/shared/DevToolsUtils.js:644:5
_getSourceText/<@resource://devtools/shared/base-loader.js -> resource://devtools/server/actors/source.js:417:29
Line: 644, column: 0

Any suggestion so far?
Thanks! :slight_smile: