Templates and Doc Types missing after copying Umbraco
Hi,
Umbraco version 4.0.2.1
1. We copied the Umbraco from production (live) and used it to replace the Umbraco on the Test server as the latter was corrupted. However after copying, the Templates are missing in the Test server and the Document Types are popping up errors as "Server Error in '/' Application".
2. This Umbraco holds multiple domains. After copying to the Test server, the "Link to document" and "Althernative Links" for one of the domains is pointing to the live URL "http://www.xxx.com" when we really need it to point to the Test server domain "http://uat.xxx.com".
We restarted the Test Server after copying. Can anyone help with these 2 problems urgently please? What steps have we missed?
#1 issue is still open. Where can I find the "code" directories? I tried to look but can't find it on the Test Server.
When I open the "Settings" view, I got errors when I tried to create new templates/document type, or modify the existing stylesheets. As mentioned before, we copied the whole Umbraco from the production and replaced this on the Test server. Could it be something missing in the config?
#1 by that, I meant what did you restore from production? Did you do a DB restore? Did you copy all the directories (/media, /umbraco, /umbraco_client, /xslt etc.) from production to test?
After reading other similar posts on the forum. it appeared to be the lack of permissions on the IIS to access these Umbraco folders. The following article tells you which folders to set permissions to:
Templates and Doc Types missing after copying Umbraco
Hi,
Umbraco version 4.0.2.1
1. We copied the Umbraco from production (live) and used it to replace the Umbraco on the Test server as the latter was corrupted. However after copying, the Templates are missing in the Test server and the Document Types are popping up errors as "Server Error in '/' Application".
2. This Umbraco holds multiple domains. After copying to the Test server, the "Link to document" and "Althernative Links" for one of the domains is pointing to the live URL "http://www.xxx.com" when we really need it to point to the Test server domain "http://uat.xxx.com".
We restarted the Test Server after copying. Can anyone help with these 2 problems urgently please? What steps have we missed?
Thanks
1. did you copy all the code directories and the database? did you update the web.config connection string to point to the test DB?
2. you will need to right click on the domain, edit the hostnames to point to the test server doamin and then re-publish the entire site.
Hi Paul,
#2 issues has been resolved. Thanks for that.
#1 issue is still open. Where can I find the "code" directories? I tried to look but can't find it on the Test Server.
When I open the "Settings" view, I got errors when I tried to create new templates/document type, or modify the existing stylesheets. As mentioned before, we copied the whole Umbraco from the production and replaced this on the Test server. Could it be something missing in the config?
Thanks
#1 by that, I meant what did you restore from production? Did you do a DB restore? Did you copy all the directories (/media, /umbraco, /umbraco_client, /xslt etc.) from production to test?
Yes, everything was copied from production to test. I think the DB was restored.
We have restored the web.config and umbracosettings.config in the Test server with the copies from before replacing.
are you able to get a copy of the backup and attempt a restore locally
Hi,
After reading other similar posts on the forum. it appeared to be the lack of permissions on the IIS to access these Umbraco folders. The following article tells you which folders to set permissions to:
http://our.umbraco.org/wiki/reference/files-and-folders/permissions
Thanks Paul for your help :)
is working on a reply...