Unable to install new 13.2.2 Umbraco
# help-with-umbraco
h
Has anyone else had issues trying to install a new Umbraco 13.2.2 application in VS? The first error I get is that there is no media folder, creating the media folder then results in a boot failed exception The log says 'Configured database is reporting as not being available.' But I haven't even got to the setup screen yet!! https://cdn.discordapp.com/attachments/1225467940455841832/1225467940711698513/message.txt?ex=66213cf5&is=660ec7f5&hm=f947da41fc6b2c145bdc76b7fd447ac03fb2c1b8d08cbbedc8236e919f70e811&
l
I had this the other day, I deleted everything, started again and it worked the second time…
h
Tried 3 times now without any luck
l
Ouch! What does the connection string look like in the app setting? Formatted as expected? Potentially could be pointing to a server that doesn’t exist
h
got it working, for some reason it added a database connection string in appsettings.development.json, I removed it and now I have the setup screen 😄
l
Very nice, how strange!
h
yes odd, I didn't do anything different that any other time I've installed umbraco. The not creating the media folder is a bit odd too, but will try again now I know what was stalling the istallation
l
If you can replicate, could be a bug to raise with Umbraco themselves I guess! Interested in your findings
h
Still no joy 😭 it fails to create any kind of database
l
Try creating the DB yourself and pointing at it. That’s how I’ve always installed Umbraco
b
i had a similar issue , it took me to login , strange i didnt even install umbraco , i even checked the db , umbracouser was blank , i tried tried , then i simply asked for a db backup
this was for v12
h
I have never had to do that previously, but will do that now
OH! seems my sqlite install has gone!
Finally 🤣 will reinstall sqlite as that is what I normally use for local tests, not sure what happened to it
l
I say call it a day 😂
h
Yep 🤣
i
I did a 13.2.2 install (with sqlite) a couple of days ago and didn't see an issue. I have had the "The not creating the media folder is a bit odd too" issue in the past though. Intermittently. Not sure what causes it, and once I add the folder manually it runs fine.
h
My initial problem was due to my sqlite having somehow disappeared, no idea how tbh as was using it only a couple of weeks ago., very strange.
I think the media folder error was because it never ran the setup, as soon as I pointed it at a SQL dB everything went ok.
s
SQLite doesn't need to be "installed" as a server, it's standalone. Am I reading this wrong?
Or was your SQLite database file gone?
h
It seems that sqlite is no longer on my PC, so Umbraco fails to create a database file
maybe it has lost the PATH variable as test sites with an existing sqlite db still appear to work ok, it's just when installing Umbraco it fails to create a database
OK, must have been a bad laptop day, just tried this morning and it worked first time 🤣
s
SQLite is a dll, so there's nothing that could've gone missing apart from the dll and/or the actual db file 😅
h
Mysterious 😂. This reminded me of the times I've wasted an hour because I had a blank connection string in my secrets file...
h
But on a clean install Umbraco creates the db file which is what failed yesterday, so no idea why as all working fine today.
s
On a fresh (unattended) install, it will fails about 3-5 times, you'll see the error in the console, and then it should go through (the failures are because the database file doesn't exists, so we keep retrying for a while)
h
mine just failed completely unfortunately, windows gremlins 🤣
Should it do the same for a localdb (sql) as that still fails miserably
s
localdb should work, not sure if it does the round of failures first, I think it is a better driver so it knows to wait until a db exists
h
I'll do some digging then, maybe something not right with my SQL install
I get this error if I try using local db A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SNI_PN11, error: 50 - Local Database Runtime error occurred. Error occurred during LocalDB instance startup: SQL Server process failed to start
I think it is getting confused because I have multiple versions of SQL installed
i
If it helps, I have multiple versions of SQL server installed and I've not seen the issues you report. I recently created a test site in v13.2.2 using SQLite and didn't have an issue. I suspect it might be an issue with your machine/set-up but would be curious to hear what you find.
h
I'll let you know, sqlite now working, just local sqldb not working
from digging around through google search results, it seems it may be because there are multiple versions of SQLLocalDB.exe and it is using the wrong one, so just looking now to see which one it is using by default so I can fix it, will let you know if I have any success
Looks like my sqllocaldb config wasbroken somehow (or the wrong version perhaps) I just installed the localdb from 2022 Express and now all working, Umbraco successfully creates a localdb
i
Well done. Nice to know you got to the bottom of it.
c
Ahem..... permissions?
9 Views