kalaksi / lightkeeper

LightkeeperRM (Remote Management) is a lightweight and modular drop-in replacement for maintaining servers over SSH.
GNU General Public License v3.0
122 stars 5 forks source link

Not run v0.7.0 #11

Closed oktay454 closed 1 year ago

oktay454 commented 1 year ago

Even though I deleted the ~/.var/app/io.github.kalaksi.Lightkeeper/ directory, it does not work after the update. Debian 12 Gnome (X11)

flatpak run io.github.kalaksi.Lightkeeper 
[2023-11-04T19:18:08Z INFO  lightkeeper] Lightkeeper starting...
[2023-11-04T19:18:08Z INFO  lightkeeper::module::module_factory] Validating modules
[2023-11-04T19:18:08Z INFO  lightkeeper::module::module_factory] Loaded 30 command modules, 23 monitoring modules and 3 connector modules
[2023-11-04T19:18:08Z INFO  lightkeeper::configuration] Created new main configuration file /home/USER_NAME/.var/app/io.github.kalaksi.Lightkeeper/config/config.yml
[2023-11-04T19:18:08Z INFO  lightkeeper::configuration] Created new host configuration file /home/USER_NAME/.var/app/io.github.kalaksi.Lightkeeper/config/hosts.yml
[2023-11-04T19:18:08Z INFO  lightkeeper::configuration] Created new group configuration file /home/USER_NAME/.var/app/io.github.kalaksi.Lightkeeper/config/groups.yml
[2023-11-04T19:18:08Z INFO  lightkeeper::configuration] Reading main configuration from /home/USER_NAME/.var/app/io.github.kalaksi.Lightkeeper/config/config.yml
[2023-11-04T19:18:08Z INFO  lightkeeper::configuration] Reading host configuration from /home/USER_NAME/.var/app/io.github.kalaksi.Lightkeeper/config/hosts.yml
[2023-11-04T19:18:08Z INFO  lightkeeper::configuration] Reading group configuration from /home/USER_NAME/.var/app/io.github.kalaksi.Lightkeeper/config/groups.yml
[2023-11-04T19:18:08Z INFO  lightkeeper::configuration] Updated main configuration file /home/USER_NAME/.var/app/io.github.kalaksi.Lightkeeper/config/config.yml
[2023-11-04T19:18:08Z INFO  lightkeeper] Lightkeeper starting...
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: SendError { .. }', ../src/host_manager.rs:232:24
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[2023-11-04T19:18:08Z INFO  lightkeeper::module::module_factory] Validating modules
[2023-11-04T19:18:08Z ERROR lightkeeper::connection_manager] Stopped receiver thread: receiving on a closed channel
[2023-11-04T19:18:08Z INFO  lightkeeper::module::module_factory] Loaded 30 command modules, 23 monitoring modules and 3 connector modules
[2023-11-04T19:18:08Z INFO  lightkeeper::configuration] Reading main configuration from /home/USER_NAME/.var/app/io.github.kalaksi.Lightkeeper/config/config.yml
[2023-11-04T19:18:08Z INFO  lightkeeper::configuration] Reading host configuration from /home/USER_NAME/.var/app/io.github.kalaksi.Lightkeeper/config/hosts.yml
[2023-11-04T19:18:08Z INFO  lightkeeper::configuration] Reading group configuration from /home/USER_NAME/.var/app/io.github.kalaksi.Lightkeeper/config/groups.yml
[2023-11-04T19:18:08Z WARN  qt.qpa.xcb] could not connect to display 
[2023-11-04T19:18:08Z INFO  qt.qpa.plugin] Could not load the Qt platform plugin "xcb" in "" even though it was found.
[2023-11-04T19:18:08Z ERROR default] This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

    Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
kalaksi commented 1 year ago

Are you sure the previous version still works? 0.7.0 works for me. There seems to be something wrong with Qt.

kalaksi commented 1 year ago

Maybe you should update your system and reboot just in case

kalaksi commented 1 year ago

Maybe this helps: https://stackoverflow.com/questions/68036484/qt6-qt-qpa-plugin-could-not-load-the-qt-platform-plugin-xcb-in-even-thou

oktay454 commented 1 year ago

The latest system update was updated in X11. I did not restart the system after the update. I probably had to restart the X11, but it improved after restarting the system.