Headless Ubuntu Client won't continue without restarting service

Moderators: Site Moderators, FAHC Science Team

Post Reply
Knutowskie
Posts: 3
Joined: Mon Mar 31, 2025 7:00 pm

Headless Ubuntu Client won't continue without restarting service

Post by Knutowskie »

So i set up a headless Ubuntu client. It folds on 3 of 4 CPUs so far. After finishing a WU it sometimes "gets stuck" and does: nothing.

When i notice, i logon to the machine and restart the fah-client service. Then it continues as normal.

How can one avoid that?

I mean, i could write a script, that is checking the WU folder and if empty for several minutes, restart the service. But i guess this behaviour is something like a bug.

Logs are clean in the webinterface. Are there any logs on the machine that would help?
arisu
Posts: 160
Joined: Mon Feb 24, 2025 11:11 pm

Re: Headless Ubuntu Client won't continue without restarting service

Post by arisu »

Run the command "fahctl state" when it is stuck and post the output here (if you set a passkey, remember to censor it).
Knutowskie
Posts: 3
Joined: Mon Mar 31, 2025 7:00 pm

Re: Headless Ubuntu Client won't continue without restarting service

Post by Knutowskie »

arisu wrote: Tue Apr 01, 2025 12:08 am Run the command "fahctl state" when it is stuck and post the output here (if you set a passkey, remember to censor it).
Missing python3-websocket library

Nice. So the installer didn't install all needed libs
arisu
Posts: 160
Joined: Mon Feb 24, 2025 11:11 pm

Re: Headless Ubuntu Client won't continue without restarting service

Post by arisu »

Seems like it's a missing dependency. I have a small list of bugs that I'm going to report once I make a GitHub account, I'll add that to it. :D

Just install that package and fahctl should work.
Knutowskie
Posts: 3
Joined: Mon Mar 31, 2025 7:00 pm

Re: Headless Ubuntu Client won't continue without restarting service

Post by Knutowskie »

well it doesn't. now its stuck on DOWNLOAD.

Code: Select all

{
  "info": {
    "version": "8.4.9",
    "url": "https://v8-4.foldingathome.org/",
    "os": "linux",
    "os_version": "6.8",
    "cpu": "arm64",
    "cpu_brand": "Neoverse N",
    "cpus": 4,
    "gpus": {},
    "mach_name": "KNUT-02",
    "hostname": "KNUT-02",
    "mode": "Release",
    "revision": "360fe71b1bd05bb89814bfb97b73a5bda84802d6",
    "has_battery": false,
    "on_battery": false,
    "id": "75Z2m1_9wFIgwlWFPXxaRAp6efQrBwAGUEah5k-vQ0U",
    "account": "blablablablabla"
  },
  "config": {"user": "Knutowskie", "team": 70335, "passkey": "1234abc1234abc1234abc", "cause": "unspecified"},
  "groups": {
    "": {
      "config": {
        "on_idle": false,
        "on_battery": true,
        "keep_awake": true,
        "paused": false,
        "finish": false,
        "beta": false,
        "cuda": true,
        "key": 0,
        "cpus": 3,
        "gpus": {}
      },
      "wait": "2025-04-03T07:01:34Z",
      "failed_wus": 0,
      "lost_wus": 0,
      "failed": ""
    }
  },
  "units": [
    {
      "group": "",
      "number": 17,
      "cpus": 3,
      "gpus": [],
      "state": "DOWNLOAD",
      "paused": false,
      "id": "e2442sHmBtoNylq9WXqukAI9tWTRaaPB999FkWpVEvk"
    }
  ]
}
Post Reply