https://discord.umbraco.com
Join Discord
How does modern Umbraco check the version number?
r

rockerby

8 months ago
I'm having an issue on a site that looks like it's broken somehow and thinks it needs to upgrade (from something like cc54g34 -> 12.3.5). I've checked the database and the version looks fine, but can't find what it is comparing to. In v8 days, this used to be stored in the web.config but I can't find where Umbraco finds it in modern versions. Does anyone know where I can find this in v12.3.5 please?
r
k
s
  • 3
  • 9
  • 93
How content caching works
d

Danci

12 months 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
  • 93
web.config file location and redirect not working
j

JN

12 months ago
Our website is ready to go live, but I think I may have accidently moved web.config file to a different folder. Should the web.config file be located in the wwwroot folder? I added the following rewrite in the web.config file, it did not redirect to my custom hostname. I replaced https://www.example.com to my hostname. The hostname starts with account not www.
<rewrite>
                <rules>
                    <rule name="Redirect umbraco.io to primary hostname" stopProcessing="true">
                        <match url=".*" />
                        <conditions>
                            <add input="{HTTP_HOST}" pattern="\.umbraco\.io$" />
                            <add input="{HTTP_HOST}" pattern="^(dev-|stage-)(.*)?\.umbraco\.io$" ignoreCase="true" negate="true" />
                            <add input="{REQUEST_URI}" pattern="^/umbraco" ignoreCase="true" negate="true" />
                            <add input="{REQUEST_URI}" pattern="^/App_Plugins" ignoreCase="true" negate="true" />
                            <add input="{REQUEST_URI}" pattern="^/sb" negate="true" />
                            <!-- Don't redirect Smidge Bundle -->
                            <add input="{HTTP_COOKIE}" pattern="^(.+; )?UMB_UCONTEXT=([^;]*)(;.+)?$" negate="true" />
                            <!-- Ensure preview can render -->
                            <add input="{HTTP_HOST}" pattern="^localhost(:[0-9]+)?$" negate="true" />
                        </conditions>
                        <action type="Redirect" url="https://www.example.com/{R:0}" redirectType="Permanent" />
                    </rule>
                </rules>
            </rewrite>
j
r
  • 2
  • 21
  • 92
Recreate Umbraco 14 database
h

huwred

about 1 year ago
How do I do this, I assumed as previously you just empty the umbracDbDsn name, but that is giving me an error
"ConnectionStrings": {
    "umbracoDbDSN": "",
    "umbracoDbDSN_ProviderName": "Microsoft.Data.Sqlite"
  }
h
m
+3
  • 5
  • 20
  • 92
Should macros be Avoid?
k

Kevinkarasin

over 1 year ago
I am new to Umbraco. I have started to build my first Umbraco site using V13. I was wondering if there is still a place for Macro or should I stick strictly to Block and block lists? I read somewhere that macros will be deprecated but could not find details. Is there any truth to this?
k
k
  • 2
  • 1
  • 92
Very long loading time after not being used for a while
x

xopabyteh

7 months ago
Hello, happy holidays. We are running umbraco in our project to serve as a headless CMS. We are running into an issue, where when the umbraco part of our app is not used for a bit (~few hours), then the next load of any content is extremely slow. Our only idea thus far is to simulate traffic by hitting the umbraco endpoints to keep them warm, but we hate the idea... How is this situation usually solved? Thanks as always, MF.
x
l
s
  • 3
  • 9
  • 91
Umbraco 15 and dotnet 9 exception
s

sky

7 months ago
Hi, im getting this error when trying to run my umbraco on ubuntu: Unhandled exception. System.TypeLoadException: Could not load type 'Microsoft.AspNetCore.Builder.IISServerOptions' from assembly 'Microsoft.AspNetCore.Server.IIS, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. I installed umbraco 15 and dotnet 9 does anyone know what can be the problem?
s
k
s
  • 3
  • 3
  • 91
Umbraco Examine for searching and returning results of child items from more than one parent item.
b

bran31

over 1 year 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
  • 91
Extending the Appsettings-schema.json
c

Corné Hoskam

almost 2 years ago
Hi friends! Does anyone know if it's possible to (easily?) automatically extend the default provided appsettings-schema.json by Umbraco from an Umbraco package POV? Being able to ship an additional schema file isn't an issue, but it seems like I'll also need to be able to add an entry to the default appsettings-schema.json for it to be referenced đŸ¤”
c
p
+5
  • 7
  • 25
  • 90
How to populate options of UUI-Select?
a

Aaron Sawyer

about 1 year ago
I'm reading through the UUI documentation and the example code doesn't actually show how to attach complex data such as an array to the UUI-Select component. I've tried this in my modal's render() method, and it doesn't work: render() { const targetOptions: Array = [ { name: 'Carrot', value: 'orange' }, { name: 'Cucumber', value: 'green' }, { name: 'Aubergine', value: 'purple' }, { name: 'Blueberry', value: 'Blue' }, { name: 'Banana', value: 'yellow' }, { name: 'Strawberry', value: 'red' }, ]; return html``; }
a
e
  • 2
  • 3
  • 89
Previous222324Next

Umbraco

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

Powered by