Blogs are unpublished automatically and loaded old verion
I am using Umbraco version 7.7.4. for blog articles. After adding new article and publishing site, new article will displayed on site with other contents. But after some time (may be 1 day) , it will automatically load old version without newly added articles.
I have found that "Unpublish at" flag is not set with any date. So not able to identify that, from where unpublishing of site being encounter.
Also some of blog items displaying Properties tab > Link to document : this document is published but is not in the cache. (Earlier it was displaying particular blog link)
It sounds like that the account your website is running under doesn't have the correct permissions to update the file system.
Published content is stored in a file called umbraco.config, this lives in the /app_data/ folder of your application.
A copy of this is stored in memory.
When you publish a new article, the version in memory is immediately updated (you see your new article on the site, and all appears fine)
Umbraco then tries to update the version on disk.
If permissions aren't setup correctly this version doesn't get updated.
When the site recycles it's application pool, eg the routinely on the following day, it will lose the version in memory, and load the cache file from the disk location, but because this hasn't been updated, your site's published content rolls back... the database knows the new article should be published, but it isn't in the Umbraco.config cache file - hence the message.
So have a look a the documentation for permissions:
To add to Marc's response I've found that if you have forgotten uSync dlls (not sure if you're using uSync, just saying) in the bin folder, once it recycles it will sometimes use the older version or generally mess up.
Blogs are unpublished automatically and loaded old verion
I am using Umbraco version 7.7.4. for blog articles. After adding new article and publishing site, new article will displayed on site with other contents. But after some time (may be 1 day) , it will automatically load old version without newly added articles.
I have found that "Unpublish at" flag is not set with any date. So not able to identify that, from where unpublishing of site being encounter.
Also some of blog items displaying Properties tab > Link to document : this document is published but is not in the cache. (Earlier it was displaying particular blog link)
Thanks!
Hi Khyati
It sounds like that the account your website is running under doesn't have the correct permissions to update the file system.
Published content is stored in a file called umbraco.config, this lives in the /app_data/ folder of your application.
A copy of this is stored in memory.
When you publish a new article, the version in memory is immediately updated (you see your new article on the site, and all appears fine)
Umbraco then tries to update the version on disk.
If permissions aren't setup correctly this version doesn't get updated.
When the site recycles it's application pool, eg the routinely on the following day, it will lose the version in memory, and load the cache file from the disk location, but because this hasn't been updated, your site's published content rolls back... the database knows the new article should be published, but it isn't in the Umbraco.config cache file - hence the message.
So have a look a the documentation for permissions:
https://our.umbraco.com/documentation/getting-started/setup/server-setup/permissions
and review your setup accordingly.
regards
Marc
Hi Khyati,
To add to Marc's response I've found that if you have forgotten uSync dlls (not sure if you're using uSync, just saying) in the bin folder, once it recycles it will sometimes use the older version or generally mess up.
is working on a reply...