Fresh Nightly Installs Work (#1659)
* Bump loader-utils from 2.0.3 to 2.0.4 in /UI/Web Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.3 to 2.0.4. - [Release notes](https://github.com/webpack/loader-utils/releases) - [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.4/CHANGELOG.md) - [Commits](https://github.com/webpack/loader-utils/compare/v2.0.3...v2.0.4) --- updated-dependencies: - dependency-name: loader-utils dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> * Removed a very old cgecj from Nov 2021 when data/appsettings was moved to config/ * Added some notes about migration * Removed a file that shouldn't have been there. Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
parent
c6d24808ef
commit
e520861e33
4 changed files with 23 additions and 32 deletions
|
@ -82,7 +82,14 @@ public class Program
|
|||
}
|
||||
|
||||
// This must run before the migration
|
||||
await MigrateSeriesRelationsExport.Migrate(context, logger);
|
||||
try
|
||||
{
|
||||
await MigrateSeriesRelationsExport.Migrate(context, logger);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
// If fresh install, could fail and we should just carry on as it's not applicable
|
||||
}
|
||||
|
||||
await context.Database.MigrateAsync();
|
||||
|
||||
|
@ -90,14 +97,6 @@ public class Program
|
|||
await Seed.SeedSettings(context, directoryService);
|
||||
await Seed.SeedThemes(context);
|
||||
await Seed.SeedUserApiKeys(context);
|
||||
|
||||
// NOTE: This check is from v0.4.8 (Nov 04, 2021). We can likely remove this
|
||||
var isDocker = new OsInfo(Array.Empty<IOsVersionAdapter>()).IsDocker;
|
||||
if (isDocker && new FileInfo("data/appsettings.json").Exists)
|
||||
{
|
||||
logger.LogCritical("WARNING! Mount point is incorrect, nothing here will persist. Please change your container mount from /kavita/data to /kavita/config");
|
||||
return;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
SeriesName,SeriesId,TargetSeriesName,TargetId,Relationship
|
||||
Kaguya-sama - Love Is War,308,Kaguya-sama - Love Is War - Digital Colored Comics,307,AlternativeVersion
|
||||
Kaguya-sama - Love Is War,308,Kaguya Wants To Be Confessed To Official Doujin,306,SpinOff
|
||||
Konosuba,341,Konosuba - An Explosion on This Wonderful World!,342,SideStory
|
||||
Konosuba,341,Kono Subarashii Sekai ni Nichijou wo!,337,SideStory
|
||||
Accel World,1739,Accel World,887,Edition
|
||||
24 Hours in Ancient Athens,1748,Kono Subarashii Sekai ni Nichijou wo!,337,Adaptation
|
||||
24 Hours in Ancient Athens,1748,Accel World,887,Adaptation
|
||||
Subete no Jidai o Tsuujite no Satsujinjutsu,1877,Accel World,887,Adaptation
|
||||
KonoSuba,2032,Konosuba,341,Adaptation
|
|
Loading…
Add table
Add a link
Reference in a new issue