Closed Erreur32 closed 3 weeks ago
Hey @Erreur32 thanks for reporting this. I had adjusted the dependencies based off the list the Fyne library (which powers the UI) has listed, but the dependencies for Debian/Ubuntu specify the xorg
package, which probably pulls in too much. I've re-adjusted the dependencies to be explicit to which libraries are actually compiled in to the binary, so it should be back to the previous functionality. This is in v10.2.1. Can you try that version out and let me know if it results in less other dependencies being pulled in?
Thanks to have a look on it.
Yes now i can install without Xorg ;) , and it'is working for installation !
I sow one sensor is missing since 10.1.0 , and also with 10.2.1 : Missing sensor --> sensor.host_cpu_usage
And I have some errors (PANIC=Error method:) in the syslog, the same error with version 10.1.0. When I see 'Panic,' I panic too ^^. Can you fix the PANIC issue ?
For the Warning errors, I can live with them ;)
2024-09-16T13:36:01.203409+02:00 Bmax systemd[1]: Starting go-hass-agent.service - Go Hass Agent...
2024-09-16T13:36:01.214306+02:00 Bmax go-hass-agent[3083293]: Go Hass Agent: v10.2.1
2024-09-16T13:36:01.215815+02:00 Bmax systemd[1]: Started go-hass-agent.service - Go Hass Agent.
2024-09-16T13:36:01.227521+02:00 Bmax go-hass-agent[3083299]: Sep 16 13:36:01.227 WRN Unable to add desktop portal to context. error="no portal present"
2024-09-16T13:36:01.228920+02:00 Bmax go-hass-agent[3083299]: Sep 16 13:36:01.228 WRN Could not start a sensor worker. linux.controller=sensor error="no desktop portal in context"
2024-09-16T13:36:01.228953+02:00 Bmax go-hass-agent[3083299]: Sep 16 13:36:01.228 WRN Could not start a sensor worker. linux.controller=sensor error="no desktop portal in context"
2024-09-16T13:36:01.229037+02:00 Bmax go-hass-agent[3083299]: Sep 16 13:36:01.229 WRN Could not start a sensor worker. linux.controller=sensor error="unable to monitor location updates: unsupported hardware"
2024-09-16T13:36:01.229169+02:00 Bmax go-hass-agent[3083299]: Sep 16 13:36:01.229 WRN Could not start a sensor worker. linux.controller=sensor error="unable to monitor laptop sensors: unsupported hardware"
2024-09-16T13:36:01.231040+02:00 Bmax go-hass-agent[3083299]: Sep 16 13:36:01.230 WRN Could not start a sensor worker. linux.controller=sensor error="unable to fetch ABRT problems from D-Bus: SystemBus: unable to get data org.freedesktop.problems.GetProblems from org.freedesktop.problems: The name org.freedesktop.problems was not provided by any .service files"
2024-09-16T13:36:01.234137+02:00 Bmax go-hass-agent[3083299]: Sep 16 13:36:01.233 WRN Could not retrieve any battery details from D-Bus. linux.controller=sensor worker=battery_sensors error="SystemBus: unable to get data org.freedesktop.UPower.EnumerateDevices from org.freedesktop.UPower: The name org.freedesktop.UPower was not provided by any .service files"
2024-09-16T13:36:01.236779+02:00 Bmax go-hass-agent[3083299]: Sep 16 13:36:01.236 WRN Sensor not found in registry. sensor_id=mountpoint_run_credentials_systemd-tmpfiles-setup-dev.service
2024-09-16T13:36:01.236820+02:00 Bmax go-hass-agent[3083299]: Sep 16 13:36:01.236 WRN Sensor not found in registry. sensor_id=mountpoint_run_credentials_systemd-tmpfiles-setup-dev.service
2024-09-16T13:36:01.237061+02:00 Bmax go-hass-agent[3083299]: Sep 16 13:36:01.237 WRN Sensor not found in registry. sensor_id=mountpoint_run_credentials_systemd-sysusers.service
2024-09-16T13:36:01.237077+02:00 Bmax go-hass-agent[3083299]: Sep 16 13:36:01.237 WRN Sensor not found in registry. sensor_id=mountpoint_run_credentials_systemd-sysusers.service
2024-09-16T13:36:01.237200+02:00 Bmax go-hass-agent[3083299]: Sep 16 13:36:01.237 WRN Sensor not found in registry. sensor_id=mountpoint_run_credentials_systemd-sysctl.service
2024-09-16T13:36:01.237232+02:00 Bmax go-hass-agent[3083299]: Sep 16 13:36:01.237 WRN Sensor not found in registry. sensor_id=mountpoint_run_credentials_systemd-sysctl.service
2024-09-16T13:36:01.238102+02:00 Bmax go-hass-agent[3083299]: Sep 16 13:36:01.238 WRN Sensor not found in registry. sensor_id=mountpoint_run_credentials_systemd-tmpfiles-setup.service
2024-09-16T13:36:01.238164+02:00 Bmax go-hass-agent[3083299]: Sep 16 13:36:01.238 WRN Sensor not found in registry. sensor_id=mountpoint_run_credentials_systemd-tmpfiles-setup.service
2024-09-16T13:36:01.378640+02:00 Bmax go-hass-agent[3083299]: Sep 16 13:36:01.378 ERR Process sensor failed. error="%!v(PANIC=Error method: runtime error: invalid memory address or nil pointer dereference)"
2024-09-16T13:36:01.384567+02:00 Bmax go-hass-agent[3083299]: Sep 16 13:36:01.384 ERR Process sensor failed. error="%!v(PANIC=Error method: runtime error: invalid memory address or nil pointer dereference)"
2024-09-16T13:36:01.386005+02:00 Bmax go-hass-agent[3083299]: Sep 16 13:36:01.385 ERR Process sensor failed. error="%!v(PANIC=Error method: runtime error: invalid memory address or nil pointer dereference)"
2024-09-16T13:36:01.388990+02:00 Bmax go-hass-agent[3083299]: Sep 16 13:36:01.388 ERR Process sensor failed. error="%!v(PANIC=Error method: runtime error: invalid memory address or nil pointer dereference)"
2024-09-16T13:36:53.248786+02:00 Bmax go-hass-agent[3083299]: Sep 16 13:36:53.247 WRN Sensor not found in registry. sensor_id=mountpoint_run_credentials_systemd-sysctl.service
2024-09-16T13:36:53.249468+02:00 Bmax go-hass-agent[3083299]: Sep 16 13:36:53.247 WRN Sensor not found in registry. sensor_id=mountpoint_run_credentials_systemd-sysctl.service
2024-09-16T13:36:53.249524+02:00 Bmax go-hass-agent[3083299]: Sep 16 13:36:53.247 WRN Sensor not found in registry. sensor_id=mountpoint_run_credentials_systemd-sysusers.service
2024-09-16T13:36:53.249615+02:00 Bmax go-hass-agent[3083299]: Sep 16 13:36:53.248 WRN Sensor not found in registry. sensor_id=mountpoint_run_credentials_systemd-sysusers.service
2024-09-16T13:36:53.249689+02:00 Bmax go-hass-agent[3083299]: Sep 16 13:36:53.248 WRN Sensor not found in registry. sensor_id=mountpoint_run_credentials_systemd-tmpfiles-setup-dev.service
2024-09-16T13:36:53.249733+02:00 Bmax go-hass-agent[3083299]: Sep 16 13:36:53.248 WRN Sensor not found in registry. sensor_id=mountpoint_run_credentials_systemd-tmpfiles-setup-dev.service
2024-09-16T13:36:53.249788+02:00 Bmax go-hass-agent[3083299]: Sep 16 13:36:53.248 WRN Sensor not found in registry. sensor_id=mountpoint_run_credentials_systemd-tmpfiles-setup.service
2024-09-16T13:36:53.249840+02:00 Bmax go-hass-agent[3083299]: Sep 16 13:36:53.248 WRN Sensor not found in registry. sensor_id=mountpoint_run_credentials_systemd-tmpfiles-setup.service
2024-09-16T13:36:53.258689+02:00 Bmax go-hass-agent[3083299]: Sep 16 13:36:53.258 ERR Process sensor failed. error="%!v(PANIC=Error method: runtime error: invalid memory address or nil pointer dereference)"
2024-09-16T13:36:53.260322+02:00 Bmax go-hass-agent[3083299]: Sep 16 13:36:53.260 ERR Process sensor failed. error="%!v(PANIC=Error method: runtime error: invalid memory address or nil pointer dereference)"
2024-09-16T13:36:53.260618+02:00 Bmax go-hass-agent[3083299]: Sep 16 13:36:53.260 ERR Process sensor failed. error="%!v(PANIC=Error method: runtime error: invalid memory address or nil pointer dereference)"
2024-09-16T13:36:53.260651+02:00 Bmax go-hass-agent[3083299]: Sep 16 13:36:53.260 ERR Process sensor failed. error="%!v(PANIC=Error method: runtime error: invalid memory address or nil pointer dereference)"
Thanks.
Hey @Erreur32 just following up. Those panics are gross but harmless 😜 I have reworked the disk usage sensors to filter out more mount points which are the cause of them. So hopefully in the next release, you should see none or far less of the panics 🎉
Hey there, I believe the latest version has sorted out the dependency issue. I'll close this issue off but please re-open if there is still a dependency problem with the package!
Go Hass Agent Version go-hass-agent_10.2.0_amd64.deb
Describe the bug When we install with : dpkg -i go-hass-agent_10.2.0_amd64.deb , go-hass-agent depends on xorg , and i don't want Xorg on my server.
Logs
With the old one ( in french ) the installation was successfully :
Information: I don't have any graphical interface on my servers. Possible to bypass this ? With old version no need Xorg to install Go-Hass-Agent. It is required now ? Possible to remove any relation with Xorg ?
Thanks you for your hard work.