Copied to clipboard

Flag this post as spam?

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


  • Martin Leduc 3 posts 92 karma points
    Sep 25, 2020 @ 01:16
    Martin Leduc
    0

    How to prevent the Plugin Manager to try to install the form plugin at startup

    I wanted to have more information on the Umbraco Form Plugin, but ended up launching the install process for the form plugin ( Umbraco v7.2.8). It seems like it caused an error and crashed the application.

    Now, the web application can't start since it always tries to install the form plugin at startup.

    Here are the logs that I have:

    2020-09-25 00:54:57,770 [14] INFO  Umbraco.Core.CoreBootManager - [P4996/T34/D8] Umbraco 7.2.8 application starting on WIN-SERVERNAME
    2020-09-25 00:54:57,816 [14] INFO  Umbraco.Core.PluginManager - [P4996/T34/D8] Determining hash of code files on disk
    2020-09-25 00:54:57,816 [14] INFO  Umbraco.Core.PluginManager - [P4996/T34/D8] Hash determined (took 5ms)
    2020-09-25 00:54:57,816 [14] INFO  Umbraco.Core.PluginManager - [P4996/T34/D8] Starting resolution types of umbraco.interfaces.IApplicationStartupHandler
    2020-09-25 00:54:57,832 [14] INFO  Umbraco.Core.PluginManager - [P4996/T34/D8] Completed resolution of types of umbraco.interfaces.IApplicationStartupHandler, found 41 (took 12ms)
    2020-09-25 00:54:57,895 [14] INFO  Umbraco.Core.PluginManager - [P4996/T34/D8] Starting resolution types of Umbraco.Core.PropertyEditors.IPropertyEditorValueConverter
    2020-09-25 00:54:57,895 [14] INFO  Umbraco.Core.PluginManager - [P4996/T34/D8] Completed resolution of types of Umbraco.Core.PropertyEditors.IPropertyEditorValueConverter, found 0 (took 0ms)
    2020-09-25 00:54:57,895 [14] INFO  Umbraco.Core.PluginManager - [P4996/T34/D8] Starting resolution types of Umbraco.Core.PropertyEditors.IPropertyValueConverter
    2020-09-25 00:54:57,895 [14] INFO  Umbraco.Core.PluginManager - [P4996/T34/D8] Completed resolution of types of Umbraco.Core.PropertyEditors.IPropertyValueConverter, found 16 (took 1ms)
    2020-09-25 00:54:57,910 [14] INFO  Umbraco.Core.PluginManager - [P4996/T34/D8] Starting resolution types of Umbraco.Web.Mvc.SurfaceController
    2020-09-25 00:54:57,910 [14] INFO  Umbraco.Core.PluginManager - [P4996/T34/D8] Completed resolution of types of Umbraco.Web.Mvc.SurfaceController, found 5 (took 1ms)
    2020-09-25 00:54:57,910 [14] INFO  Umbraco.Core.PluginManager - [P4996/T34/D8] Starting resolution types of Umbraco.Web.WebApi.UmbracoApiController
    2020-09-25 00:54:57,910 [14] INFO  Umbraco.Core.PluginManager - [P4996/T34/D8] Completed resolution of types of Umbraco.Web.WebApi.UmbracoApiController, found 52 (took 3ms)
    2020-09-25 00:54:57,942 [14] INFO  Umbraco.Core.PluginManager - [P4996/T34/D8] Starting resolution types of Umbraco.Core.Media.IThumbnailProvider
    2020-09-25 00:54:57,942 [14] INFO  Umbraco.Core.PluginManager - [P4996/T34/D8] Completed resolution of types of Umbraco.Core.Media.IThumbnailProvider, found 3 (took 0ms)
    2020-09-25 00:54:57,942 [14] INFO  Umbraco.Core.PluginManager - [P4996/T34/D8] Starting resolution types of Umbraco.Core.Media.IImageUrlProvider
    2020-09-25 00:54:57,957 [14] INFO  Umbraco.Core.PluginManager - [P4996/T34/D8] Completed resolution of types of Umbraco.Core.Media.IImageUrlProvider, found 1 (took 0ms)
    2020-09-25 00:54:58,426 [14] INFO  Umbraco.Core.DatabaseContext - [P4996/T34/D8] CanConnect = True
    2020-09-25 00:54:58,473 [14] INFO  Umbraco.Core.PluginManager - [P4996/T34/D8] Starting resolution types of umbraco.interfaces.IApplication
    2020-09-25 00:54:58,473 [14] INFO  Umbraco.Core.PluginManager - [P4996/T34/D8] Completed resolution of types of umbraco.interfaces.IApplication, found 7 (took 0ms)
    2020-09-25 00:54:58,488 [14] INFO  Umbraco.Core.PluginManager - [P4996/T34/D8] Starting resolution types of Umbraco.Core.Persistence.Mappers.BaseMapper
    2020-09-25 00:54:58,488 [14] INFO  Umbraco.Core.PluginManager - [P4996/T34/D8] Completed resolution of types of Umbraco.Core.Persistence.Mappers.BaseMapper, found 23 (took 2ms)
    2020-09-25 00:54:59,285 [14] ERROR Umbraco.Forms.Web.Installer.InstallHelper - [P4996/T34/D8] Install Failed
    
    [...]
    
    2020-09-25 00:54:59,285 [14] ERROR Umbraco.Core.CoreBootManager - [P4996/T34/D8] An error occurred running OnApplicationStarted for handler Umbraco.Forms.Web.Installer.AutoInstaller
    

    So, I guess my question would be : what configuration do I have to change in order to remove Umbraco Form from the list of plugins to install at startup?

    What I've tried so far:

    • Delete the content of the PluginCache folder (but it gets regenerated at startup)
    • Reset the content of installedPackages.config to what it was before the install.
    • Delete the file package.xml inside a subfolder of App_Data
  • Martin Leduc 3 posts 92 karma points
    Sep 25, 2020 @ 02:17
    Martin Leduc
    100

    Alright, seems like I (also) had to delete :

    1 - the following files from the bin folder:

    • Umbraco.Forms.Core.dll
    • Umbraco.Forms.Core.Providers.dll
    • Umbraco.Forms.Web.dll
    • Umbraco.Forms.Web.XmlSerializers.dll
    • Umbraco.Licensing.dll

    2 - The following folder inside App_Plugins:

    • UmbracoForms

    This might be more than what is needed to stop UmbracoForm to install at startup, but it did the job for me in this case.

    I'd still be happy to have more insights from the community or advice on how to do this better.

Please Sign in or register to post replies

Write your reply to:

Draft