I deployed my Umbraco v 7.7.9 site from qa server to prod server. I replicated the SQL database from my qa sql server to my prod sql server. Everything but the copy is rendering/functioning properly. The images stored in Umbraco are rendering. But, none of the copy. Everything looks good in the CMS it's just not rendering on the website. I've verified the SQL connection string credentials are working. I'm at a loss what to check next.
This might seem an obvious question, so apologies in advance. Have you checked the rendered HTML to check the text definitely isn't part of it? It could be something like a style sheet mixup causing the text to render invisible?
You could also try republishing the entire site as this content that renders comes from the Umbraco Cache and that would refresh the cache.
Thanks @Nik. Thank you for your suggestion! I did both of these already. I republished all pages and checked the HTML (the copy from Umbraco is not rendering), everything from the templates and the images are rendering.
Thanks for the suggestions @Nik. I already tried republishing all of the content pages. I just tried again since rebuilding the indexes per Alex. That didn't do the trick. I also checked the rendered HTML (everything is rendering from Umbraco except my copy).
The files were copied from my qa to my www web server. The database was backed-up/restored from my qa to www sql server. The only thing that's different from the www site and qa site are two things, 1-the connection string, 2-www is running https. Of note, the issue existed before I enabled https on www.
I should have noticed this earlier. It seems only my homepage is affected.
Have you noticed that some text appears to be rendering. "Introducing Franklin's Newest Place" appears to be coming through. Is that text from the CMS? I'm assuming it's not hard coded?
If you open up the umbraco.config file in the app data folder, can you see all the text in there?
If you aren't aware, that file is the Umbraco XML cache file so should contain all of your published content in XML format. It can be a bit horrible to navigate and find things in it but I'd have a look there next.
Ah, okay. So lets try deleting the umbraco.config file.
Then touch the web.config to cause the website to restart (just add a space at the end and save it).
This should cause the cache file to get regenerated when the website restarts.
Ok. I copied the umbraco.config file over from my qa to www. I then rebuilt my indexes. The copy still didn't show up on the site. After I published the home page it wiped out the copy from umbraco.config
Then I realized the copy was missing from the CMS for the home page. So I duplicated it manually from qa to www and save/publish and that worked.
I think the quirkiness may have stemmed from I had a pending change on my Home page when it was on qa. I didn't realize it until after I deployed it to www. So once it was on www, I save/publish and that's when things went sideways.
Thanks @AlexSkrypnyk (again) and @Nik for your help troubleshooting this issue!
None of my copy is rendering
I deployed my Umbraco v 7.7.9 site from qa server to prod server. I replicated the SQL database from my qa sql server to my prod sql server. Everything but the copy is rendering/functioning properly. The images stored in Umbraco are rendering. But, none of the copy. Everything looks good in the CMS it's just not rendering on the website. I've verified the SQL connection string credentials are working. I'm at a loss what to check next.
Hi Bh
Can you check Examine indexes, are they in place? Are they fresh? Can you have a look at Developer => Examine Management => Rebuild indexes
And test Run health checks - maybe there is something
/Alex
I did the health check already. I rebuilt all 3 indexes. That did not resolve the issue.
Hi Bh,
This might seem an obvious question, so apologies in advance. Have you checked the rendered HTML to check the text definitely isn't part of it? It could be something like a style sheet mixup causing the text to render invisible?
You could also try republishing the entire site as this content that renders comes from the Umbraco Cache and that would refresh the cache.
Thanks,
Nik
Thanks @Nik. Thank you for your suggestion! I did both of these already. I republished all pages and checked the HTML (the copy from Umbraco is not rendering), everything from the templates and the images are rendering.
Thanks for the suggestions @Nik. I already tried republishing all of the content pages. I just tried again since rebuilding the indexes per Alex. That didn't do the trick. I also checked the rendered HTML (everything is rendering from Umbraco except my copy).
Hi Bh, how does it look?
Can you show what is missing? How do you test the solution and are you sure that database and files are the same?
Sure Alex. Probably the best way to show the differences is qa.bigbytn.com vs www.bigbytn.com
The files were copied from my qa to my www web server. The database was backed-up/restored from my qa to www sql server. The only thing that's different from the www site and qa site are two things, 1-the connection string, 2-www is running https. Of note, the issue existed before I enabled https on www.
I should have noticed this earlier. It seems only my homepage is affected.
Do you have some code that is related to current domain?
Are you using domains settings in Umbraco?
Can you show the razor code that renders front page?
Have you noticed that some text appears to be rendering. "Introducing Franklin's Newest Place" appears to be coming through. Is that text from the CMS? I'm assuming it's not hard coded?
Good point, Nik
@Nik I assumed the text you refrenced was accidently hardcoded, but in fact that is pulling thru from Umbraco CMS.
Here's the template @Alex:
Hi Bh,
If you open up the umbraco.config file in the app data folder, can you see all the text in there?
If you aren't aware, that file is the Umbraco XML cache file so should contain all of your published content in XML format. It can be a bit horrible to navigate and find things in it but I'd have a look there next.
Nik
@Nik the copy is missing from umbraco.config
Ah, okay. So lets try deleting the umbraco.config file. Then touch the web.config to cause the website to restart (just add a space at the end and save it).
This should cause the cache file to get regenerated when the website restarts.
Can you check that app_data folder has right permissions?
Check install permissions - https://our.umbraco.org/documentation/getting-started/setup/install/permissions
@Alex the App_Data folder and the umbraco.config file have requisite security.
Resolved.
Ok. I copied the umbraco.config file over from my qa to www. I then rebuilt my indexes. The copy still didn't show up on the site. After I published the home page it wiped out the copy from umbraco.config
Then I realized the copy was missing from the CMS for the home page. So I duplicated it manually from qa to www and save/publish and that worked.
I think the quirkiness may have stemmed from I had a pending change on my Home page when it was on qa. I didn't realize it until after I deployed it to www. So once it was on www, I save/publish and that's when things went sideways.
Thanks @AlexSkrypnyk (again) and @Nik for your help troubleshooting this issue!
Wow, it wasn't easy to fix ) but it's not an issue at all ))
HAve a great evening, Guys
is working on a reply...