We upgraded to Sitecore 10.1 from Sitecore 8.2. I am facing publishing issues.
I have migrated master database content in Sitecore 10.1. The publishing of some sites to the web database are fine. Some sites take few hours to publish but they finish successfully without any errors.
Some of the content stuck after number of items. For example, I published an item with child items (around 60 child items) and it was stuck after 46 items. There were no errors in the log and after stuck on the same 46 item, If I leave the page open for couple of hours then the page redirects to the login page. Some of the successful published items which take few hours to publish don't result in redirecting to the login page. This is just happening with the stuck items.
Its very difficult to figure out the issue because there are no failures in the log. Most of the content published fine but this is happening with very few items.
I cleared the publishing queue, restarted website several times and published the items with Smart/ Republish optons.
Any recommendations?