Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Some pages render blank after upgrade

Snorre Selmer April 10, 2018

After upgrading our Confluence from 4.3.1 to 6.7.2, some pages have stopped rendering.

If you go to the page, it shows as blank, but if you use the View Source option in Confluence, the content displays fine.

If you edit the page, the content is there, but saving the page doesn't do anything. Adding a few random characters to alter the content and then saving doesn't help either.

If I copy the content from the edit-page and paste it into a new page, it still renders as a blank page. If I copy the content from the "View Source"-window and paste it into a new page, it renders correctly.

Anyone here have an idea what's happening? Any way to fix this for all the affected pages in one go?

2 answers

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 10, 2018

Pick one of the broken pages and have another look at the source.  Do you have any macros that could be doing bad things?  I've managed to break upgrades with "unmigrated wiki markup" and my own user macros more than once (especially my dodgy user macros that don't upgrade nicely)

Snorre Selmer April 10, 2018

As far as I can tell, there are no user macros in use on these pages. They only use bullet-point lists and tables from the Confluence GUI editor.

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 10, 2018

Ok.  I think we need to have a good look at the difference between these blank pages and one that works ok.

When they're coming out blank, is it everything that is blank, or just the content area?  Is there any real content in the raw html of the page?  (Use browser development tools to see the page source)

Snorre Selmer April 23, 2018

Sorry for the lengthy delay on replying, been out sick for two weeks.

Inspecting the HTML in Chrome yields no page-content, so what is rendered is correct according to the HTML.

Captures.PNG

But when I "View Source" or "View Storage Format", the pop-up window displays the expected text correctly. The strange thing is that this seems to be a problem this user has with more pages on his personal space, but so far it's only this one user. 

Captures2.PNGHere's a screen-capture with the "View Source" window content partially visible on the right:Could it be a problem with Active Object indexing? User privileges?

Snorre Selmer April 25, 2018

OK, digging into the HTML I see that the <div id="main-content" class="wiki-content"> section is just plain missing from all the pages on this user's user-space. Why this is, I have no idea...

Snorre Selmer April 30, 2018

I feel a bit stupid for not connecting the dots sooner, but I found the root cause.

After a bit of testing, we found this only affected this user's personal Space, all pages, even newly created ones.

Then today it hit me. I went into the Space "Look and Feel" and found that (as I suspected) the Page Layout had some legacy edits to it, and after a "Reset to Default", everything rendered just fine.

Case closed, thanks for all the help, apologies for being a bit dim. ;)

0 votes
Snorre Selmer April 10, 2018

I'll do a diff on the content when I get back to work next week (busted my back today, out for a week).

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events