Moved Umbraco From One Server To Another - Can't View/Edit Pages in Admin
Hi Guys, forgive me I'm not an ASP or an Umbraco professional!
I've been given a project which involves me moving an Umbraco installation from one server to another.
Although the site is live on the new server & I can login fine, I cannot view the pages in the back end or make changes. Here's a screenshot of the site:-
The server move was simply a case of recreating the database on the new server & uploading the files, given to us by the old team.
Any help will be greatfully appreciated, let me know if you need anything else.
Server Details:
umbraco v
4.0.0 (Assembly version: 1.0.3327.20280)
MS Windows Server 2003 Standard x64 Edition with Service Pack 2
That looks like a permissions problem to me. See if the 'NETWORK SERVICE' account has full access to the website directory (it doesn't need to have full access to all folder, once it works you can fine tune the settings using info from here). Actually it is quite interesting that you can see the frontend after the transfer, that means it is probably just feeding from the cache with all the settings from the source server. The first thing you need to do once you've got the backend working is to right-click on the top node 'Content' and select Re-publish entire site, that will refresh the cache with all the information from your new website location.
I've tried the right click - republish, but a menu doesn't open. It flashes up a menu for a split section with no items in it (I managed to capture a print screen - attached).
Can you confirm that you restored the database from the previous installation? It looks to me like you may have done a fresh install of umbraco and then copied over the files which would give you the published site, but not the content from the database.
Think we're getting somewhere. Permissions appear to not be working. For whatever reason. When going to the URL specified by Tom it says that the permissions aren't set. When I check how to set it, as well as a list, there was this:-
Error message: System.UnauthorizedAccessException:
Access to the path
'C:\Inetpub\vhosts\[domainname.com]\httpdocs\data\umbraco.config' is
denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String
maybeFullPath)
at System.IO.File.SetAttributes(String path, FileAttributes
fileAttributes)
at umbraco.content.ClearDiskCache()
at umbraco.content.SaveContentToDisk(XmlDocument xmlDoc)
at
umbraco.presentation.install.steps.validatePermissions.Page_Load(Object
sender, EventArgs e)
Did the permissions reset which was this:-
C:\Documents and Settings\Administrator>cd C:\Inetpub\vhosts\[domainname.com]\httpdocs
Quick question: Does recycle pop any sort of window up (IIS Manager > select the App Pool > Right Click > Recycle)? As there's not even an egg timer that pops up.
Patrick: I'm 99% sure the database is working. I can login & the content seems to be within the database. Unless neither of these are an indicator.
Have you tried to set Network Service to have full control over the directory? If your running on a IIS7 then the app pool will run with user IIS AppPool\<app pool name> by default. Try to set Network service as apppoolidentity if nothing else works...
Since you are running IIS6 don't worry about the IIS AppPool\<app pool name> Christer mentioned as that was introduced later, but definitely try out giving the Network Service full permissions. From the command line you would use
icacls xslt /grant "NETWORK SERVICE":(OI)(CI)F
and I would also choose to use :r to override any existing permissions etc (see here) and get rid of (OI)(CI), but that is just a suggestion, don't really know if that helps of not.
As I'm a fan of the UI interface for setting permissions you can also right-click on the folder and perform these settings in the 'Security' tab.
Right getting somehwere :) - Sascha you're a star!
Now having a document tree, so I can see the documents, however whenever I right click on the files still getting the split second popup (but there's now a menu there, see below!)
Also whenever I try & click on a file to edit it, then I get this error:-
Thanks for everybody's help so far! If you're ever in Manchester I'll buy you all a beer :)
Moved Umbraco From One Server To Another - Can't View/Edit Pages in Admin
Hi Guys, forgive me I'm not an ASP or an Umbraco professional!
I've been given a project which involves me moving an Umbraco installation from one server to another.
Although the site is live on the new server & I can login fine, I cannot view the pages in the back end or make changes. Here's a screenshot of the site:-
The server move was simply a case of recreating the database on the new server & uploading the files, given to us by the old team.
Any help will be greatfully appreciated, let me know if you need anything else.
Server Details:
umbraco v 4.0.0 (Assembly version: 1.0.3327.20280)
MS Windows Server 2003 Standard x64 Edition with Service Pack 2
ASP.Net 3.0
MSSQL 2008 R2
IIS v6.0
Hi Rhys and welcome!
That looks like a permissions problem to me. See if the 'NETWORK SERVICE' account has full access to the website directory (it doesn't need to have full access to all folder, once it works you can fine tune the settings using info from here). Actually it is quite interesting that you can see the frontend after the transfer, that means it is probably just feeding from the cache with all the settings from the source server. The first thing you need to do once you've got the backend working is to right-click on the top node 'Content' and select Re-publish entire site, that will refresh the cache with all the information from your new website location.
Hope that helps,
Sascha
Hi Rhys,
Have you tried to republish the site?
eg. Right click on the content folder and cclick the Republish entire site?
I've had this more and doing this has solved my problem
Tom
Hi Guys,
First of all, thanks for the help :D
I think I've set the permissions correctly (I followed the instructions on this page - http://our.umbraco.org/wiki/install-and-setup/set-umbraco-folder-permissions-from-command-line, running a bat file from both the website root in httpdocs, and in the httpdocs/install folder), is there any way I can check? Apologies, I'm not an ASP/Windows guy! :(
I've tried the right click - republish, but a menu doesn't open. It flashes up a menu for a split section with no items in it (I managed to capture a print screen - attached).
Hope that helps :)
Try logging out of umbraco and then recylce the app pool on the server which Umbraco is running on.
Then logging back into Umbraco, this should re-compile and then hopefully all the permissions should pass through.
Tom
Hi Guys,
Sorry for the delay, still no joy following a recycle.
Is there any way of checking the permissions are set correctly? Think this could be an issue!
Cheers
Rhys
Rhys,
You can check by doing the following:
Tom
Hi Rhys,
Can you confirm that you restored the database from the previous installation? It looks to me like you may have done a fresh install of umbraco and then copied over the files which would give you the published site, but not the content from the database.
Cheers,
Patrick
Hi Guys,
Think we're getting somewhere. Permissions appear to not be working. For whatever reason. When going to the URL specified by Tom it says that the permissions aren't set. When I check how to set it, as well as a list, there was this:-
Did the permissions reset which was this:-
Recycled & it still doesn't work.
Quick question: Does recycle pop any sort of window up (IIS Manager > select the App Pool > Right Click > Recycle)? As there's not even an egg timer that pops up.
Patrick: I'm 99% sure the database is working. I can login & the content seems to be within the database. Unless neither of these are an indicator.
Have you tried to set Network Service to have full control over the directory? If your running on a IIS7 then the app pool will run with user IIS AppPool\<app pool name> by default. Try to set Network service as apppoolidentity if nothing else works...
Sorry, stupid question but I'm running IIS6, how would I do this?
Hey Rhys,
Since you are running IIS6 don't worry about the IIS AppPool\<app pool name> Christer mentioned as that was introduced later, but definitely try out giving the Network Service full permissions. From the command line you would use
and I would also choose to use :r to override any existing permissions etc (see here) and get rid of (OI)(CI), but that is just a suggestion, don't really know if that helps of not.
As I'm a fan of the UI interface for setting permissions you can also right-click on the folder and perform these settings in the 'Security' tab.
Hope that helps,
Sascha
Right getting somehwere :) - Sascha you're a star!
Now having a document tree, so I can see the documents, however whenever I right click on the files still getting the split second popup (but there's now a menu there, see below!)
Also whenever I try & click on a file to edit it, then I get this error:-
Thanks for everybody's help so far! If you're ever in Manchester I'll buy you all a beer :)
Update - flicky menu bars is fixed, seems to be a Firefox issue. Works fine in IE (irony)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.