gotson / komga

Media server for comics/mangas/BDs/magazines/eBooks with API, OPDS and Kobo Sync support
https://komga.org
MIT License
3.87k stars 233 forks source link

Docker update from 1.x #1413

Closed SylvainDx closed 7 months ago

SylvainDx commented 7 months ago

Steps to reproduce

Hi,

I just update the docker image from 1.X to the latest the container wont start anymore

On a Synology DS918+ DSM 7.2.1-u3

Expected behavior

Container start 'n run

Actual behavior

container crash

Logs

Caused by: java.lang.ClassNotFoundException: org.springframework.boot.loader.JarLauncher Error: Could not find or load main class org.springframework.boot.loader.JarLauncher

Komga version

latest

Operating system

DSM 7.2.1-u3

Installation method

Docker

Other details

No response

Acknowledgements

SylvainDx commented 7 months ago

I'll be damned, I searched twice before creating this issue.... once done I finally found #1404 witch is the exact same thing but this time for 1.10.3

SylvainDx commented 7 months ago

A forced reset of the container ix the boot trooble

gotson commented 7 months ago

Recreate the container from scratch. What you describe looks like some issues when updating with Watchtower.

Metaman99 commented 7 months ago

Same Problem here after update from 1.10.1. @SylvainDx : Can you please advise me, how to do a "force reset"? Will I loose my current komga database content? I run a Synology DS918+ with DSM 7.2.1-u4. Thank you.

Edit: is it sufficient to backup (copy) the database.sqlite file; reset container and then restore the database file?