Copied to clipboard

Flag this post as spam?

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


  • Caractacus Downes 81 posts 314 karma points
    Jul 19, 2016 @ 12:13
    Caractacus Downes
    0

    FastTrack Installation

    Hi,

    I'm having trouble getting the FastTrack package installed. I have an existing site, which I have a local copy of, and I'm doing all the following in VS2015, running the site in Debug. I have updated it to Umbraco 7.4.3. I've installed Merchello 2.1.0 (local package install). So far everything seems to be working. I'm now trying to do a local package install of FastTrack (2.1.0) but after installation I get the following error after the browser reloads:

    [DuplicateNameException: An item with the alias merchelloCustomer already exists] Umbraco.Core.Persistence.Repositories.ContentTypeBaseRepository1.PersistNewBaseContentType(IContentTypeComposition entity) +3604 Umbraco.Core.Persistence.Repositories.MemberTypeRepository.PersistNewItem(IMemberType entity) +445 Umbraco.Core.Cache.FullDataSetRepositoryCachePolicy2.CreateOrUpdate(TEntity entity, Action1 persistMethod) +326 Umbraco.Core.Persistence.Repositories.RepositoryBase2.PersistNewItem(IEntity entity) +286 Umbraco.Core.Persistence.UnitOfWork.PetaPocoUnitOfWork.Commit(Action`1 transactionCompleting) +157 Umbraco.Core.Services.MemberTypeService.Save(IMemberType memberType, Int32 userId) +328 Merchello.FastTrack.Install.FastTrackDataInstaller.AddMemberType() +681 Merchello.FastTrack.Install.FastTrackDataInstaller.Execute() +100 Merchello.FastTrack.Install.Installer.OnInit(EventArgs e) +131 System.Web.UI.Control.InitRecursive(Control namingContainer) +166 System.Web.UI.Control.AddedControl(Control control, Int32 index) +215 umbraco.presentation.developer.packages.Installer.ProcessInstall(String currentStep) +1517 umbraco.presentation.developer.packages.Installer.Page_Load(Object sender, EventArgs e) +683 System.Web.UI.Control.OnLoad(EventArgs e) +109 umbraco.BasePages.BasePage.OnLoad(EventArgs e) +38 System.Web.UI.Control.LoadRecursive() +68 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4498

    Am I trying to do this installation an unusual way? Can't work out what I'm doing wrong.

    Any help appreciated.

    Incidentally, it might be worth considering renaming the Master template in the FastTrack package. It's quite likely that anyone adding FastTrack to an existing website might already have a template called Master and not appreciate having to rename and edit existing files in order to avoid the name conflict. Just a thought.

    Cheers,

    Crac

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Jul 19, 2016 @ 15:09
    Rusty Swayne
    0

    Hi Crac,

    The idea behind the FastTrack starter (the implementation) is really just an example site to be used as a reference for the HTML actions usage to be put into a larger site (which is why we decided to name the master view the way we did).

    I think the error you are getting refers to the member type "merchelloCustomer" - it must already be present when FT is trying to install.

    There is a Merchello.FastTrack NuGet package that only installs the views and controllers but does NOT do any content related installs.

  • Caractacus Downes 81 posts 314 karma points
    Jul 19, 2016 @ 15:41
    Caractacus Downes
    0

    Hi Rusty,

    Thanks for getting back to me.

    OK, that wasn't quite what I though FastTrack was. I had expected a basic implementation which you could then customize, in the same way Bazaar was.

    Where did the merchelloCustomer member type come from then? This is an existing Umbraco with Merchello installed on top, then FastTrack added on.

    I've tried some of the NuGet packages, but found them to be a bit variable in their effectiveness. I've tried converting the existing site to use NuGet updates, but it's not been very successful, so I've given up on it really and gone back to doing local package installs.

    But I guess I'll be trying NuGet again now.

    While Merchello is clearly a very powerful and sophisticated package I have to say I'm not having a great experience getting it working. I've wasted a number of days beating my head against it, and if there was a viable alternative I think I would have taken it by now.

    Perhaps I've been unlucky, or just made mistakes. It's heavy going though ...

    Cheers,

    Crac

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Jul 19, 2016 @ 22:50
    Rusty Swayne
    0

    I'm sorry to hear you've been frustrated thus far with Merchello, but it sounds like the issue is more with the FastTrack starter and Merchello itself. I've personally found the starter kits to be pretty challenging to put together and publish. Umbraco is so flexible, that you hate to impose on the way people use it. We figured out with the Bazaar, via feedback, that quite a few people did not like us adding document types, having route hijacked controllers and the themes similar to articulate.

    The FastTrack starter kit is intended to be a basic starting spot and it works well - assuming you don't already have document types named the same way =) However, unlike the Bazaar, the FastTrack controllers/views, are not at all linked to any document types which gives you the flexibility to pick and choose which portions you want to use directly, customize a bit or entirely define new logic.

    The merchelloCustomer was probably installed with your first attempt in the FastTrack install - which then later failed due to a duplicate document type (master).

    The installer works in two parts -

    1. Add all the files
    2. Redirects to add all the content - I'm guessing this is where it failed on your first attempt since the member is added before the document type.

    If you (on the side) install Umbraco -> Merchello -> FastTrack (starter) and look at the doctypes and views we create, I think you will find that getting things merged into your site will be quite quick but copying and pasting the Html.Actions from the various views - assuming you pull in the FastTrack package from NuGet.

  • Caractacus Downes 81 posts 314 karma points
    Jul 21, 2016 @ 14:13
    Caractacus Downes
    0

    Hi,

    Another day beating my head against this.

    I've now got to the stage where I have my existing website (U 7.3.3) upgraded to U 7.4.3 (NuGet), Merchello 2.1.0 installed (local package, no Merchello icon in back office after NuGet upgrade), FastTrack 2.1.0 installed (local package, NuGet installation broke website with missing assemblies), and I've now got FastTrack going by excluding all of the FastTrack Views excluded from the project as they all have what seem to be ModelsBuilder problems not finding Umbraco.Web.PublishedContentModels.Whatever at run time.

    Now I guess I'll see if I can build a product page.

    I have also built a clean install of U 7.4.3 with M 2.1.0 and FT 2.1.0, although the NuGet installs for M and FT didn't work for this either.

    I really feel like I'm missing something fundamental because I can't believe it's all this fragile.

    Thanks for your help so far.

    Cheers,

    Crac

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Jul 21, 2016 @ 15:38
    Rusty Swayne
    0

    Hey Crac,

    The NuGet installs for Merchello do not execute any of the package actions and do not install any of the back office Angular scripts. Basically they are a way to keep the DLLs up to date and are generally used in supporting libraries (the same way Umbraco does it ... UmbracoCms.Core and UmbracoCms).

    (I'd love help getting a full install working from NuGet. We would simply call this package Merchello rather than Merchello.Core - it's been a wishlist item for a while but it has not been a priority).

    Copy the App_Plugins/Merchello from your clean install into your build.

    Also verify that your Dashboard.config and the Examine config files have the Merchello configurations in them. These would have been done in a package action.

  • Steve 140 posts 321 karma points
    Oct 04, 2016 @ 04:39
    Steve
    0

    Hey All,
    I've just spent 3 days going through similar frustrations - between version incompatibilities, payment method api 500 errors, site restores, db restores, even full VM restores. Did a FRESH install of FastTrack on clean install of Merchello and getting 'alias merchelloCustomer already exists'. All had been fully restored to point before any Merchello or starter kit installation so quite surprised to see this.

    [DuplicateNameException: An item with the alias merchelloCustomer already exists]
       Umbraco.Core.Persistence.Repositories.ContentTypeBaseRepository`1.PersistNewBaseContentType(IContentTypeComposition entity) +3746
       Umbraco.Core.Persistence.Repositories.MemberTypeRepository.PersistNewItem(IMemberType entity) +445
       Umbraco.Core.Cache.FullDataSetRepositoryCachePolicy`2.CreateOrUpdate(TEntity entity, Action`1 persistMethod) +326
       Umbraco.Core.Persistence.Repositories.RepositoryBase`2.PersistNewItem(IEntity entity) +286
       Umbraco.Core.Persistence.UnitOfWork.PetaPocoUnitOfWork.Commit(Action`1 transactionCompleting) +157
       Umbraco.Core.Services.MemberTypeService.Save(IMemberType memberType, Int32 userId) +328
       Merchello.FastTrack.Install.FastTrackDataInstaller.AddMemberType() +641
       Merchello.FastTrack.Install.FastTrackDataInstaller.Execute() +102
       Merchello.FastTrack.Install.Installer.OnInit(EventArgs e) +124
       System.Web.UI.Control.InitRecursive(Control namingContainer) +166
       System.Web.UI.Control.AddedControl(Control control, Int32 index) +215
       umbraco.presentation.developer.packages.Installer.ProcessInstall(String currentStep) +1517
       umbraco.presentation.developer.packages.Installer.Page_Load(Object sender, EventArgs e) +683
       System.Web.UI.Control.OnLoad(EventArgs e) +109
       umbraco.BasePages.BasePage.OnLoad(EventArgs e) +38
       System.Web.UI.Control.LoadRecursive() +68
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3321
    

    No idea whatsoever if the install was successful or if the Merchello packages can be uninstalled (easily) after all the problems experienced to this point. Including, among others:
    https://our.umbraco.org/projects/collaboration/merchello/merchello/80346-bazaar-cash-payment-getpaymentmethodui-error
    Best regards,
    Steve

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Oct 04, 2016 @ 14:58
    Rusty Swayne
    0

    It looks like the MemberType in Umbraco - if you're trying to install FastTrack after uninstalling it, it may be that the MemberType (Umbraco) did not successfully delete.

  • Steve 140 posts 321 karma points
    Oct 04, 2016 @ 18:44
    Steve
    0

    Hi Rusty,
    Thanks for the reply. I was quite sure the site and db had been restored to a point before the Merchello packages were installed so surprised to see the error and not sure how to go ahead. I ended up creating a fresh Umbraco 7.5.x site and installing Merchello/FastTrack there. All good. Will likely move the content from old to new and keep working.
    I'm new to Merchello but it definitely looks very good so far! I'm likely not able to contribute to the project code (yet) but would definitely be interested to help clarify the installation and package suggestions on the main project page to help others have a smooth first experience with Merchello.
    Best, Steve

  • Caractacus Downes 81 posts 314 karma points
    Sep 11, 2017 @ 16:04
    Caractacus Downes
    0

    Hi Rusty,

    I need to do an update to the system. My client, for reasons best known to themselves, doesn't like the PayPal gateway and wants to use Braintree. Fine. However the Braintree gateway that I have as part of U7.5.3 / M2.3 / FT 2.3 doesn't seem to work. (I have another post requesting some clues on this, but have had no responses as yet).

    So I guess I'll be updating Merchello (and possibly FastTrack?) to the current versions to see if that helps.

    In the past I have not found this to be completely straightforward. I need to find a way to do this that I can test on my copy of the website which I'm running in debug mode in VS2012 and then run the same process on the live site. So Nuget installs are out as far as I can see.

    If you have any recommendations for a reliable route to updating my site to the current version without it all falling over and then me spending ages working out how to recover it that would be very helpful.

    Cheers,

    Crac

  • ivan valadares 3 posts 73 karma points
    Feb 06, 2018 @ 18:52
    ivan valadares
    0

    had some problems instaling fasttrack and merchello , so after add and remove it some times, it start saying : "Merchello.Web.Editors.CustomerApiController - Unhandled controller exception occurred"

    After some hours i got it : Go to menu > members > members types and remove Merchello Customer.

Please Sign in or register to post replies

Write your reply to:

Draft