system-bridge icon indicating copy to clipboard operation
system-bridge copied to clipboard

Can't run after update to v4.x.x

Open Gandalf-the-Blue opened this issue 1 year ago • 5 comments

Description

Hi, Recently updated HA to 2024.4 and then uninstalled previous Systembridge version 3.7.x and then installed v4.1.7 for Fedora 39 via RPM installed from Github releases. Attached is the log and the systemctl file -

[Unit]
Description=System Bridge
After=network.target

[Service]
ExecStart=/usr/bin/system-bridge --no-gui
Restart=on-abort
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target

The target executable also changed from systembridge to system-bridge. Don't know if this is relevant.

What Platform / OS are you running?

Linux

What version are you running?

4.1.7

Anything in the logs or a references that might be useful?

[2024-04-07T18:50:04.238871391Z INFO main systembridge] ------------------------------------------------------------------------->
[2024-04-07T18:50:04.238893358Z INFO main systembridge] System Bridge 4.1.7
[2024-04-07T18:50:04.238895829Z INFO main systembridge] ------------------------------------------------------------------------->
[2024-04-07T18:50:04.238897675Z INFO main systembridge] Log is available at /root/.local/share/timmo001/systembridge/systembridge>
[2024-04-07T18:50:04.238900354Z INFO main systembridge] Setting up backend server..
[2024-04-07T18:50:04.238915153Z INFO main systembridge] GUI is disabled
[2024-04-07T18:50:04.239685833Z DEBUG 27 systembridge::shared] Data path: /root/.local/share/timmo001
[2024-04-07T18:50:04.239736337Z INFO 27 systembridge::backend] Checking backend server: http://127.0.0.1:9170/
[2024-04-07T18:50:04.246404458Z DEBUG 27 reqwest::connect] starting new connection: http://127.0.0.1:9170/
[2024-04-07T18:50:04.246420207Z DEBUG 27 hyper_util::client::legacy::connect::http] connecting to 127.0.0.1:9170
[2024-04-07T18:50:04.246571154Z DEBUG 27 hyper_util::client::legacy::connect::http] connected to 127.0.0.1:9170
[2024-04-07T18:50:04.249954846Z DEBUG tokio-runtime-worker hyper_util::client::legacy::pool] pooling idle connection for ("http",>
[2024-04-07T18:50:04.250176567Z INFO 27 systembridge::backend] Backend server is already running
[2024-04-07T18:50:04.251220134Z INFO 27 systembridge] Waiting for 60 seconds before checking the backend server again
[2024-04-07T18:51:04.251413945Z DEBUG 27 systembridge] Checking backend server..
[2024-04-07T18:51:04.251666709Z DEBUG 27 systembridge::shared] Data path: /root/.local/share/timmo001
[2024-04-07T18:51:04.251714115Z INFO 27 systembridge::backend] Checking backend server: http://127.0.0.1:9170/
[2024-04-07T18:51:04.256984670Z DEBUG 27 reqwest::connect] starting new connection: http://127.0.0.1:9170/
[2024-04-07T18:51:04.256996540Z DEBUG 27 hyper_util::client::legacy::connect::http] connecting to 127.0.0.1:9170
[2024-04-07T18:51:04.257115496Z DEBUG 27 hyper_util::client::legacy::connect::http] connected to 127.0.0.1:9170
[2024-04-07T18:51:04.258027673Z DEBUG tokio-runtime-worker hyper_util::client::legacy::pool] pooling idle connection for ("http",>
[2024-04-07T18:51:04.258219653Z INFO 27 systembridge::backend] Backend server is already running
[2024-04-07T18:51:04.258228215Z INFO 27 systembridge] Waiting for 60 seconds before checking the backend server again

Additional information

No response

Gandalf-the-Blue avatar Apr 07 '24 18:04 Gandalf-the-Blue

Can you also provide your backend log? It should be in the same place as the main one.

/root/.local/share/timmo001/systembridge

timmo001 avatar Apr 07 '24 21:04 timmo001

Hi, attaching here system-bridge-backend.log

Gandalf-the-Blue avatar Apr 08 '24 08:04 Gandalf-the-Blue

looks same as https://github.com/timmo001/system-bridge/issues/2994 I'm stuck with same problem.

j5bart avatar Apr 08 '24 17:04 j5bart

looks same as https://github.com/timmo001/system-bridge/issues/2994 I'm stuck with same problem.

It's not the same problem. It seems to break at getting the latest version of systembridge from GitHub

eikw avatar Apr 08 '24 19:04 eikw

These were both resolved in the latest changes, but the release is currently blocked due to incompatibility #3008

timmo001 avatar Apr 08 '24 19:04 timmo001

Should now be fixed in https://github.com/timmo001/system-bridge/releases/tag/4.1.8

Builds are running and binaries will be added soon

timmo001 avatar Apr 10 '24 01:04 timmo001

Hey, no luck with getting 4.1.8 working either. Logs attached

[2024-04-10T07:33:38.938321855Z INFO main systembridge] System Bridge (4.1.8)
[2024-04-10T07:33:38.938324557Z INFO main systembridge] --------------------------------------------------------------------------->
[2024-04-10T07:33:38.938326429Z INFO main systembridge] Log is available at /root/.local/share/timmo001/systembridge/systembridge.l>
[2024-04-10T07:33:38.938334216Z DEBUG main systembridge::shared] Data path: /root/.local/share/timmo001
[2024-04-10T07:33:38.938367420Z INFO main systembridge] Setting up backend server..
[2024-04-10T07:33:38.938381803Z INFO main systembridge] GUI is disabled
[2024-04-10T07:33:38.939338453Z DEBUG 27 systembridge::shared] Data path: /root/.local/share/timmo001
[2024-04-10T07:33:38.939383731Z INFO 27 systembridge::backend] Checking backend server: http://127.0.0.1:9170/
[2024-04-10T07:33:38.948874492Z DEBUG 27 reqwest::connect] starting new connection: http://127.0.0.1:9170/
[2024-04-10T07:33:38.948891580Z DEBUG 27 hyper_util::client::legacy::connect::http] connecting to 127.0.0.1:9170
[2024-04-10T07:33:38.949281022Z INFO 27 systembridge::backend] Stopping any lingering backend processes..
[2024-04-10T07:33:38.955143162Z WARN 27 systembridge::backend] Backend server is not running. Starting it..
[2024-04-10T07:33:38.955241680Z INFO 27 systembridge::backend] Backend server started. Waiting for it to be ready..
[2024-04-10T07:33:38.955279135Z INFO 76 systembridge::resources] Starting application: /usr/lib/system-bridge/_up_/dist/systembridg>
[2024-04-10T07:33:38.956319559Z INFO 27 systembridge] Waiting for 60 seconds before checking the backend server again
[2024-04-10T07:34:38.956452906Z DEBUG 27 systembridge] Checking backend server..
[2024-04-10T07:34:38.956501901Z DEBUG 27 systembridge::shared] Data path: /root/.local/share/timmo001
[2024-04-10T07:34:38.956547924Z INFO 27 systembridge::backend] Checking backend server: http://127.0.0.1:9170/
[2024-04-10T07:34:38.961799018Z DEBUG 27 reqwest::connect] starting new connection: http://127.0.0.1:9170/
[2024-04-10T07:34:38.961813566Z DEBUG 27 hyper_util::client::legacy::connect::http] connecting to 127.0.0.1:9170
[2024-04-10T07:34:38.962088137Z DEBUG 27 hyper_util::client::legacy::connect::http] connected to 127.0.0.1:9170
[2024-04-10T07:34:38.965802889Z DEBUG 27 hyper_util::client::legacy::pool] pooling idle connection for ("http", 127.0.0.1:9170)
[2024-04-10T07:34:38.966175870Z INFO 27 systembridge::backend] Backend server is already running
[2024-04-10T07:34:38.966199163Z INFO 27 systembridge] Waiting for 60 seconds before checking the backend server again
[2024-04-10T07:35:38.956388399Z DEBUG 27 systembridge] Checking backend server..
[2024-04-10T07:35:38.956657701Z DEBUG 27 systembridge::shared] Data path: /root/.local/share/timmo001
[2024-04-10T07:35:38.956727766Z INFO 27 systembridge::backend] Checking backend server: http://127.0.0.1:9170/
[2024-04-10T07:35:38.961925538Z DEBUG 27 reqwest::connect] starting new connection: http://127.0.0.1:9170/
[2024-04-10T07:35:38.961940287Z DEBUG 27 hyper_util::client::legacy::connect::http] connecting to 127.0.0.1:9170
[2024-04-10T07:35:38.962149923Z DEBUG 27 hyper_util::client::legacy::connect::http] connected to 127.0.0.1:9170
[2024-04-10T07:35:38.963431462Z DEBUG tokio-runtime-worker hyper_util::client::legacy::pool] pooling idle connection for ("http", 1>
[2024-04-10T07:35:38.963702250Z INFO 27 systembridge::backend] Backend server is already running
[2024-04-10T07:35:38.963711439Z INFO 27 systembridge] Waiting for 60 seconds before checking the backend server again

systembridgebackend.log

Gandalf-the-Blue avatar Apr 10 '24 07:04 Gandalf-the-Blue

I can't see any unhandled errors In your logs.

I have a Debian server running the same, but under my user instead of root. Make sure the key you use is from /root/.local/share/timmo001/systembridge/ in your case

timmo001 avatar Apr 10 '24 12:04 timmo001