[Support] kizaing - Kavita


Recommended Posts

3 hours ago, SBH said:

scanning don't found anything.

I think, I got it.

 

I need folders. Currently all data in one folder.

 

No action required from your side.

I have to check this first 

Screenshot_20230128_144451.thumb.jpg.4fa5a51f9f0850477d41be5df0289864.jpg

 

 

It works now. Minimum one folder is required in the root

Edited by SBH
Solved
Link to comment
3 hours ago, SBH said:

I need folders

 

For the case that someone need to do the same.

 

With following command you will get an order for each .epub element.

Please make Sure that the folder is correct.

When you have other Elements, you have to change .epub to your element type 

 

find /mnt/user/ebooks/Books -name "*.epub" -exec sh -c 'mkdir "${1%.*}" && mv "$1" "${1%.*}"' _ {} \;
 

Link to comment
  • 2 months later...

So i installed Kavita last night and let it scan my ebooks/comics/etc.

 

I'm getting this error:

There was an issue writing to the DB for Series API.Entities.Series An error occurred while saving the entity changes.

See the inner exception for details.

 

Not sure how to get to the inner exception. but i have included pics. and this is from the docker log..

Quote

[Kavita] [2023-04-02 18:08:07.395 -06:00  71] [Error] Microsoft.EntityFrameworkCore.Database.Command Failed executing DbCommand (2ms) [Parameters=[@p0='?' (Size = 9), @p1='?' (Size = 9)], CommandType='"Text"', CommandTimeout='30']
INSERT INTO "Genre" ("NormalizedTitle", "Title")
VALUES (@p0, @p1);
SELECT "Id"
FROM "Genre"
WHERE changes() = 1 AND "rowid" = last_insert_rowid();
[Kavita] [2023-04-02 18:08:07.405 -06:00  71] [Error] Microsoft.EntityFrameworkCore.Update An exception occurred in the database while saving changes for context type 'API.Data.DataContext'.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details.
 ---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: Genre.NormalizedTitle'.
   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
   at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details.
 ---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: Genre.NormalizedTitle'.
   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
   at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
[Kavita] [2023-04-02 18:08:07.410 -06:00  71] [Fatal] API.Services.Tasks.Scanner.ProcessSeries [ScannerService] There was an issue writing to the database for series Age of Heroes
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details.
 ---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: Genre.NormalizedTitle'.
   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
   at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
   at API.Data.UnitOfWork.CommitAsync() in /home/runner/work/Kavita/Kavita/API/Data/UnitOfWork.cs:line 81
   at API.Services.Tasks.Scanner.ProcessSeries.ProcessSeriesAsync(IList`1 parsedInfos, Library library, Boolean forceUpdate) in /home/runner/work/Kavita/Kavita/API/Services/Tasks/Scanner/ProcessSeries.cs:line 206
[Kavita] [2023-04-02 18:08:07.413 -06:00  71] [Information] API.Services.Tasks.Scanner.ProcessSeries [ScannerService] Beginning series update on 201507 Avengers in Gearing Up
[Kavita] [2023-04-02 18:08:07.461 -06:00  71] [Information] API.Services.Tasks.Scanner.ProcessSeries [ScannerService] Processing series 201507 Avengers in Gearing Up
[Kavita] [2023-04-02 18:08:07.461 -06:00  71] [Debug] API.Services.Tasks.Scanner.ProcessSeries [ScannerService] Updating 1 volumes on 201507 Avengers in Gearing Up
[Kavita] [2023-04-02 18:08:07.462 -06:00  71] [Debug] API.Services.Tasks.Scanner.ProcessSeries [ScannerService] Looking up volume for 0
[Kavita] [2023-04-02 18:08:07.462 -06:00  71] [Debug] API.Services.Tasks.Scanner.ProcessSeries [ScannerService] Parsing 201507 Avengers in Gearing Up - Volume 0
[Kavita] [2023-04-02 18:08:07.462 -06:00  71] [Debug] API.Services.Tasks.Scanner.ProcessSeries [ScannerService] Adding new chapter, 201507 Avengers in Gearing Up - Vol 0 Ch 1
[Kavita] [2023-04-02 18:08:07.574 -06:00  14] [Information] API.Services.Tasks.Scanner.ProcessSeries [ScannerService] Finished series update on Secret in 6506 ms
[Kavita] [2023-04-02 18:08:07.574 -06:00  14] [Debug] API.Services.MetadataService [MetadataService] Processing cover image generation for series: Secret
[Kavita] [2023-04-02 18:08:07.577 -06:00  14] [Debug] API.Services.MetadataService [MetadataService] Generating cover image for /library/[Comics]/[New]/[From DC++]/Marvel (2019)/0/Nueva carpeta/Comics/2012/4/Abril 2012 1ª quincena/Secret 001 (2012) (Digital) (Fawkes-Empire).cbr
[Kavita] [2023-04-02 18:08:07.589 -06:00  71] [Debug] API.Services.Tasks.Scanner.ProcessSeries [ScannerService] Updated 201507 Avengers in Gearing Up volumes from count of 0 to 1
[Kavita] [2023-04-02 18:08:07.590 -06:00  71] [Debug] API.Services.Tasks.Scanner.ProcessSeries Updating 201507 Avengers in Gearing Up FolderPath to /library/[Comics]/[New]/[From DC++]

(process:8): VIPS-WARNING **: 18:08:07.643: unknown JFIF resolution unit

(process:8): VIPS-WARNING **: 18:08:07.659: unknown JFIF resolution unit

(process:8): VIPS-WARNING **: 18:08:07.668: unknown JFIF resolution unit
[Kavita] [2023-04-02 18:08:07.712 -06:00  14] [Debug] API.Services.MetadataService [MetadataService] Generating cover image for /library/[Comics]/[New]/[From DC++]/Marvel (2019)/0/Nueva carpeta/Comics/2012/6/Junio 1 semana 2012/Secret 002 (2012) (Digital) (Fawkes-Empire).cbr
[Kavita] [2023-04-02 18:08:07.812 -06:00  55] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP GET /api/series/6733 responded 200 in 12.5737 ms
[Kavita] [2023-04-02 18:08:07.839 -06:00  14] [Debug] API.Services.MetadataService [MetadataService] Generating cover image for /library/[Comics]/[New]/[From DC++]/Marvel (2019)/0/Nueva carpeta/Comics/2013/8/Agosto 2013/Secret 003 (2013) (Digital) (Fawkes-Empire).cbr
[Kavita] [2023-04-02 18:08:13.611 -06:00  14] [Information] API.Services.MetadataService [MetadataService] Updated covers for Secret in 6036 milliseconds
[Kavita] [2023-04-02 18:08:13.611 -06:00  14] [Debug] API.Services.MetadataService Dispatching 5 update events
[Kavita] [2023-04-02 18:08:13.612 -06:00  14] [Information] API.Services.Tasks.Scanner.ProcessSeries [ScannerService] Beginning series update on X-Men Series
[Kavita] [2023-04-02 18:08:13.665 -06:00  14] [Information] API.Services.Tasks.Scanner.ProcessSeries [ScannerService] Processing series X-Men Series
[Kavita] [2023-04-02 18:08:13.665 -06:00  14] [Debug] API.Services.Tasks.Scanner.ProcessSeries [ScannerService] Updating 1 volumes on X-Men Series
[Kavita] [2023-04-02 18:08:13.665 -06:00  14] [Debug] API.Services.Tasks.Scanner.ProcessSeries [ScannerService] Looking up volume for 0
[Kavita] [2023-04-02 18:08:13.666 -06:00  14] [Debug] API.Services.Tasks.Scanner.ProcessSeries [ScannerService] Parsing X-Men Series - Volume 0
[Kavita] [2023-04-02 18:08:13.666 -06:00  14] [Debug] API.Services.Tasks.Scanner.ProcessSeries [ScannerService] Adding new chapter, X-Men Series - Vol 0 Ch 1
[Kavita] [2023-04-02 18:08:13.706 -06:00  14] [Debug] API.Services.Tasks.Scanner.ProcessSeries [ScannerService] Adding new chapter, X-Men Series - Vol 0 Ch 2
[Kavita] [2023-04-02 18:08:13.795 -06:00  55] [Information] API.Services.Tasks.Metadata.WordCountAnalyzerService [WordCountAnalyzerService] Updated metadata for Secret in 180 milliseconds
[Kavita] [2023-04-02 18:08:14.134 -06:00  14] [Debug] API.Services.Tasks.Scanner.ProcessSeries [ScannerService] Updated X-Men Series volumes from count of 0 to 1
[Kavita] [2023-04-02 18:08:14.134 -06:00  14] [Debug] API.Services.Tasks.Scanner.ProcessSeries Updating X-Men Series FolderPath to /library/[Comics]/[New]/[From DC++]
[Kavita] [2023-04-02 18:08:17.540 -06:00  71] [Error] Microsoft.EntityFrameworkCore.Database.Command Failed executing DbCommand (2ms) [Parameters=[@p0='?' (Size = 9), @p1='?' (Size = 9)], CommandType='"Text"', CommandTimeout='30']
INSERT INTO "Genre" ("NormalizedTitle", "Title")
VALUES (@p0, @p1);
SELECT "Id"
FROM "Genre"
WHERE changes() = 1 AND "rowid" = last_insert_rowid();
[Kavita] [2023-04-02 18:08:17.550 -06:00  71] [Error] Microsoft.EntityFrameworkCore.Update An exception occurred in the database while saving changes for context type 'API.Data.DataContext'.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details.
 ---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: Genre.NormalizedTitle'.
   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
   at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details.
 ---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: Genre.NormalizedTitle'.
   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
   at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
[Kavita] [2023-04-02 18:08:17.555 -06:00  71] [Fatal] API.Services.Tasks.Scanner.ProcessSeries [ScannerService] There was an issue writing to the database for series 201507 Avengers in Gearing Up
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details.
 ---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: Genre.NormalizedTitle'.
   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
   at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
   at API.Data.UnitOfWork.CommitAsync() in /home/runner/work/Kavita/Kavita/API/Data/UnitOfWork.cs:line 81
   at API.Services.Tasks.Scanner.ProcessSeries.ProcessSeriesAsync(IList`1 parsedInfos, Library library, Boolean forceUpdate) in /home/runner/work/Kavita/Kavita/API/Services/Tasks/Scanner/ProcessSeries.cs:line 206
[Kavita] [2023-04-02 18:08:17.559 -06:00  71] [Information] API.Services.Tasks.Scanner.ProcessSeries [ScannerService] Beginning series update on 1978-12 Flintstones
[Kavita] [2023-04-02 18:08:17.622 -06:00  71] [Information] API.Services.Tasks.Scanner.ProcessSeries [ScannerService] Processing series 1978-12 Flintstones
[Kavita] [2023-04-02 18:08:17.623 -06:00  71] [Debug] API.Services.Tasks.Scanner.ProcessSeries [ScannerService] Updating 1 volumes on 1978-12 Flintstones
[Kavita] [2023-04-02 18:08:17.623 -06:00  71] [Debug] API.Services.Tasks.Scanner.ProcessSeries [ScannerService] Looking up volume for 1
[Kavita] [2023-04-02 18:08:17.624 -06:00  71] [Debug] API.Services.Tasks.Scanner.ProcessSeries [ScannerService] Parsing 1978-12 Flintstones - Volume 1

 

and I dunno what to do or how to fix it?

V5i06qgwgn.png

7vUdxIaJIj.png

Link to comment
  • 4 weeks later...

No support issue, just some feedback. I gave it a try and it's a nice app, easy to install but I went back to Ubooquity because I prefer the app using the folder names and structuring accordingly. This app doesn't organize as well or as easily.

Link to comment

Hi, I just installed this app/container and my mapped folder is not displaying any content. I am mapping it to a SMB share. Also, whenever I restart the container, everything resets. I have to set everything up again. Thanks for your help.

Link to comment

Hi All,

 

I hope you can help me,

 

I have been running Kavita on my server now through docker on unraid for a little over a  year.  It seems that every time an update comes out for it it wipes out the wh ole server. Users, directories to books, comics, and I  have to go in and re setup things again.  Is this a normal problem or is there a way to fix this?  This just happened with the latest release and the previous one. 

 

Any help is appreciated very much.

 

Thanks,

 

Drezin

  • Upvote 2
Link to comment
  • 5 weeks later...
Posted (edited)

I installed and used Kavita for a month now.

 

Every time I have to add a book, It is a pain-in-the-*

I am never really sure if scanning the library will add it because it most probably will not. If you have a large library and you are not sitting there scanning the library manually you may not realize all the books that are not added to library. There is no log or no error message that popup up to say "Hey, we found this file but cannot add it for reason xyz", or "Hey, we added these titles to library but could not match metadata, match by ISBN# or something".

 

Then I have to fiddle around with creating folders for each book, even then it does not pick up files on the first go and doesn't even say the reason. I haven't been able to pick up .mobi files yet.

I am not sure what the folder structure is because it is not mentioned in the docs.

 

If I have omitted something feel free to help me out here.

I want to genuinely use this as a daily driver, but can't because of the issues I have faced.

 

 

TL;DR - UI is intuitive, good and responsive overall, Adding books can be a pain on another level. Unless there is a way to automate the File download and folder organizing like *arr/plex pairing, I don't see myself switching.

 

Cheers!

Edited by Shomil Saini
Link to comment
46 minutes ago, Shomil Saini said:

I installed and used Kavita for a month now.

 

Every time I have to add a book, It is a pain-in-the-*

I am never really sure if scanning the library will add it because it most probably will not. If you have a large library and you are not sitting there scanning the library manually you may not realize all the books that are not added to library. There is no log or no error message that popup up to say "Hey, we found this file but cannot add it for reason xyz", or "Hey, we added these titles to library but could not match metadata, match by ISBN# or something".

 

Then I have to fiddle around with creating folders for each book, even then it does not pick up files on the first go and doesn't even say the reason. I haven't been able to pick up .mobi files yet.

I am not sure what the folder structure is because it is not mentioned in the docs.

 

If I have omitted something feel free to help me out here.

I want to genuinely use this as a daily driver, but can't because of the issues I have faced.

 

 

TL;DR - UI is intuitive, good and responsive overall, Adding books can be a pain on another level. Unless there is a way to automate the File download and folder organizing like *arr/plex pairing, I don't see myself switching.

v.0.7.3 may be able to address this. At the time of writing, it was released about 6 hours ago. You can see the change here under "Media Errors" https://github.com/Kareadita/Kavita/releases/tag/v0.7.3
 

Kavita does not support .mobi files, you'd have to convert them to EPUB. You can see the supported file formats here: https://wiki.kavitareader.com/en

  • Thanks 1
Link to comment
45 minutes ago, Shivam Amin said:

v.0.7.3 may be able to address this. At the time of writing, it was released about 6 hours ago. You can see the change here under "Media Errors" https://github.com/Kareadita/Kavita/releases/tag/v0.7.3
 

Kavita does not support .mobi files, you'd have to convert them to EPUB. You can see the supported file formats here: https://wiki.kavitareader.com/en

Thanks for your helpful comment and pointing out the supported formats.

I am already updated to v0.7.3.

If you happen to know about folder structure and how to manage multiple editions of books and multiple file formats please let me know.

 

Cheers!

Link to comment

Hey I'm attempting was setting email and I overshoot past the config file into the templates so I got distracted on that it's the one time I'm thankful for ADHD. I browse through them and saw they're heavy on the trackers and CDNs. And on an inbox there's no reverse proxy to block the scripts with CSPs…plus, I'd kind of like to design my own from scratch.

 

Do you know by chance how these work? Are they parsed (the placeholders) before sending the email, or is there anything noteworthy about them? And, are the placeholders expected to be just markup or some kind of script or syntax?

 

Thanks!

Link to comment
On 6/7/2023 at 2:28 PM, Shomil Saini said:

Thanks for your helpful comment and pointing out the supported formats.

I am already updated to v0.7.3.

If you happen to know about folder structure and how to manage multiple editions of books and multiple file formats please let me know.

 

Cheers!

I'm not sure about editions, but file/folder structure is defined here (With more specific structure based on type): https://wiki.kavitareader.com/en/guides/managing-your-files
You should also read this: https://wiki.kavitareader.com/en/guides/managing-your-files/scanner

  • Thanks 1
Link to comment
On 6/15/2023 at 5:45 PM, Shivam Amin said:

I'm not sure about editions, but file/folder structure is defined here (With more specific structure based on type): https://wiki.kavitareader.com/en/guides/managing-your-files
You should also read this: https://wiki.kavitareader.com/en/guides/managing-your-files/scanner

Thanks for the links, I did some reading and fiddling with my setup and to be honest it is still messier than other *arrs suite I am used to.

  • It does not manage revisions of books i.e. 2022 edition vs 2023 edition of the same book in a single folder.
  • There is no consistent file naming structure I can adhere to for mixed file types i.e. some as pdf or epub.

It just might not be for my use case, but I just want to throw some books at it and let it organize like plex does for my media. 🤷🏽‍♂️ I might give it another go in a few months.

 

Cheers!

Link to comment
  • 2 months later...
On 5/7/2023 at 11:17 PM, Drezin said:

Hi All,

 

I hope you can help me,

 

I have been running Kavita on my server now through docker on unraid for a little over a  year.  It seems that every time an update comes out for it it wipes out the wh ole server. Users, directories to books, comics, and I  have to go in and re setup things again.  Is this a normal problem or is there a way to fix this?  This just happened with the latest release and the previous one. 

 

Any help is appreciated very much.

 

Thanks,

 

Drezin

 

I'm experiencing this too. Anyone know of a fix for this?

  • Upvote 1
Link to comment
  • 2 weeks later...
On 5/8/2023 at 1:17 PM, Drezin said:

Hi All,

 

I hope you can help me,

 

I have been running Kavita on my server now through docker on unraid for a little over a  year.  It seems that every time an update comes out for it it wipes out the wh ole server. Users, directories to books, comics, and I  have to go in and re setup things again.  Is this a normal problem or is there a way to fix this?  This just happened with the latest release and the previous one. 

 

Any help is appreciated very much.

 

Thanks,

 

Drezin

 

 

I had the same issue with it wiping my library/user settings with every update

 

Make sure you set a "Data Directory" in the container settings

I set mine to /mnt/user/appdata/Kavita/

 

My guess is if you don't set the data directory then it stores the files in the docker image that gets wiped when you update

Edited by deltoran
Link to comment

Really unhappy to set up the library folders and users every time an update shows ... will try the linuxserver kavita to check if it´s happening there too

 

no problems with the linuxserver repro - so to me this seems to bad setup on the repro manger.

Link to comment
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.