Copied to clipboard

Flag this post as spam?

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

  • Aaron 32 posts 293 karma points c-trib
    Oct 11, 2021 @ 15:57

    How to trigger installer / reinstall

    In V8 by removing the connection string and version number from the web.config it would trigger the installer, this doesn't seem to work in V9, how is it done?

  • Elgars 5 posts 75 karma points
    Oct 12, 2021 @ 18:12

    What have you tried?

    In my test emptying connection string was sufficient to trigger reinstall.

    "ConnectionStrings": {
        "umbracoDbDSN": ""
  • Aaron 32 posts 293 karma points c-trib
    Oct 13, 2021 @ 09:30

    I tried that, but I get the following error:

    InvalidOperationException: The factory has not been configured with a 
    proper connection string.
  • Jesper Weber 48 posts 123 karma points c-trib
    Apr 20, 2022 @ 09:45
    Jesper Weber

    We had the same error after clearing the connectionstring.

    In our code base (migraded from a V8 installation) we had a custom database migrator which we needed to update with the following to ensure the migration will not run before Umbraco has booted.

    You might have other composers with the same issue in your code base.

    if (_runtimeState.Level < RuntimeLevel.Run)

    See documentation here:

  • Lachlann 344 posts 626 karma points
    Apr 12, 2022 @ 11:15

    Hey Elgars and anyone else who may be having this issue I am having the same problem and while not 100% fixed yet I think setting up an unattended install may be the way to go:

    I have a few other env related hoops to jump through but will confirm if this solves the issue for me.

    Cheers L

Please Sign in or register to post replies

Write your reply to: