Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.
C# annotationscbzcomicinfocomicscomics-readercross-platformcsharpepubepub-readerfreelinuxmangamedia-servermetadataopdsopds-feedpdfself-hostedubooquitywindows
Fresh Nightly Installs Work (#1659)
Joe Milazzoe520861e33f6
diff --git a/.gitignore b/.gitignoreindex 078b6108c..bb2edbbd2 100644--- a/.gitignore+++ b/.gitignore@@ -526,8 +526,10 @@ API/config/stats/*API/config/stats/app_stats.jsonAPI/config/pre-metadata/API/config/post-metadata/+API/config/relations-imported.csv+API/config/relations.csvAPI.Tests/TestResults/UI/Web/.vscode/settings.json/API.Tests/Services/Test Data/ArchiveService/CoverImages/output/*UI/Web/.angular/-BenchmarkDotNet.Artifacts\ No newline at end of file+BenchmarkDotNet.Artifactsdiff --git a/API/Program.cs b/API/Program.csindex 9f69cdf3c..01847faaa 100644--- a/API/Program.cs+++ b/API/Program.cs@@ -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 Programawait 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){diff --git a/API/config/relations-imported.csv b/API/config/relations-imported.csvdeleted file mode 100644index 608421b32..000000000--- a/API/config/relations-imported.csv+++ /dev/null@@ -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,Adaptationdiff --git a/UI/Web/package-lock.json b/UI/Web/package-lock.jsonindex b5a4c61b7..96d2c455d 100644--- a/UI/Web/package-lock.json+++ b/UI/Web/package-lock.json@@ -5089,9 +5089,9 @@},"dependencies": {"loader-utils": {- "version": "2.0.3",- "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.3.tgz",- "integrity": "sha512-THWqIsn8QRnvLl0shHYVBN9syumU8pYWEHPTmkiVGd+7K5eFNVSY6AJhRvgGF70gg1Dz+l/k8WicvFCxdEs60A==",+ "version": "2.0.4",+ "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz",+ "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==","requires": {"big.js": "^5.2.2","emojis-list": "^3.0.0",@@ -6746,9 +6746,9 @@},"dependencies": {"loader-utils": {- "version": "2.0.3",- "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.3.tgz",- "integrity": "sha512-THWqIsn8QRnvLl0shHYVBN9syumU8pYWEHPTmkiVGd+7K5eFNVSY6AJhRvgGF70gg1Dz+l/k8WicvFCxdEs60A==",+ "version": "2.0.4",+ "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz",+ "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==","requires": {"big.js": "^5.2.2","emojis-list": "^3.0.0",@@ -7115,9 +7115,9 @@},"dependencies": {"loader-utils": {- "version": "2.0.3",- "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.3.tgz",- "integrity": "sha512-THWqIsn8QRnvLl0shHYVBN9syumU8pYWEHPTmkiVGd+7K5eFNVSY6AJhRvgGF70gg1Dz+l/k8WicvFCxdEs60A==",+ "version": "2.0.4",+ "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz",+ "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==","dev": true,"requires": {"big.js": "^5.2.2",@@ -14660,9 +14660,9 @@},"dependencies": {"loader-utils": {- "version": "2.0.3",- "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.3.tgz",- "integrity": "sha512-THWqIsn8QRnvLl0shHYVBN9syumU8pYWEHPTmkiVGd+7K5eFNVSY6AJhRvgGF70gg1Dz+l/k8WicvFCxdEs60A==",+ "version": "2.0.4",+ "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz",+ "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==","requires": {"big.js": "^5.2.2","emojis-list": "^3.0.0",