Everytime app pool restarts, I lose changes. uSync installed
Hello,
I'm just trying to setup Usync. I got it working on my local host and everything worked fine, it created the xml and when copied across to the 2nd site it imported nicely.
The issue is I've now published the websites to devtest server, so if I create a document type, save it, everything looks ok. I refresh the app pool and the document type gets removed?
I've tried it on UmbracositeA and B and same issue happens.
this looks like a file permissions issue - in that uSync can't write to the uSync/data folder on your server ?
This would explain the error and the fact that you are not getting changes saved to the disk (so when you restart the site, the old changes from the disk are getting written back to umbraco)
You will need to give the account running the site (maybe network service) change permission to the uSync folder.
Jumoo.uSync.BackOffice.uSyncEvents - Failed to Archive the existing file (might be locked?) System.UnauthorizedAccessException: Access to the path 'D:\Web_Files\Test\UmbracoSiteA\uSync\data\DocumentType\home\def.config' is denied.
Which sorts of explains it, the website app pool is running under Network service, should I need to add it to specific folders aswell?
Tried adding it to the specific folder, but still getting same error. Really strange!
As the folders already exist, you might need to apply the permissions down the tree. so click the 'replace all child permissions....' box, and then all of the folders file permissions will be reset.
I think I've narrowed it down to its because my Umbraco install is in a sub folder, but cant find where its getting its reference to that file "/app_plugins/uSync.Content/uSyncDashboardContent.html"
For anyone who's getting here because of the usyncBackoffice.config still reverting on each site startup... check if you use true/false instead of True/False. The versions for umbraco 7 are having an issue with that...
Everytime app pool restarts, I lose changes. uSync installed
Hello,
I'm just trying to setup Usync. I got it working on my local host and everything worked fine, it created the xml and when copied across to the 2nd site it imported nicely.
The issue is I've now published the websites to devtest server, so if I create a document type, save it, everything looks ok. I refresh the app pool and the document type gets removed?
I've tried it on UmbracositeA and B and same issue happens.
Both UmbracositeA and B have a separate database
Anyone know what could be causing this?
Thanks
Even if I try to do a manual Full Export I get the following error on sites A and B;
Error: An error has occurred. - Access to the path 'ApprovedColor.config' is denied.
But on local I get no errors and it works fine?...
Hi Matt,
this looks like a file permissions issue - in that uSync can't write to the uSync/data folder on your server ?
This would explain the error and the fact that you are not getting changes saved to the disk (so when you restart the site, the old changes from the disk are getting written back to umbraco)
You will need to give the account running the site (maybe network service) change permission to the uSync folder.
Kevin
Hello Kevin,
Thanks for the reply.
Yea this is in my uSyn log.
Jumoo.uSync.BackOffice.uSyncEvents - Failed to Archive the existing file (might be locked?) System.UnauthorizedAccessException: Access to the path 'D:\Web_Files\Test\UmbracoSiteA\uSync\data\DocumentType\home\def.config' is denied.
Which sorts of explains it, the website app pool is running under Network service, should I need to add it to specific folders aswell?
Tried adding it to the specific folder, but still getting same error. Really strange!
Thanks.
Hi
As the folders already exist, you might need to apply the permissions down the tree. so click the 'replace all child permissions....' box, and then all of the folders file permissions will be reset.
Hello Kevin,
Thanks for that, I forgot to add modify to the Network Service oops!
1 more thing you may be able to help with....
I installed the uSync content, however when I now go into uSync I get the following error;
Request error: The URL returned a 404 (not found): /app_plugins/uSync.Content/uSyncDashboardContent.html
I've checked the file and its there, but doesn't seem to pick it up?
I think I've narrowed it down to its because my Umbraco install is in a sub folder, but cant find where its getting its reference to that file "/app_plugins/uSync.Content/uSyncDashboardContent.html"
For anyone who's getting here because of the usyncBackoffice.config still reverting on each site startup... check if you use true/false instead of True/False. The versions for umbraco 7 are having an issue with that...
is working on a reply...