Copied to clipboard

Flag this post as spam?

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


  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Dec 07, 2011 @ 15:29
    Dave Woestenborghs
    0

    Transfering a macro doesn't update the razor file

    I'm trying to deploy a new version of a macro through courier but the razor file never get's updated.

    When I look in the revisions folder I see that file is in the deployed revision.

    Any idea's ?

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Dec 07, 2011 @ 16:25
    Dave Woestenborghs
    0

    I have tried this with just adding a folder to my revision. The files in the foldered get transfered to the other server, but after clicking compare and install the changed files don't get deployed.

     

  • Per Ploug 865 posts 3491 karma points MVP admin
    Dec 07, 2011 @ 20:07
    Per Ploug
    0

    hmm, that sounds odd, what about files transfered that are not currently on the target? they don't get deployed either?

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Dec 08, 2011 @ 09:30
    Dave Woestenborghs
    0

    Will test this later today.

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Dec 08, 2011 @ 09:59
    Dave Woestenborghs
    0

    This is the log for when it doesn't work

    12/8/2011 9:55:33 AM: Started extraction
    12/8/2011 9:55:33 AM: SNGL-23154 ++ 2
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:BuildGraph: Adding 1 Items from provider: Folders
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:BuildGraph: Adding 0 Items from provider: Languages
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:BuildGraph: Adding 0 Items from provider: Files
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:BuildGraph: Adding 0 Items from provider: Dictionary items
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:BuildGraph: Adding 0 Items from provider: Stylesheets
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:BuildGraph: Adding 0 Items from provider: Tag Relations
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:BuildGraph: Adding 0 Items from provider: Datatypes
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:BuildGraph: Adding 1 Items from provider: Macros
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:BuildGraph: Adding 0 Items from provider: Relations
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:BuildGraph: Adding 0 Items from provider: Macro property types
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:BuildGraph: Adding 0 Items from provider: Templates
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:BuildGraph: Adding 0 Items from provider: Media types
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:BuildGraph: Adding 0 Items from provider: Media
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:BuildGraph: Adding 0 Items from provider: Document types
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:BuildGraph: Adding 0 Items from provider: Documents
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:BuildGraph: Adding 0 Items from provider: PropertyData
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:BuildGraph: Adding 0 Items from provider: Forms
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:resources: /macroScripts/Breadcrumb.cshtml Was not found
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:resources: /macroScripts/Carrousel.cshtml Was not found
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:resources: /macroScripts/CountrySelector.cshtml Was not found
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:resources: /macroScripts/CountrySelectorPopup.cshtml Was not found
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:resources: /macroScripts/Footer.cshtml Was not found
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:resources: /macroScripts/FooterLogo.cshtml Was not found
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:resources: /macroScripts/FooterServiceMenu.cshtml Was not found
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:resources: /macroScripts/FooterSocial.cshtml Was not found
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:resources: /macroScripts/FooterTagline.cshtml Was not found
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:resources: /macroScripts/GlobalOffices.cshtml Was not found
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:resources: /macroScripts/GoogleAnalytics.cshtml Was not found
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:resources: /macroScripts/HeaderVisual.cshtml Was not found
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:resources: /macroScripts/LatestUpdates.cshtml Was not found
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:resources: /macroScripts/Linkblocks.cshtml Was not found
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:resources: /macroScripts/Logo.cshtml Was not found
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:resources: /macroScripts/MainNavigation.cshtml Was not found
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:resources: /macroScripts/Metatags.cshtml Was not found
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:resources: /macroScripts/NewsItem.cshtml Was not found
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:resources: /macroScripts/NewsOverview.cshtml Was not found
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:resources: /macroScripts/PageTitle.cshtml Was not found
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:resources: /macroScripts/SearchResults.cshtml Was not found
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:resources: /macroScripts/SimpleSearch.cshtml Was not found
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:resources: /macroScripts/Snippets.cshtml Was not found
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:resources: /macroScripts/Submenu.cshtml Was not found
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:resources: /macroScripts/Wheel.cshtml Was not found
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:resources: Adding  /MacroScripts/LatestUpdates.cshtml (1378 bytes) to resource transfer list
    12/8/2011 9:55:33 AM: added /MacroScripts/LatestUpdates.cshtml 1378
    12/8/2011 9:55:33 AM: 1378 - /MacroScripts/LatestUpdates.cshtml
    12/8/2011 9:55:33 AM: /MacroScripts/LatestUpdates.cshtml 01d0ec5d512ccdb282c44e19f4700bb6/01d0ec5d512ccdb282c44e19f4700bb6
    12/8/2011 9:55:33 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:resources: Transfering 0 files in one batch on the event: BeforeExtraction
    12/8/2011 9:55:34 AM: 2 items found ready
    12/8/2011 9:55:34 AM: Item: macroScripts False
    12/8/2011 9:55:34 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:extraction: Item extraction completed
    12/8/2011 9:55:34 AM: Item: Latest Updates False
    12/8/2011 9:55:34 AM: Umbraco.Courier.Persistence.V4.NHibernate.NHibernateProvider:PersistenceManager: Persisting item to database
    12/8/2011 9:55:34 AM: Umbraco.Courier.Core.EventManager:EventManager: Adding event FlushMacroCache To Queue: DBTransactionComplete
    12/8/2011 9:55:34 AM: Umbraco.Courier.Core.Extraction.RevisionExtraction:extraction: Item extraction completed
    12/8/2011 9:55:34 AM: Umbraco.Courier.Core.EventManager:EventManager: Executing event FlushMacroCache

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Dec 08, 2011 @ 10:08
    Dave Woestenborghs
    0

    Tested it with creating a new razor file and corresponding macro. Created a new revision by adding the new macro and transfered it to the other server. When I do a compare and install the macro is created but the razor file isn't. 

    The razor file is present in the revision in the resources folder

  • Per Ploug 865 posts 3491 karma points MVP admin
    Dec 08, 2011 @ 21:07
    Per Ploug
    0

    Found the bug in 2.5, It has to do with comparing file hashes when you run extraction on the same site as the packaged files are.

    Temporary fix: fo to /config/courier.config and ensure your overwrite settings are like so: 

    <overwrite>
                <resources>Always</resources>
                <items>Compare</items>
                <dependencies>Compare</dependencies>
            </overwrite>
  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Dec 09, 2011 @ 10:48
    Dave Woestenborghs
    0

    Hi Per,

    That solved my problem...Thx

Please Sign in or register to post replies

Write your reply to:

Draft