I have a header, footer components below /apps/<my-site>/components/structure
In my local author, publish both header, footer displayed and I can see html generated in page source.
When I pushed code to upper environments
in DEV env: author displays header, footer, publish does not display (I do not see html for header, footer components generated)
in Stage env: author, publish both does not display header, footer
Yes code is deployed properly for header, footer, templates in all environments.
I do not have access to osgi console , logs in upper environments, any ideas why this happening only for header, footer ... other components on page rendered fine.
Can you please add screenshot of header component html & html structure from browser page source where header is missing. also if you access to crxde in higher environment try reloading the page & check if there are any error printed on crxde console tab where logs will be generated
It seems like you are using SPA, and the clientlibs, responsible to generate header and footer, is not available on the instance, where you are facing issue.
So it will be better to first try to troubleshoot the issue with the IP:port URL, if it works fine with that then do the required changes to make the clientlibs available on the dispatcher URL.
Hope this will help.
Did you try compare with other working Custom components (on both author and publish instances in higher environments )
you can request for logs from admin (who has access to the logs in higher environment)
These are custom components correct? Are all the pages you have configured in the Publish instance?
I've seen cases where people create their own headers/footers and don't bother checking existence of the pages (bypassing linkchecker).