Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I've tried multiple clean installs of 12.2 and 12.3, and every time it throws an error here in Startup.cs
app.UseUmbraco() .WithMiddleware(u => { u.UseBackOffice(); u.UseWebsite(); }) .WithEndpoints(u => { u.UseInstallerEndpoints(); u.UseBackOfficeEndpoints(); u.UseWebsiteEndpoints(); });
The error says:
System.IO.DirectoryNotFoundException: 'C:\REDACTED\myappname\myappname\wwwroot\media'
That folder is in fact missing. So I tried adding the folder manually. Then I get a boot failed error. That tells me to check the logs.
In the logs I see this error:
Configured database is reporting as not being available. ... unable to open database file
UPDATE: I tried to reinstall the template dotnet new install Umbraco.Templates and tried a clean install again. Same results.
dotnet new install Umbraco.Templates
very strange, I just installed the latest 12.3.0 templates and fired up a new 12.3 website in VS, no issues at all.
@HuwReddick that's very interesting. I've tried installing from CLI and by using Visual Studio. I've tried v 12.2 and 12.3. I've tried specifying a connection string and not. There's another Our.Umbraco thread from user @John saying he's seeing similar errors as me under a slightly different scenario. Here's his post: https://our.umbraco.com/forum/using-umbraco-and-getting-started/112963-errors-in-addumbraco-and-useumbraco-after-setting-up-azure-blob-storage
Hi bh,
yes I saw @John post as well which is why I tried a clean install, my previous 12.3 version was upgraded.
After initial install, does the Umbraco project build?
Does the error as soon as you try to run it?
DO you get the initial setup page?
@HuwReddick
Q: After initial install, does the Umbraco project build? A: Yes
Q: Does the error as soon as you try to run it? A: Yes
Q: DO you get the initial setup page? A: No
I uninstalled Umbraco.Templates and reinstalled Umbraco.Templates to v 12.2.0, I also tried changing the version number in the Umbraco Project Config to 12.1.0 Same errors every time.
Hello. What if you select 'None' in the 'Development database type' select list in the 'Additional information' panel ?
@fb well I'll be danged. That worked. Many thanks @fb!
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Clean install of 12.2 and/or 12.3 Won't Launch without Error
I've tried multiple clean installs of 12.2 and 12.3, and every time it throws an error here in Startup.cs
The error says:
That folder is in fact missing. So I tried adding the folder manually. Then I get a boot failed error. That tells me to check the logs.
In the logs I see this error:
UPDATE: I tried to reinstall the template
dotnet new install Umbraco.Templates
and tried a clean install again. Same results.very strange, I just installed the latest 12.3.0 templates and fired up a new 12.3 website in VS, no issues at all.
@HuwReddick that's very interesting. I've tried installing from CLI and by using Visual Studio. I've tried v 12.2 and 12.3. I've tried specifying a connection string and not. There's another Our.Umbraco thread from user @John saying he's seeing similar errors as me under a slightly different scenario. Here's his post: https://our.umbraco.com/forum/using-umbraco-and-getting-started/112963-errors-in-addumbraco-and-useumbraco-after-setting-up-azure-blob-storage
Hi bh,
yes I saw @John post as well which is why I tried a clean install, my previous 12.3 version was upgraded.
After initial install, does the Umbraco project build?
Does the error as soon as you try to run it?
DO you get the initial setup page?
@HuwReddick
Q: After initial install, does the Umbraco project build? A: Yes
Q: Does the error as soon as you try to run it? A: Yes
Q: DO you get the initial setup page? A: No
I uninstalled Umbraco.Templates and reinstalled Umbraco.Templates to v 12.2.0, I also tried changing the version number in the Umbraco Project Config to 12.1.0 Same errors every time.
Hello. What if you select 'None' in the 'Development database type' select list in the 'Additional information' panel ?
@fb well I'll be danged. That worked. Many thanks @fb!
is working on a reply...