Copied to clipboard

Flag this post as spam?

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


  • Heiko Luxenhofer 38 posts 138 karma points
    Oct 09, 2015 @ 08:03
    Heiko Luxenhofer
    0

    Courier deployment Cache problem

    Hi everyone,

    we have a problem with Courier deployment. On content page we have a macro which has a reference to another node and collects childrens Title, Text and show them in an accordian. When editor changes one of the childrens property and deploys it with Courier, nothing happens in frontend. In Backend the updated node is shown.

    This are entries of CourierTraceLog:

        2015-10-09 09:43:46,174 [253] DEBUG Umbraco.Courier.RepositoryProviders.Local - [Thread 250] Opening session: cc28c3c3-771e-4b92-b61e-e6cd02565fd7
    2015-10-09 09:43:46,954 [253] DEBUG Umbraco.Courier.RepositoryProviders.Local - [Thread 274] Closing session: cc28c3c3-771e-4b92-b61e-e6cd02565fd7
    2015-10-09 09:43:46,954 [253] DEBUG Umbraco.Courier.Core.EventManager - [Thread 274] Unloading (count: 0)
    2015-10-09 09:43:46,954 [253] DEBUG Umbraco.Courier.RepositoryProviders.Local - [Thread 274] Closing session: cc28c3c3-771e-4b92-b61e-e6cd02565fd7
    2015-10-09 09:43:49,512 [253] DEBUG Umbraco.Courier.RepositoryProviders.Local - [Thread 7] Opening session: 03b17351-dfc6-42a5-8ac3-9005f987a43c
    2015-10-09 09:43:49,528 [253] DEBUG Umbraco.Courier.ItemProviders.DocumentTypeItemProvider - [Thread 201] Saving Contentseite 2014 Dependency
    2015-10-09 09:43:49,606 [253] DEBUG Umbraco.Courier.Core.EventManager - [Thread 201] Adding event ClearContentTypeCache To Queue: DBTransactionComplete for session: 03b17351-dfc6-42a5-8ac3-9005f987a43c
    2015-10-09 09:43:49,653 [253] DEBUG Umbraco.Courier.Core.EventManager - [Thread 271] Adding event ClearInternalDataCache To Queue: ExtractionComplete for session: 03b17351-dfc6-42a5-8ac3-9005f987a43c
    2015-10-09 09:43:49,653 [253] DEBUG Umbraco.Courier.Core.EventManager - [Thread 271] Adding event PublishDocument To Queue: DBTransactionComplete for session: 03b17351-dfc6-42a5-8ac3-9005f987a43c
    2015-10-09 09:43:49,653 [253] DEBUG Umbraco.Courier.Core.EventManager - [Thread 271] Adding event RefreshCache To Queue: DeploymentComplete for session: 03b17351-dfc6-42a5-8ac3-9005f987a43c
    2015-10-09 09:43:49,653 [253] DEBUG Umbraco.Courier.Core.EventManager - [Thread 271] Adding event UpdateLuceneIndexes To Queue: DeploymentComplete for session: 03b17351-dfc6-42a5-8ac3-9005f987a43c
    2015-10-09 09:43:49,793 [253] WARN  Umbraco.Courier.Core.ItemProvider - [Thread 251] Finished HandleExtract for provider: PropertyData (took 121ms)
    2015-10-09 09:43:49,793 [253] INFO  Umbraco.Courier.Core.EventManager - [Thread 252] Start processing local queue: 03b17351-dfc6-42a5-8ac3-9005f987a43c, alias: ExtractionComplete, count: 1
    2015-10-09 09:43:49,793 [253] DEBUG Umbraco.Courier.Core.EventManager - [Thread 252] Start executing local event: [NULL], alias: ClearInternalDataCache
    2015-10-09 09:43:49,809 [253] DEBUG Umbraco.Courier.Core.EventManager - [Thread 252] Finished executing local event: [NULL], alias: ClearInternalDataCache (took 2ms)
    2015-10-09 09:43:49,809 [253] INFO  Umbraco.Courier.Core.EventManager - [Thread 252] Finished processing local queue: 03b17351-dfc6-42a5-8ac3-9005f987a43c, alias: ExtractionComplete, count: 1 (took 2ms)
    2015-10-09 09:43:49,809 [253] DEBUG Umbraco.Courier.ItemProviders.DocumentTypeItemProvider - [Thread 250] Post Processing Contentseite 2014 Dependency
    2015-10-09 09:43:49,856 [253] INFO  Umbraco.Courier.Core.EventManager - [Thread 7] Start processing local queue: 03b17351-dfc6-42a5-8ac3-9005f987a43c, alias: PostProcessingComplete, count: 0
    2015-10-09 09:43:49,856 [253] INFO  Umbraco.Courier.Core.EventManager - [Thread 7] Finished processing local queue: 03b17351-dfc6-42a5-8ac3-9005f987a43c, alias: PostProcessingComplete, count: 0 (took 0ms)
    2015-10-09 09:43:49,856 [253] DEBUG Umbraco.Courier.RepositoryProviders.Local - [Thread 201] Committing session: 03b17351-dfc6-42a5-8ac3-9005f987a43c
    2015-10-09 09:43:49,871 [253] INFO  Umbraco.Courier.Core.EventManager - [Thread 274] Start processing local queue: 03b17351-dfc6-42a5-8ac3-9005f987a43c, alias: DBTransactionComplete, count: 2
    2015-10-09 09:43:49,871 [253] DEBUG Umbraco.Courier.Core.EventManager - [Thread 274] Start executing local event: dtContentseite2014, alias: ClearContentTypeCache
    2015-10-09 09:43:50,105 [253] WARN  Umbraco.Courier.Core.EventManager - [Thread 274] Finished executing local event: dtContentseite2014, alias: ClearContentTypeCache (took 234ms)
    2015-10-09 09:43:50,105 [253] DEBUG Umbraco.Courier.Core.EventManager - [Thread 274] Start executing local event: 783fad43-cf4e-4707-a870-024fa267393d, alias: PublishDocument
    2015-10-09 09:43:50,168 [253] DEBUG Umbraco.Courier.Core.EventManager - [Thread 274] Finished executing local event: 783fad43-cf4e-4707-a870-024fa267393d, alias: PublishDocument (took 49ms)
    2015-10-09 09:43:50,168 [253] INFO  Umbraco.Courier.Core.EventManager - [Thread 274] Finished processing local queue: 03b17351-dfc6-42a5-8ac3-9005f987a43c, alias: DBTransactionComplete, count: 2 (took 283ms)
    2015-10-09 09:43:50,168 [253] INFO  Umbraco.Courier.Core.EventManager - [Thread 247] Start processing local queue: 03b17351-dfc6-42a5-8ac3-9005f987a43c, alias: DeploymentComplete, count: 2
    2015-10-09 09:43:50,168 [253] DEBUG Umbraco.Courier.Core.EventManager - [Thread 247] Start executing local event: [NULL], alias: RefreshCache
    2015-10-09 09:43:51,197 [253] WARN  Umbraco.Courier.Core.EventManager - [Thread 247] Finished executing local event: [NULL], alias: RefreshCache (took 1021ms)
    2015-10-09 09:43:51,197 [253] DEBUG Umbraco.Courier.Core.EventManager - [Thread 247] Start executing local event: 783fad43-cf4e-4707-a870-024fa267393d, alias: UpdateLuceneIndexes
    2015-10-09 09:43:51,197 [253] DEBUG Umbraco.Courier.Core.EventManager - [Thread 247] Finished executing local event: 783fad43-cf4e-4707-a870-024fa267393d, alias: UpdateLuceneIndexes (took 13ms)
    2015-10-09 09:43:51,197 [253] INFO  Umbraco.Courier.Core.EventManager - [Thread 247] Finished processing local queue: 03b17351-dfc6-42a5-8ac3-9005f987a43c, alias: DeploymentComplete, count: 2 (took 1035ms)
    2015-10-09 09:43:51,244 [253] DEBUG Umbraco.Courier.RepositoryProviders.Local - [Thread 7] Closing session: 03b17351-dfc6-42a5-8ac3-9005f987a43c
    2015-10-09 09:43:51,244 [253] DEBUG Umbraco.Courier.Core.EventManager - [Thread 7] Unloading (count: 0)
    2015-10-09 09:43:51,244 [253] DEBUG Umbraco.Courier.RepositoryProviders.Local - [Thread 7] Closing session: 03b17351-dfc6-42a5-8ac3-9005f987a43c
    

    Umbraco Version: 7.2.4 Courier Version: 2.50.1 , also tested with 2.51.2

  • Dennis Aaen 4433 posts 17887 karma points admin hq c-trib
    Oct 09, 2015 @ 09:06
    Dennis Aaen
    0

    Hi Heiko,

    Since the backend have shows the updated node, but not the front-end, then it sounds to me that the XML file in /App_Data/umbraco.config is not updated with the latest XML. Did you save and publish the node with the new value?

    If not, then try publish the node or nodes, and see if the front-end is updated with the new values.

    /Dennis

  • Heiko Luxenhofer 38 posts 138 karma points
    Oct 09, 2015 @ 09:50
    Heiko Luxenhofer
    0

    Hi Dennis,

    thank you for your reply.

    We tested almost everything, but nothing worked. We published node on Staging, then deployed with Courier and for testing published node on Production again. But this didnt work. At least we did a recycle of Application Pool and the Content was displayed correct. We dont want to recycle AppPool everytime.

    Heiko

  • Dennis Aaen 4433 posts 17887 karma points admin hq c-trib
    Oct 09, 2015 @ 10:09
    Dennis Aaen
    0

    Hi Heiko,

    Okay, next question did some of your macros have cache turn on, so that why you are seen old content, until you are recycle the app pool?.

    If you have added cache to this macro, could you try switch it off temporarily, so we can see if this the problem.

    /Dennis

  • Heiko Luxenhofer 38 posts 138 karma points
    Oct 13, 2015 @ 06:00
    Heiko Luxenhofer
    0

    Hi Dennis,

    we have no macro Cache turned on. Any other ideas?

    Heiko

  • Per Ploug 865 posts 3476 karma points MVP admin
    Oct 13, 2015 @ 07:18
    Per Ploug
    0

    Hi heiko

    Sounds like Umbraco is not notified to clear its internal cache. So based on past issues, this is either because you use an outdated version of courier that doesn't know it is supposed to tell umbraco about the cache invalidation, or there is a missing dll

    So what version of umbraco and courier are you using? and does your bin contain a umbraco.courier.eventhandlers.dll file?

  • Heiko Luxenhofer 38 posts 138 karma points
    Oct 14, 2015 @ 06:43
    Heiko Luxenhofer
    0

    Hi Per,

    we use Umbraco 7.2.4. Since last week we use Courier 2.51.2, before 2.50.1. We hoped that the Problem disappear with updating to the newest Version.

    /Heiko

  • Heiko Luxenhofer 38 posts 138 karma points
    Oct 27, 2015 @ 17:31
    Heiko Luxenhofer
    0

    Hi everybody,

    after a bit research I found some strange behavior in deployment with courier. We have about 6 Websites in one Umbraco instance. Everything is great with the first Website in this instance. We can deploy with Courier and the changes occur on the live Website. But when we want to deploy other Websites in this instance, we have to do app recycle. Only after this recycle, changes occur on live Websites. Can anybody explain this behavior?

    /Heiko

  • Paul Sterling 712 posts 1446 karma points MVP 4x admin c-trib
    Oct 28, 2015 @ 21:38
    Paul Sterling
    0

    @Heiko

    I've asked Byte5 to provide details on the support ticket they opened for this and we will update here once the cause and/or solution is known.

Please Sign in or register to post replies

Write your reply to:

Draft