Installer page showing on deployed app

I’m new at Umbraco and I’ve deployed my app to an azure web app. I saw my site briefly but it had some css missing so I worked on my settings a bit more and redeployed and now all I see is the Umbraco installer screen, even though I have content and my deployed sql db has content too.
I’ve seen from online questions that it might have to do with UpgradeUnattended=true in my appsettings.json, but I’ve tried a few variations and it doesn’t solve it. Any suggestions would be most appreciated! :slight_smile:

My appsettings.json if that helps:

{
  "$schema": "appsettings-schema.json",
  "Serilog": {
    "MinimumLevel": {
      "Default": "Information",
      "Override": {
        "Microsoft": "Warning",
        "Microsoft.Hosting.Lifetime": "Information",
        "System": "Warning"
      }
    }
  },
  "Umbraco": {
    "CMS": {
      "Global": {
        "Id": "795f47d3-76ee-4006-b682-41c068675e099",
        "SanitizeTinyMce": true,
        "MainDomLock": "FileSystemMainDomLock"
      },
      "Hosting": {
        "Debug": true,
        "LocalTempStorageLocation": "EnvironmentTemp"
      },
      "Examine": {
        "LuceneDirectoryFactory": "SyncedTempFileSystemDirectoryFactory"
      },
      "Content": {
        "MacroErrors": "Throw",
        "AllowEditInvariantFromNonDefault": true,
        "ContentVersionCleanupPolicy": {
          "EnableCleanup": true
        }
      },
      "Unattended": {
        "InstallUnattended": true,
        "UnattendedUserName": "Administrator",
        "UnattendedUserEmail": "[email protected]",
        "UnattendedUserPassword": "xxxxxxxxx"
        "UpgradeUnattended": true
      },
      "RuntimeMinification": {
        "UseInMemoryCache": true,
        "CacheBuster": "Timestamp"
      },
      "Security": {
        "AllowConcurrentLogins": false
      },
      "ModelsBuilder": {
        "ModelsMode": "SourceCodeManual",
        "ModelsDirectory": "~/Models/Generated"
      },
      "RichTextEditor": {
        "CustomConfig": {
          "style_formats": "[{\"title\":\"Paragraphs\",\"items\":[{\"title\":\"Normal\",\"block\":\"p\"},{\"title\":\"Lead\",\"block\":\"p\",\"attributes\":{\"class\":\"lead\"}}]},{\"title\":\"Headings\",\"items\":[{\"title\":\"h1\",\"block\":\"h1\"},{\"title\":\"h2\",\"block\":\"h2\"},{\"title\":\"h3\",\"block\":\"h3\"},{\"title\":\"h4\",\"block\":\"h4\"},{\"title\":\"h5\",\"block\":\"h5\"},{\"title\":\"h6\",\"block\":\"h6\"}]},{\"title\":\"Text Colours\",\"items\":[{\"title\":\"Primary\",\"inline\":\"span\",\"styles\":{\"color\":\"#1abc9c\"},\"attributes\":{\"class\":\"text-primary\"}},{\"title\":\"Secondary\",\"inline\":\"span\",\"styles\":{\"color\":\"#03203d\"},\"attributes\":{\"class\":\"text-secondary\"}},{\"title\":\"Success\",\"inline\":\"span\",\"styles\":{\"color\":\"#198754\"},\"attributes\":{\"class\":\"text-success\"}},{\"title\":\"Danger\",\"inline\":\"span\",\"styles\":{\"color\":\"#dc3545\"},\"attributes\":{\"class\":\"text-danger\"}},{\"title\":\"Warning\",\"inline\":\"span\",\"styles\":{\"color\":\"#ffc107\"},\"attributes\":{\"class\":\"text-warning\"}},{\"title\":\"Info\",\"inline\":\"span\",\"styles\":{\"color\":\"#0dcaf0\"},\"attributes\":{\"class\":\"text-info\"}},{\"title\":\"Light\",\"inline\":\"span\",\"styles\":{\"color\":\"#f8f9fa\"},\"attributes\":{\"class\":\"text-light\"}},{\"title\":\"Dark\",\"inline\":\"span\",\"styles\":{\"color\":\"#212529\"},\"attributes\":{\"class\":\"text-dark\"}},{\"title\":\"White\",\"inline\":\"span\",\"styles\":{\"color\":\"#ffffff\"},\"attributes\":{\"class\":\"text-white\"}}]}]"
        }
      }
    }
  },
  "Slimsy": {
    "WidthStep": 80,
    "UseCropAsSrc": false,
    "DefaultQuality": 70,
    "Format": "",
    "BackgroundColor": "",
    "AppendSourceDimensions": true,
    "EncodeCommas": true,
    "AutoOrient": true
  }
}

The type of screen I see:

I can’t see any connection string in your appsettings, but I assume you have that properly set and just omitted.
But the first place I would start is with the connection string since it looks like Umbraco cannot reach the database.
If you have not configured the connection string for the specific environment then it will fallback to SQLite.
In most cases this leads to the first time setup triggering.

On another note. If this configuration is used in production, then you should consider changing a few setting.
See this Umbraco docs page for more info:

Read the docs carefully as changes to that is applied in Runtime Mode Production, can cause a site to fail to boot if done incorrectly.

This is true, but only for automated setup and/or upgrade.
It will not do much if you have an existing database or if the Unattended user credentials does not match whats in that database.

Furthermore, assuming that your Unattended configuration is correct, then something else with reading the correct appsettings is failing.
If the settings are as defined in your example, then Umbraco might be loading the appsettings file or it’s loading a different one.
When InstallUnattended is present, then you should not see the setup screen, same for UpgradeUnattended.

How are you setting the connection string, via environment variables, appsettings or something else?