https://discord.umbraco.com
Join Discord
Umbraco IAppPolicyCache in Load Balanced Environments
a

Aaron Sawyer

almost 2 years ago
Hello all, We use IAppPolicyCache for caching certain content, and in this instance are load balancing 2 servers. An issue that we are noticing is that if we clear an IAppPolicyCache entry on one server, it doesn't occur on the other server. What is the best way to send a signal to clear the cache on all sites? I saw an article on ICacheRefresher, but I wasn't sure how to use that in the real world. https://docs.umbraco.com/umbraco-cms/fundamentals/setup/server-setup/load-balancing
a
d
  • 2
  • 24
  • 52
Content Transfer Timeout in Umbraco Cloud
c

CodeSharePaul

about 2 years ago
Hi all, I have an Umbraco 10 Cloud site that I am working on locally and I am trying to push a parent page and its 2500 direct children up to the Development environment in Umbraco Cloud. The problem is that it is timing out when I try to push them up. Is there a setting I can change somewhere either in the local site, the Development site or both which will prevent it from timing out? Kind regards Paul
c
j
s
  • 3
  • 7
  • 52
Error unprotecting the session cookie.
n

nl_05

over 1 year ago
Does anyone know why I am always getting this error in the backoffice log viewer ? how can I fix this ? System.Security.Cryptography.CryptographicException: The key {a773867b-d0d3-4648-8378-2042cd1895c7} was not found in the key ring. For more information go to http://aka.ms/dataprotectionwarning at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.UnprotectCore(Byte[] protectedData, Boolean allowOperationsOnRevokedKeys, UnprotectStatus& status) at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Unprotect(Byte[] protectedData) at Microsoft.AspNetCore.Session.CookieProtection.Unprotect(IDataProtector protector, String protectedText, ILogger logger)
n
a
  • 2
  • 2
  • 51
uSync issue when booting
p

Pekdon

over 1 year ago
I've moved my project to another place on my computer. and now I cannot boot my site anymore. I get treated with this error screen when booting: I've never had a cy.xml file in my solution before, and have no idea why it's asking for it now? please help me! https://cdn.discordapp.com/attachments/1262347375393898568/1262347375540961341/image.png?ex=6696441b&is=6694f29b&hm=d94df7236e7b75a14b59b0bdccf0362399ececc44a09180cba654a2b4e3a8c89&
p
k
  • 2
  • 39
  • 51
Umbraco Commerce - Adding Custom ProductSnapShot to order has empty price
r

Rasmus

over 1 year ago
Hello I am looking into Umbraco Commerce and doing some prototyping. One of our requirements is that we will have products as nodes, and products from external sources. From what I can read, I should be able to create a custom ProductSnapShot that inherits from IProductSnapshotWithImage, and add that to my order. Everything also looks fine except the price gets saved as 0. Help would be greatly appreciated I have based the following code on https://github.com/umbraco/Umbraco.Commerce.DemoStore public IActionResult AddToCart(AddToCartDto postModel) { var store = CurrentPage.GetStore(); var currencyGuid = _currencyService.GetCurrency(store.Id, "GBP"); var name = "Test Product"; var productPrices = new List { new ProductPrice(50, currencyGuid.Id) }; var imageUrl = "https://localhost:44322/media/dksp5tpr/test-3.jpg?width=500&height=500&v=1d885613f9a7f59"; var sku = "sku-123"; var externalProductSnapShot = new ExternalProductSnapShot(store.Id, name, productPrices, imageUrl, sku); _commerceApi.Uow.Execute(uow => { var order = _commerceApi.GetOrCreateCurrentOrder(store.Id) .AsWritable(uow) .AddProduct(externalProductSnapShot, 1); _commerceApi.SaveOrder(order); uow.Complete(); }); return CurrentUmbracoPage(); }
r
m
s
  • 3
  • 4
  • 51
Umbraco CMS and React
p

Peter R

over 1 year ago
Hi, Im investigating the options using a frontend framework like React with a classic Umbraco 13 CMS setup. Anyone that has any blogs or similar to share how to set it up and what are the pitfalls?
p
r
+2
  • 4
  • 4
  • 51
Upgrade from 12 to 13 Nuget order?
j

jonroberts

almost 2 years ago
Hi, We are trying to upgrade our 12 site to 13 via the NuGet Package Manager but cannot seem to upgrade. It throws all sorts of errors. We have Skybrud Redirects 4.0.18 installed and Umbraco CMS Web Common and Umbraco Forms installed and these seem to be stopping the upgrade. Here is an example of the error: Severity Code Description Project File Line Suppression State Error NU1107 Version conflict detected for Umbraco.Cms.Web.BackOffice. Install/reference Umbraco.Cms.Web.BackOffice 13.0.0 directly to project Test.Web to resolve this issue. Test.Web -> Test.Core -> Umbraco.Cms.Web.BackOffice (>= 13.0.0) Test.Web -> Umbraco.Forms 12.2.0 -> Umbraco.Forms.StaticAssets 12.2.0 -> Umbraco.Cms.Web.BackOffice (>= 12.0.0 && < 13.0.0). When following the Error guides we just go around in an error circle of doom. Any thought son how to upgrade from 12 to 13 smoothly? @User @User
j
k
+4
  • 6
  • 13
  • 51
[Solved] Different runtime modes
c

Craig100

10 months ago
V13.5.2 A question about appsettings.{env}.json files. We have a project in development and about to go live on Client's Azure infrastructure. Therefore we have our appsettings.Developemnt.json for our local dev machines and we have the appsettings.Production.json on our own test server. Now the client wants to use another two environments, namely "Test" and "Live". I thought it would be fine to copy our Production appsettings file twice and call one appsettings.Test.json and the other appsettings.Live.json, but when changing the Runtime Mode settings to "Test" and "Live" I get a warning saying "Value should be one of: "BackofficeDevelopment", "Development", "Production" ". What do we do in this situation, or can this warning just be ignored? Any advice appreciated.
c
k
l
  • 3
  • 6
  • 50
Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException: The antiforgery token could not be
n

Navorski

about 1 year ago
Every minute or so, i get this error, and the application (Umbraco 13.4.1) is restarted. I tried googling, but no luck to what the problem could be. I removed all my forms in my frontend code, but it seems in my honest opinion something from the backend? Does anyone have an idea what could be the cause of this? i already have many umbraco instances with the hosting company, so i have no idea what is going on. https://cdn.discordapp.com/attachments/1272313669677486213/1272313670164283493/image.png?ex=66ba85f1&is=66b93471&hm=1e96f70b1651ef04abe6037c317c91c96996dffa6200e0d7674fd86eae87d4a4&
n
  • 1
  • 1
  • 50
Cache is not invalidating
i

ImmortanSteve

about 1 year ago
I have a website with a couple of environments. I sync content from stage to production. The content, shows up in production back office successfully. Normally, this where the cache would auto-magically invalidate. However, for some reason, this is no longer happening. So I have to click the button found in the back office at Settings > Published Status > Reload Memory Cache. There is some default language located here about this being a 'minor Umbraco issue' if you have to click this button. I don't really know what that means. I'm a little in the weeds here about how to troubleshoot this. I have tried updating the server, the site, redeployment and purging the existing cache. However, I am unfamiliar with the exact process by which Umbraco self-invalidates the memory cache. I could write something to manually invalidate that cache but it feels buying an expensive set of gloves just to flip a light switch. I assume I have simply missed something simple somewhere and I'm losing my mind over it. To be clear, this was working fine, no changes to the system. Umbraco simply stopped auto-invalidating the cache one day. I don't have any specific settings applied to manage the cache. I never needed them before. It just did what it was supposed to do. I would greatly appreciate some advice if anyone else has some words of wisdom to share. Thank you. Umbraco version 13 LTS latest version.
i
a
+2
  • 4
  • 7
  • 50
Previous454647Next

Umbraco

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

Powered by