komga icon indicating copy to clipboard operation
komga copied to clipboard

No covers (thumbnails) at all

Open Stooovie opened this issue 1 year ago • 14 comments

Steps to reproduce

1.) install 2) add folder with comics

Expected behavior

see thubnails/covers

Actual behavior

no covers Screenshot 2023-12-23 at 14 44 31

Logs

komga.log_153806.zip

Komga version

1.9.2

Operating system

Linux

Installation method

from download.komga.org

Other details

running in a Proxmox LXC (Debian 11), installed from the .deb as per official instructions. Tested with a single CBZ file, same issue. Waited 2 hours to see any results, no dice. Restarting the app and/or the container didn't help.

Actual reading and other features do work.

Acknowledgements

  • [X] I have searched the existing issues (open AND closed) and this is a new ticket, NOT a duplicate or related to another open issue.
  • [X] I have written a short but informative title.
  • [X] I have checked the FAQ.
  • [X] I have updated the app to the latest version.
  • [X] I will fill out all of the requested information in this form.

Stooovie avatar Dec 23 '23 15:12 Stooovie

Have you checked the permissions on your directories?

billsargent avatar Dec 23 '23 19:12 billsargent

Yes, it's drwxr-xr-x, so AFAIK R/W to everyone.

Stooovie avatar Dec 23 '23 21:12 Stooovie

logs do not contain any exceptions 🤷🏻

gotson avatar Jan 04 '24 03:01 gotson

too bad... can't use Komga then :(

Stooovie avatar Jan 07 '24 19:01 Stooovie

Try changing your proxmox CPU type to something other than x86-64-v2-AES You'll have to pick something that more closely matches your physical CPU.

I've seen this before in other projects where proxmox masks too many of the CPU features and prevents the VM's from using them.

DieselTech avatar Jan 07 '24 20:01 DieselTech

I would also try not using the deb and installing just the jar file. Thats how I do it.

billsargent avatar Jan 07 '24 20:01 billsargent

Try changing your proxmox CPU type to something other than x86-64-v2-AES You'll have to pick something that more closely matches your physical CPU.

I've seen this before in other projects where proxmox masks too many of the CPU features and prevents the VM's from using them.

this is a LXC, not a VM. You can't specify CPU type on a LXC, it runs off the host's kernel. Thank you though, good point. I always set the type to "host".

I don't want to run a full VM just for Komga. I'm now running it under Yunohost which is one of supported install options. That one works.

Stooovie avatar Jan 07 '24 23:01 Stooovie

try to enable debug logs and get some logs from when you Analyze a book.

gotson avatar Jan 08 '24 03:01 gotson

I would also try not using the deb and installing just the jar file. Thats how I do it.

good idea. It seems to fix my issue. Thanks!

Stooovie avatar Jan 08 '24 16:01 Stooovie

It's also quite prone to crashing. But that's for a different bug report.

Stooovie avatar Jan 08 '24 17:01 Stooovie

It's also quite prone to crashing. But that's for a different bug report.

The jar? Or the deb?

billsargent avatar Jan 08 '24 17:01 billsargent

The jar. I'm not adept in Java and I don't know how to restart it after failure.

Stooovie avatar Jan 08 '24 18:01 Stooovie

The jar version is quite stable and has been for some time now. Constant crashing would most likely be a config issue on your end. Most likely due to messing with the memory settings or not having enough RAM.

DieselTech avatar Jan 08 '24 18:01 DieselTech

#!/bin/bash

JAVA_PATH="/path/to/your/java"
JAR_PATH="/path/to/your/komga-1.8.3.jar"
JAVA_OPTIONS="-Xmx2g"
KOMGA_OPTIONS="--komga.remember-me.key=asdfgh --logging.file.name=komga.log"


restart_komga() {
    echo "Restarting Komga..."
    $JAVA_PATH $JAVA_OPTIONS -jar $JAR_PATH $KOMGA_OPTIONS &
}

restart_komga


while true; do
    sleep 5
    if ! pgrep -f "java.*$JAR_PATH" >/dev/null; then
        echo "Komga has crashed. Restarting..."
        restart_komga
    fi
done

Something like this as a bash script should keep it restarting but honestly, you should figure out why its crashing. Keeping a full log like above will help in diagnosing why it's crashing. This is how I run it on my NAS which has very little RAM.

I run mine in a SCREEN session.

billsargent avatar Jan 08 '24 21:01 billsargent

Closing as it seems related to the install method used, not the code.

gotson avatar Feb 07 '24 09:02 gotson