Broken(brown) links, macros include doesn't work

Vladimir Fed November 17, 2023

Hi, 
after migration Confluence Server to another server(centos->debian, version Confluence 7.19.2 was not change) the links are broken and turn brown, and when you click on these links, you are taken to the editing mode and not to the working page.Screenshot_3.jpg However, editing them is not available, and if you create the link again, it does not change.

Screenshot_2.jpg

I try rebuil content indexing, but it doesn't help.

The macro include page also stopped working.There are no restrictions at the page or space level. Screenshot_4.jpg

 

There was also a problem with the inaccessibility of downloading files on the page, I solved it by restoring the page to the previous version.

I would be very grateful if you could help me find out what the problem might be.

1 answer

1 accepted

1 vote
Answer accepted
Shawn Doyle - ReleaseTEAM
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 17, 2023

Are these links internal, links to other Confluence pages, or external to other websites?  If internal did the url to confluence itself change or did you keep it the same, e.g. you moved then renamed the server to the original server name?

If editing the link isn't available, are the permissions correct after the move? Possible that you no longer have permission to edit due to some restriction that came over not exactly as expected?

Vladimir Fed November 17, 2023

Hi @Shawn Doyle - ReleaseTEAM 
This is internal links to other Confluence pages, regardless of Confluence space.
The internal url Confluence remained the same.
First I installed the default Сonfluence, then moved application-data directory, server.xml, setenv.sh from the original server, restored the database from backup and changed the config confluence.cfg.xml for DB connection setting( i used postgresql12) 

Not sure about the restrictions, because... I can delete, unlink these links or create new ones, but after creation they remain the same

Shawn Doyle - ReleaseTEAM
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 17, 2023

next question. Do the links work? Meaning if you grabbed the link and used it in a browser, does it work?

Vladimir Fed November 17, 2023

No, it doesn't work

I will describe the process step by step

  • I'm editing an existing broken link, a try insert link by search pageScreenshot_5.jpg
  • After my change, we see that the selected link is displayed correctly and click updateScreenshot_6.jpg
  • And link looks incorrect again

Screenshot_8.jpg

 

If i copy link and paste into browser or try follow link from the page i'll get link format http://confluence_url_name/pages/createpage.action?spaceKey=IT&title=%D0%93%D1%80%D1%83%D0%BF%D0%BF%D0%B0+%D0%BF%D0%BE%D0%B4%D0%B4%D0%B5%D1%80%D0%B6%D0%BA%D0%B8+%D0%B8%D0%BD%D1%84%D1%80%D0%B0%D1%81%D1%82%D1%80%D1%83%D0%BA%D1%82%D1%83%D1%80%D1%8B&linkCreation=true&fromPageId=16222877

And it's look like this

Screenshot_7.jpg

that is, it looks like it can't find this page and wants to create one with the same name

Vladimir Fed November 17, 2023

I forgot to add that not all links of this type were broken after the migration. On what basis they broke is also unclear

Vladimir Fed November 20, 2023

@Shawn Doyle - ReleaseTEAM Hi
I have found that the problem is fixed for the link when I reassign permissions and restrictions on space and pages even though the users have access, then change the page that the link goes to, and restore from the previous version.
This method works, but it is extremely routine, because there are more than 300 such broken links

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events