Fairly straight forward, the DB migrator runs fine if I remove all the hangfire related code (the depends on and initialization bits). But if I add them back in I get the following
InvalidOperationException: Current JobStorage instance has not been initialized yet. You must set it before using Hangfire Client or Server API. For .NET Core applications please call the IServiceCollection.AddHangfire extension method from Hangfire.NetCore or Hangfire.AspNetCore package depending on your application type when configuring the services and ensure service-based APIs are used instead of static ones, like IBackgroundJobClient instead of BackgroundJob and IRecurringJobManager instead of RecurringJob.
Ive configured hangfire to use a seperate DB in case that was the issue but it didnt help. And hangfire is setup as standard with the SqlServer package.
I dont want to have to effectivly uninstall hangfire everytime I need to update the db (which is a lot during developement)
[maliming] said: hi tony.gayte
Can you try to use
abp get-source Volo.Abp.LeptonXTheme?Have you tried downloading the source code from suite?
Yes I have already tried that (I listed the commands I used). But no joy
I cant download it either, have logged out, logged in
I have tried all of the following abp get-source Volo.Abp.LeptonTheme --version 4.2.2 abp get-source Volo.Abp.LeptonXTheme --version 4.2.2 abp get-source Volo.Abp.LeptonXTheme.Pro --version 4.2.2
In the suite I get the same error as above '<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
[13:50:52 INF] Downloading source code of Volo.Abp.LeptonXTheme (v4.2.2) [13:50:52 INF] Output folder: C:\temp [13:50:53 ERR] Downloading source code failed for: Volo.Abp.LeptonXTheme Volo.Abp.Studio.AbpStudioException: Exception of type 'Volo.Abp.Studio.AbpStudioException' was thrown. at async Task Volo.Abp.Studio.Modules.Installing.SourceCodeDownloader.DownloadSourceCodeAsync(string moduleName, string targetFolder, string version, bool includeNightly) at async Task Volo.Abp.Studio.Cli.Commands.StudioGetSourceCommand.ExecuteAsync(CommandLineArgs commandLineArgs) at async Task Volo.Abp.Studio.Cli.StudioCliService.RunInternalAsync(CommandLineArgs commandLineArgs) at async Task Volo.Abp.Studio.Cli.StudioCliService.RunAsync(string[] args)