https://discord.umbraco.com
Join Discord
Examine in load balanced environment 'umbracoServer' database table
s

sandervandepas_33359

over 1 year ago
Hi, We've an Umbraco 10.8.2 site in a load balanced environment. Following the documentation we need to set the right *serverrole * to the backoffice and frontend server by implementing a **custom ServerRegistrarComposer**: https://docs.umbraco.com/umbraco-cms/v/10.latest-lts/fundamentals/setup/server-setup/load-balancing/flexible-advanced *Question: * When we do this the database table umbracoServer won't be filled, is that correct? Or should this table always be filled?
s
m
  • 2
  • 9
  • 100
Authorization error and empty content tree for all new users
a

Aksel

over 1 year ago
Hi! I'm having a weird issue in one of our staging environments. I've created a new user with Editor role. However when the user logs into the back office, the Content tree is empty. He also gets the following error: Authorization error: Unauthorized access to URL: /umbraco/backoffice/umbracoapi/language/GetAllLanguages I've tried changing his language and also the content start nodes etc..but no change. Anyone have any clue how to solve this?
a
  • 1
  • 2
  • 100
BlockGrid Preview Settings
c

Craig100

about 1 year ago
V13.4.1 I have a single column layout block which has a settings model which happily changes the background colour on the front end web site. However, when attempting to set up a preview, I get the data out ok, but I have no idea how to get the settings data to apply. I tried using the old V11 example site but couldn't really convert it as I didn't understand what the syntax was in the Angular. Does anyone have a simple example of getting a settings model to output to a preview html? Thanks.
c
h
r
  • 3
  • 21
  • 99
Getting UmbracoHelper in class
t

TigerMan

about 1 year ago
Hi all I'm using the below code in Umbraco 13 custom class public IPublishedContent GetProductById(int id) { var accessor = StaticServiceProvider.Instance.GetRequiredService(); if (accessor.TryGetUmbracoHelper(out var umbracoHelper)) { return umbracoHelper.Content(id); } return null; } This returns the error InvalidOperationException wasn't able to get an UmbracoContext. When searching on this error, most lead me to Umbraco 9 bugs so wondering if I'm missing something?
t
d
  • 2
  • 8
  • 99
How to run Umbraco in offline mode?
t

TigerMan

over 1 year ago
Hi I've read that Umbraco 13 could be run under offline mode. I might be using incorrect words to describe what I mean so I'll explain a little more. An Umbraco site can be run where the database connections do not need to be used, the sites files are cached so trips to the server are extremely limited. An upgrade can be carried out and the site never goes down. Only when it's necessary it would make database calls or update cached content. It might be part of Umbraco going green (meaning it's more environmentally friendly). Does anyone know how to get started with this or what is needed for this to happen? Thanks
t
s
m
  • 3
  • 3
  • 99
Umbraco Examine for searching and returning results of child items from more than one parent item.
b

bran31

almost 2 years ago
Hi, I am trying to get the search results of child items. Some child items are within one parent item and some child items are from another parent item. I tried to build a query using examine however I'm not getting the expected results. Any assistance would be much appreciated. The following below is what I'm trying to accomplish: var query = index.Searcher.CreateQuery("content"); var results = query.ParentId(nodeItem1Id).And().ParentId(nodeItem2Id).Execute();
b
j
+4
  • 6
  • 25
  • 99
BootFailedException: Boot failed: Umbraco cannot run. See Umbraco's log file for more details.
b

Bishal Tim

almost 2 years ago
i got this error, even though i my connection string is correctly implemented
b
r
+2
  • 4
  • 5
  • 99
UI Builder with repository to an external table
a

Alex Wilks

about 1 year ago
Hi everyone, We need to use UI Builder to manage some data held in a separate database and, because of the slightly complex nature of the data we need to save/load, we're using a repository as described here: https://docs.umbraco.com/umbraco-ui-builder/v/13.ui-builder.latest-lts/advanced/repositories From there, we stubbed out our tree with some noddy data just to get it visible and we get an error that the table name doesn't exist (
Invalid object name 'Company'.
is the precise error message). After digging around, I can see that the scope provider that gets injected into our repository is pointing to the default Umbraco connection string even though we set the correct connection string in the application startup:
services.AddUmbracoDbContext<CustomDBContext>(options =>
            {
                options.UseSqlServer("name=ConnectionStrings:CustomDB");
            });
I'm at a bit of a loss as to why this would be the case. Does anyone have any ideas? Thanks
a
p
+3
  • 5
  • 15
  • 98
Content Delivery API - Custom Property Editor Value becomes empty arrays?
b

Boye

about 2 years ago
I'm not really sure whats going on. My custom property editor stores it's value as a json object, I don't have any converters in between. The first screenshot is rendered directly from Razor, the second one is the response from Umbracos Content Delivery API
b
s
  • 2
  • 20
  • 98
How can I hide the Getting Started dashboard in Umbraco V15?
a

AaronSadlerUK

9 months ago
Previously we could use a Composer to remove the getting started dashboard, which was fully supported by the core, what's the official process in V15?
a
s
m
  • 3
  • 2
  • 97
Previous232425Next

Umbraco

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

Powered by