https://discord.umbraco.com
Join Discord
Reinstall Umbraco 13 instance
c

CaptTaifun

about 1 year ago
I have an Umbraco 13 instance and would now like to reinstall it (i.e. set up a new database). I have deleted the SQLite database and the “ConnectionStrings” section from all appsettings.json files. When I now run Umbraco, I only get “Boot Failed”. And in the log file: System.InvalidOperationException: The factory has not been configured with a proper connection string.\n at Umbraco.Cms.Infrastructure.Persistence.UmbracoDatabaseFactory.Initialize()\n at System.Threading.LazyInitializer.EnsureInitializedCore[T](T& target, Boolean& initialized, Object& syncLock What else do I have to do to recreate the database/reinstall the instance?
c
h
+4
  • 6
  • 8
  • 118
How to get block list from icontent?
a

ahwm

10 months ago
We are needing to do a one-time bulk update of 700+ content pages. I know how to manipulate the block list and create new blocks. The issue I'm having is that I can't seem to get the current blocks from IContent. The property alias is "mainContent" but
p.GetValue("mainContent")
returns null. I found [this forum post](https://our.umbraco.com/forum/using-umbraco-and-getting-started/112682-work-with-blocklist-properties-using-the-umbraco-content-service-v12) but the
content.GetValue("content").ToString()
line is where I'm having trouble. Any insight?
a
t
  • 2
  • 6
  • 117
Can you Increase Log File Size Limit?
d

Dan 'Diplo' Booth

over 1 year ago
If you try and view the Umbraco / serilog files that are above a certain size you get the message: "Today's log file is too large to be viewed and would cause performance problems." So is there a way I can decide how big is too big? I've a powerful desktop with 12 cores / 32GB RAM so I'm pretty sure it would be OK with a larger size. When you are doing stuff like trace-level logging it can easily fill up and trying to read a JSON log file in Notepad++ isn't fun... So can we increase the threshold? How? Alternatively, are there any offline log viewers (eg. stand alone app)? I remember someone wrote one once, but was that for the older log files?
d
k
+2
  • 4
  • 19
  • 117
Setting CORS for Content Delivery API
d

Dean Leigh

over 1 year ago
I have got UmBootstrap working as a Content Delivery API in an Azure Web App and the same page using the JSON in a static HTMX site. However, to do so I have had to allow an origin in Azure. How can I protect that origin so that only my static site can access the API?
d
m
  • 2
  • 4
  • 117
Can only use UmbracoPageResult in the context of an Http POST when using a SurfaceController form
c

Craig100

about 2 years ago
I have a form which is rendered from a View Component and posts to a Surface Controller. When it's done what it needs to, the Surface Controller tries to do a
return CurrentUmbracoPage();
But fails with the above error. Is there something about it being instigated from a View Component rather than a Razor page directly?
c
d
h
  • 3
  • 14
  • 117
SQL Timeout's & Locks
i

Ian Houghton

8 months ago
We have both a V8 & V13 website running on Azure appservice which is Plan S1 and Azure SQL Server S0 / 10 DTU's. The site has about 50k+ nodes in the tree. We're seeing a huge amount of SQL timeouts and locks, which we're trying to resolve. What specification of appservice & SQL database's do other people use? The database is setup with DTU based pricing, should we be using a v-core based database? We've followed the recommended Azure setup here: https://docs.umbraco.com/umbraco-cms/13.latest/fundamentals/setup/server-setup/azure-web-apps
i
k
+6
  • 8
  • 33
  • 116
Scraping Meta-Data using Blazor WASM in the back office
d

Dean Leigh

about 1 year ago
Cross-Origin Resource Sharing issues
d
  • 1
  • 4
  • 116
How content caching works
d

Danci

about 1 year ago
Hello! I have a question that might be quite basic, but I can't find a precise description, so I apologize if there is any obvious documentation for this. I'm curious about how content caching works in Umbraco 13.1.0. From what I've found, there's an in-memory cache and a local cache. What processes does Umbraco go through exactly? I assume it first checks the in-memory cache, and if it doesn't find the data there, it moves to the local cache. What happens if the data isn't there either? Does it then query the database? I looked at the source code (https://github.com/umbraco/Umbraco-CMS/releases/tag/release-13.0.1), but I didn't find any fallback solution indicating it would query the database. I'm also interested in when the in-memory cache and the local cache are populated. Is there a way for me to request the keys or contents of these caches? Thank you!
d
s
  • 2
  • 9
  • 114
TypeScript generation hey-api 0.47.0
m

Matt Wise

about 1 year ago
Failing to generate TypeScript from Swagger using @hey-api/openapi-ts 0.47.0
m
d
  • 2
  • 4
  • 114
Lucene.Net package not found on dotnet clean, version 4.8.0-beta00016
t

TackleMcClean 🏅

over 1 year ago
I am using Umbraco 13.0.3:
<PackageReference Include="Umbraco.Cms" Version="13.0.3" />
Trying to run
dotnet clean
I get this error:
(ResolvePackageAssets target) -> 
         /usr/share/dotnet/sdk/8.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1064: Package Lucene.Net, version 4.8.0-beta00016 was not found. It might have been deleted since NuGet restore. Otherwise, NuGet restore might have only partially completed, which might have been due to maximum path length restrictions.
Does this mean there is a dependency on a non-existant package? I can run
dotnet restore
without problem. Is this expected behavior?
t
s
  • 2
  • 3
  • 114
Previous202122Next

Umbraco

A hub and casual space for you to interact with fellow community members and learn more about Umbraco!

Powered by