Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Khyati Shah 1 post 81 karma points
    Oct 15, 2018 @ 06:28
    Khyati Shah
    0

    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!

  • Marc Goodson 2141 posts 14344 karma points MVP 8x c-trib
    Oct 15, 2018 @ 08:07
    Marc Goodson
    100

    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

  • Harry Spyrou 212 posts 604 karma points
    Oct 15, 2018 @ 09:45
    Harry Spyrou
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft