Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Komga on Linux Mint will not start since last update (1.15.1) #1799

Open
5 tasks done
most-likely-2b opened this issue Dec 20, 2024 · 8 comments
Open
5 tasks done

Komga on Linux Mint will not start since last update (1.15.1) #1799

most-likely-2b opened this issue Dec 20, 2024 · 8 comments

Comments

@most-likely-2b
Copy link

most-likely-2b commented Dec 20, 2024

Steps to reproduce

1.) Re-install Komga Linux version 1.15.1 from komga website on Linux Mint 22.
2.) Run application.
3.) Try to access existing server via IP address and port number.

Expected behavior

The application should start in the system tray and the server should be accessible in the web browser.

Actual behavior

Application will not start, and trying to access server in web browser results in an "Unable" to connect page (Firefox).

Logs

2024-12-20T17:29:03.204Z  INFO 15507 --- [main] org.gotson.komga.DesktopApplicationKt    : Starting DesktopApplicationKt using Java 22.0.2 with PID 15507 (/usr/lib/gotson/komga/lib/app/komga-tray-1.15.1.jar started by kyle in /home/kyle)
2024-12-20T17:29:03.206Z  INFO 15507 --- [main] org.gotson.komga.DesktopApplicationKt    : No active profile set, falling back to 1 default profile: "default"
2024-12-20T17:29:03.956Z  WARN 15507 --- [main] c.github.gotson.nightcompress.Archive    : Could not load libarchive. no archive in java.library.path: /usr/lib/gotson/komga/lib/app/../runtime/lib/:/usr/lib/gotson/komga/lib/app
2024-12-20T17:29:03.959Z  WARN 15507 --- [main] o.s.c.a.ConfigurationClassPostProcessor  : Cannot enhance @Configuration bean definition 'rar5Configuration' since its singleton instance has been created too early. The typical cause is a non-static @Bean method with a BeanDefinitionRegistryPostProcessor return type: Consider declaring such methods as 'static' and/or marking the containing configuration class as 'proxyBeanMethods=false'.

komga.log

Komga version

1.15.1

Operating system

Linux Mint 22

Installation method

from download.komga.org

Other details

I cannot make sense of the log; please find full log attached.

Acknowledgements

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

Merkulese commented Dec 29, 2024

Steps to reproduce

1.) Re-install Komga Linux version 1.15.1 from komga website on Linux Mint 22. 2.) Run application. 3.) Try to access existing server via IP address and port number.

Expected behavior

The application should start in the system tray and the server should be accessible in the web browser.

Actual behavior

Application will not start, and trying to access server in web browser results in an "Unable" to connect page (Firefox).

Logs

2024-12-20T17:29:03.204Z INFO 15507 --- [main] org.gotson.komga.DesktopApplicationKt : Starting DesktopApplicationKt using Java 22.0.2 with PID 15507 (/usr/lib/gotson/komga/lib/app/komga-tray-1.15.1.jar started by kyle in /home/kyle) 2024-12-20T17:29:03.206Z INFO 15507 --- [main] org.gotson.komga.DesktopApplicationKt : No active profile set, falling back to 1 default profile: "default" 2024-12-20T17:29:03.956Z WARN 15507 --- [main] c.github.gotson.nightcompress.Archive : Could not load libarchive. no archive in java.library.path: /usr/lib/gotson/komga/lib/app/../runtime/lib/:/usr/lib/gotson/komga/lib/app 2024-12-20T17:29:03.959Z WARN 15507 --- [main] o.s.c.a.ConfigurationClassPostProcessor : Cannot enhance @configuration bean definition 'rar5Configuration' since its singleton instance has been created too early. The typical cause is a non-static @bean method with a BeanDefinitionRegistryPostProcessor return type: Consider declaring such methods as 'static' and/or marking the containing configuration class as 'proxyBeanMethods=false'. komga.log

Komga version

1.15.1

Operating system

Linux Mint 22

Installation method

from download.komga.org

Other details

I cannot make sense of the log; please find full log attached.

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](https://komga.org/docs/faq).

* [x]  I have updated the app to the latest version.

* [x]  I will fill out all of the requested information in this form.

I have the same issue on my server running Mint. I made a copy of the database.sqlite file so I didn't have to rescan and set up everything again (found in /home/USER/.komga), uninstalled and then reinstalled version 1.14.1 using the below command the command line. I took them from the official download page and just changed the version numbers so it pointed to a previous one.

CPU=$(dpkg --print-architecture)
wget https://download.komga.org/debian/gotson-komga_1.14.1_${CPU}.deb
sudo apt install ./gotson-komga_1.14.1_${CPU}.deb

It's not a fix but at least you'll be able to keep using it until Gotson is able to get around to making any changes, but I would assume they're taking a well deserved break for Christmas and new year

@gotson
Copy link
Owner

gotson commented Jan 2, 2025

the logs show that the app is started and running, nothing unusual

@most-likely-2b
Copy link
Author

What do you recommend my next steps should be? The application is still not starting and I still can't access my server in the browser.

@most-likely-2b
Copy link
Author

As posted above by Merkulese, rolling back to version 1.14.1 has fixed the behaviour, so I can confirm that something in versions 1.15.0 and beyond is causing this issue.

@aqiarch27
Copy link

I am also having the issue. Linux Mint 21.3
Rolling back to 1.14.1 worked for a while but then komga updated automatically and stopped working again. Application does not start in system tray and is not accessible through browser.

@gotson
Copy link
Owner

gotson commented Jan 3, 2025

What do you recommend my next steps should be? The application is still not starting and I still can't access my server in the browser.

the application does start, the logs say so.

but then komga updated automatically

Komga does not auto update on Linux, you probably updated using apt

@Merkulese
Copy link

I've got some info that might help point us in the right direction: As Gotson and the logs show, the app does start but in my observations using system monitor (task manager) I can see when it loads up, uses resources and then after a minute or two reduces all resource usage to nothing and then closes. Unfortunately I've not been able to find out exactly why it happens but it does so every time the app is started. For updating, the latest version of komga appears in the update manager and the issue only started on my server after updating to 1.15.1. I tried rolling back to 1.15.0 but that also had the same issue of the app opening and then auto-closing after a short time.

I've just seen the 1.16.0 update and haven't tested it yet but will check at some point in the next day or so and feedback the results here

@Merkulese
Copy link

Issue remains on 1.16.0. app runs for a moment and then auto-closes so I've rolled back to 1.14.1 again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants