Hi, I fixed the authentication issue for the Pro version and added your extra line afterwards it is now working.
Thank you, I can get the clients site uploaded this evening which will keep them happy.
As this is a issue with the core implementation rather than my custom work will it still use up a support ticket allowance?
Cheers, Dave
Hi, I removed the lock files and tried again but get the same error 500 issue. The free font awesome package is something inside ABP pulling it as I don't see @abp/font anywhere in the solution to fix that issue myself.
Here is the output from the install-libs:
Running Yarn on C:\Users\mail\source\repos\Hub\src\Hub.Web yarn install v1.22.19 info No lockfile found. [1/4] Resolving packages... warning @volo/abp.aspnetcore.mvc.ui.theme.leptonx > @volo/abp.aspnetcore.mvc.ui.theme.commercial > @abp/aspnetcore.mvc.ui.theme.shared > @abp/aspnetcore.mvc.ui > glob@7.2.3: Glob versions prior to v9 are no longer supported warning @volo/abp.aspnetcore.mvc.ui.theme.leptonx > @volo/abp.aspnetcore.mvc.ui.theme.commercial > @abp/aspnetcore.mvc.ui.theme.shared > @abp/aspnetcore.mvc.ui > glob > inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. warning @volo/abp.aspnetcore.mvc.ui.theme.leptonx > @volo/abp.aspnetcore.mvc.ui.theme.commercial > @abp/aspnetcore.mvc.ui.theme.shared > @abp/aspnetcore.mvc.ui > gulp > glob-watcher > chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies warning @volo/abp.aspnetcore.mvc.ui.theme.leptonx > @volo/abp.aspnetcore.mvc.ui.theme.commercial > @abp/aspnetcore.mvc.ui.theme.shared > @abp/aspnetcore.mvc.ui > gulp > vinyl-fs > glob-stream > glob@7.2.3: Glob versions prior to v9 are no longer supported warning @volo/abp.aspnetcore.mvc.ui.theme.leptonx > @volo/abp.aspnetcore.mvc.ui.theme.commercial > @abp/aspnetcore.mvc.ui.theme.shared > @abp/aspnetcore.mvc.ui > gulp > glob-watcher > chokidar > fsevents@1.2.13: The v1 package contains DANGEROUS / INSECURE binaries. Upgrade to safe fsevents v2 error Couldn't find package "@fortawesome/fontawesome-free@^6.5.1" required by "@abp/font-awesome@~8.1.3" on the "npm" registry. info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. warning @volo/abp.aspnetcore.mvc.ui.theme.leptonx > @volo/abp.aspnetcore.mvc.ui.theme.commercial > @abp/aspnetcore.mvc.ui.theme.shared > @abp/aspnetcore.mvc.ui > gulp > glob-watcher > anymatch > micromatch > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated warning @volo/abp.aspnetcore.mvc.ui.theme.leptonx > @volo/abp.aspnetcore.mvc.ui.theme.commercial > @abp/aspnetcore.mvc.ui.theme.shared > @abp/aspnetcore.mvc.ui > gulp > glob-watcher > anymatch > micromatch > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated warning @volo/abp.aspnetcore.mvc.ui.theme.leptonx > @volo/abp.aspnetcore.mvc.ui.theme.commercial > @abp/aspnetcore.mvc.ui.theme.shared > @abp/aspnetcore.mvc.ui > gulp > glob-watcher > anymatch > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated warning @volo/abp.aspnetcore.mvc.ui.theme.leptonx > @volo/abp.aspnetcore.mvc.ui.theme.commercial > @abp/aspnetcore.mvc.ui.theme.shared > @abp/aspnetcore.mvc.ui > gulp > glob-watcher > anymatch > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated warning @volo/abp.aspnetcore.mvc.ui.theme.leptonx > @volo/abp.aspnetcore.mvc.ui.theme.commercial > @abp/aspnetcore.mvc.ui.theme.shared > @abp/aspnetcore.mvc.ui > gulp > vinyl-fs > glob-stream > unique-stream > through2-filter@3.1.0: this package has been deprecated for breaking semver major
My portal was on 7.2.x and recently upgraded to 8.1.3 but when doing a password reset from the hosted app it ends up with an error 500 inside the password reset box. Looking at the log files this error comes up after the link has been clicked in the password reset email.
I have checked the package.json has the current 8.1.3 version in, a copy is below:
{ "version": "1.0.0", "name": "my-app", "private": true, "dependencies": { "@fortawesome/fontawesome-pro": "^6.3.0", "@volo/abp.aspnetcore.mvc.ui.theme.leptonx": "~3.1.3", "@volo/account": "~8.1.3", "@volo/audit-logging": "~8.1.3", "@volo/file-management": "~8.1.3", "@volo/identity": "~8.1.3", "@volo/language-management": "~8.1.3", "@volo/saas": "~8.1.3" } }
When attempting a abp install-libs I get the following:
ABP CLI 8.1.3 Found 1 projects. C:\Users\mail\source\repos\Hub\src\Hub.Web Running Yarn on C:\Users\mail\source\repos\Hub\src\Hub.Web yarn install v1.22.19 [1/4] Resolving packages... error Couldn't find package "@fortawesome/fontawesome-free@^6.5.1" required by "@abp/font-awesome@~8.1.3" on the "npm" registry. info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Volo.Abp.AbpException: Could not find file '/libs/zxcvbn/zxcvbn.js'
Any ideas would be welcome as it looks like a package issue rather than something self-inflicted.
Thanks, Dave
2024-06-12 12:27:34.320 +00:00 [ERR] An unhandled exception has occurred while executing the request.
Volo.Abp.AbpException: Could not find file '/libs/zxcvbn/zxcvbn.js'
at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundlerBase.GetFileInfo(IBundlerContext context, String file)
at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundlerBase.GetAndMinifyFileContent(IBundlerContext context, String fileName)
at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundlerBase.GetFileContentConsideringMinification(IBundlerContext context, String fileName)
at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundlerBase.Bundle(IBundlerContext context)
at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundleManager.<>c__DisplayClass17_0.<AddToBundleCache>b__0()
at System.Collections.Generic.AbpDictionaryExtensions.<>c__DisplayClass7_02.<GetOrAdd>b__0(TKey k) at System.Collections.Concurrent.ConcurrentDictionary
2.GetOrAdd(TKey key, Func2 valueFactory) at System.Collections.Generic.AbpDictionaryExtensions.GetOrAdd[TKey,TValue](ConcurrentDictionary
2 dictionary, TKey key, Func1 factory) at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundleCache.GetOrAdd(String bundleName, Func
1 factory)
at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundleManager.AddToBundleCache(String bundleName, IBundler bundler, List1 bundleFiles) at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundleManager.GetBundleFilesAsync(BundleConfigurationCollection bundles, String bundleName, IBundler bundler) at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundleManager.GetScriptBundleFilesAsync(String bundleName) at Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers.AbpTagHelperScriptService.GetBundleFilesAsync(String bundleName) at Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers.AbpTagHelperResourceService.ProcessAsync(ViewContext viewContext, TagHelper tagHelper, TagHelperContext context, TagHelperOutput output, List
1 bundleItems, String bundleName)
at Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers.AbpBundleTagHelperService2.ProcessAsync(TagHelperContext context, TagHelperOutput output) at Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner.<RunAsync>g__Awaited|0_0(Task task, TagHelperExecutionContext executionContext, Int32 i, Int32 count) at AspNetCoreGeneratedDocument.Pages_Account_ResetPassword.<ExecuteAsync>b__19_0() at Microsoft.AspNetCore.Mvc.Razor.RazorPage.RenderSectionAsyncCore(String sectionName, Boolean required) at AspNetCoreGeneratedDocument.Themes_LeptonX_Layouts_Account_Default.<>c__DisplayClass20_0.<<ExecuteAsync>b__1>d.MoveNext() in C:\Users\mail\source\repos\Hub\src\Hub.Web\Themes\LeptonX\Layouts\Account\Default.cshtml:line 193 --- End of stack trace from previous location --- at Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext.SetOutputContentAsync() at AspNetCoreGeneratedDocument.Themes_LeptonX_Layouts_Account_Default.ExecuteAsync() in C:\Users\mail\source\repos\Hub\src\Hub.Web\Themes\LeptonX\Layouts\Account\Default.cshtml:line 94 at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context) at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, Boolean invokeViewStarts) at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderLayoutAsync(ViewContext context, ViewBufferTextWriter bodyWriter) at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context) at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable
1 statusCode)
at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable`1 statusCode)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.
I've spent the evening trying to get an email template sending when a new user has been created. After looking around for a few examples I had the same issue as others where it works locally but not when hosted in Azure. Looking at the log.txt I found this error which meant the virtual files weren't being found.
2023-11-20 20:50:12.456 +00:00 [ERR] Could not find a file/folder at the location: /Emailing/Templates/NewUserWelcome.tpl Volo.Abp.AbpException: Could not find a file/folder at the location: /Emailing/Templates/NewUserWelcome.tpl
Short version, I found the answer / workaround on stackoverflow. Copy your email template folder + .tpl file and put it in the Domain.Shared rather than the Application project and it'll work. If you have got everything else in place but its not working, this might be the last step required:
https://stackoverflow.com/questions/75113191/abp-framework-cant-acces-virtual-files-in-deploy
If you're creating a bug/problem report, please include followings:
Hi, I am looking to add a "Next" button in the footer modal that will move to the next tab along, as the user has commented they get confused when "Save" is "Save and Close". I can't see in the tag helpers any way to do this, so is there an easy way to extend it to handle this situation? I'm happy to copy the modal footer code into each tab so that Next doesn't appear on the last page.
Or does anyone else have a different approach I could put forward, like having the "Save" show "Save & Close" instead.
Thanks, Dave
I just tried it on my MVC EF 7.0.1 copy and it now builds. Didn't for me earlier today.