https://discord.umbraco.com
Join Discord
Umbraco forms - silent error during upgrade migration
w

weedroid

9 months ago
I have a site running Umbraco v13 which I have upgraded from v8 via v10. I am now trying to install the latest version of Umbraco Forms - I have installed the package via Nuget and can load the Forms section in the backend, however doing so shows this error: Invalid column name 'DeleteEntries'. On checking the Installed Packages view I can see there are Pending migrations for the Umbraco Forms package, selecting the option to Run them shows a "successfully completed" message in the front-end but the console the site was run from shows the following errors: [10:35:00 INF] Create Foreign Key: ALTER TABLE [UFUserGroupFormSecurity] ADD CONSTRAINT [FK_UFUserGroupFormSecurity_UFForms_Key] FOREIGN KEY ([Form]) REFERENCES [UFForms] ([Key]) [10:35:00 ERR] Exception (9b7b8baf). Microsoft.Data.SqlClient.SqlException (0x80131904): There are no primary or candidate keys in the referenced table 'UFForms' that match the referencing column list in the foreign key 'FK_UFUserGroupFormSecurity_UFForms_Key'. Could not create constraint or index. See previous errors. Plan failed at step 7c7bc5ee-4c5b-42dc-9576-5ce6dfbddb8e Has anybody encountered this error or similar before, or has any advice on resolving it?
w
o
+2
  • 4
  • 17
  • 279
Any tutorials or blog posts on adding a new custom field to an existing examine index?
u

_tommadden

over 1 year ago
I'm looking to add a single new field to the external index. This seemed like a trivial task and quite easy in v8 but all I can seem to find so far for modern Umbraco are articles about creating new indexes. TIA, tom
u
j
+3
  • 5
  • 11
  • 276
The factory has not been configured with a proper connection string.
j

jsh6791

over 1 year ago
Hello all. I have an issue I have been trying to track down off and on for a couple days. Recently upgraded from 13.2.1 to 13.2.2. Running vanilla Umbraco; no code modifications, use SQL Server back end. I can run it locally pointing at a SQL server at my web host company and it works fine. When I do a web deploy, I get the message: Unhandled exception. System.InvalidOperationException: The factory has not been configured with a proper connection string. at Umbraco.Cms.Infrastructure.Persistence.UmbracoDatabaseFactory.Initialize()... I can connect directly to the SQL server using the exact same connection string info as well, so I know the connection string is correct. I've obfuscated the connecting string below, but here it is. Again, when I run the code locally on my machine, it works fine connecting to this server. "umbracoDbDSN": "Data Source=tcp:s23.winhost.com;Initial Catalog=########;User ID=#######r;Password=#######;Integrated Security=False;TrustServerCertificate=true;", What am I missing? Is something cached on the web host's server? I have completely deleted everything off the server (via FTP) and redeployed, but the same error persists. I appreciate any and every bit of help anyone can provide.
j
s
  • 2
  • 1
  • 275
Upgrading 13 to 15 Umbraco.Cms.Web.BackOffice / Umbraco.Cms.Web.Common
r

Rich G

8 months ago
Hey, Attempting to upgrade our 13 project to 15. Apart from a few packages that haven't been upgraded it's going ok, except can't get past this error: NU1608      Detected package version outside of dependency constraint: Umbraco.Cms.Web.BackOffice 13.0.0 requires Umbraco.Cms.Web.Common (>= 13.0.0 && < 14.0.0) but version Umbraco.Cms.Web.Common 15.1.1 was resolved. I get an error in all the following cases: - Removing all references in the project file to Umbraco.Cms.Web.BackOffice / Umbraco.Cms.Web.Common - Only referencing Umbraco.Cms.Web.BackOffice - Referencing both Umbraco.Cms.Web.BackOffice / Umbraco.Cms.Web.Common Looked at removing all references to Umbraco.Cms.Web.BackOffice / Umbraco.Cms.Web.Common in code, but seems to be baked in, used for Models builder etc.
r
l
+2
  • 4
  • 5
  • 270
Blazor+UmbarcoCMS
m

marcusjmsweden

over 1 year ago
Using this to discuss Content Delivery API and Blazor.
m
l
+9
  • 11
  • 121
  • 267
[Solved] How to use CSP Manager w/ Nonce
d

Danine Noble

over 1 year ago
Hullo all ^^ I'm fiddling with this super helpful lil' package: https://marketplace.umbraco.com/package/umbraco.community.cspmanager Never done anything with nonce and barely any CSP experience, but I'm trying to follow the Nonce instructions on the Repo (https://github.com/Matthew-Wise/Umbraco-CSP-manager). Simply adding the Tag Helper and then adding the provided snippet doesn't do anything. Does anyone have experience with this package that can help point me in the right direction for what I'm missing? Done some Googlin' but not sure what this package doesn't handle. Tried adding some 'nonce-' to the CSP source but no luck.
d
m
  • 2
  • 15
  • 267
Forms files missing?
j

Josef Henryson

over 1 year ago
Hi. Docs and code says there should be an UmbracoForms folder in App_plugins. After nuget installation of Forms 13.0.1 I do not have that folder. What might be wrong here? Also the files in Views/Partials/Forms were missing. Downloaded them from docs page though. https://cdn.discordapp.com/attachments/1206882876767997992/1206882876935634984/image.png?ex=65dda044&is=65cb2b44&hm=0314d73b87545d406bcb5592a35d82785133ac4d0ddb372d982d1290158a1e03&
j
m
m
  • 3
  • 6
  • 267
Umbraco Commerce. How do you handle discounts in the ui?
s

Sander L

over 1 year ago
Hi all, Umbraco Commerce has a great discount rule engine. The only downside is that it is applied to Orders only. How do you manage displaying discounts on the frontend? A lot of shops don't just want to show the discount whenever they are in the checkout, but also on product details/ product overviews. I know there is no built in feature for this (we asked support) so that's why I was wondering how other people handle this. Thanks
s
r
+3
  • 5
  • 11
  • 265
Making 2FA Mandatory for Admin Users
p

pdqumbraco

over 1 year ago
Hi All, I've implemented 2FA as specified here - https://docs.umbraco.com/umbraco-cms/reference/security/two-factor-authentication#login-with-2fa-enabled, I just wondering if it's possible to enforce this so back office users have to use 2FA to sign in, rather than it being optional. Thanks
p
s
+5
  • 7
  • 9
  • 260
Does anyone have any links to blog posts
o

Owain Jones

over 1 year ago
Does anyone have any links to blog posts about how to do proper nuget versioning for packages? Is there a standard way package authors do this? I'm currently just manually updating the
PackageVersion
in my csproj when releasing a new version 🙈
o
s
+4
  • 6
  • 22
  • 259
Previous678Next

Umbraco

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

Powered by