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.
However, editing them is not available, and if you create the link again, it does not change.

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. 
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.