Page 1 of 1

New install of FAH client on Ubuntu -- idle ??

Posted: Mon Jun 30, 2025 9:08 pm
by CinciRyan
Hello! I'm a newb at installing FAH outside of Home Assistant, but decided to stand up another machine in a Proxmox LXC.
I finally got it running, with the help of a script that I found that fixes the dependencies.
The client starts, but it's not doing anything .. just sitting there.
I've looked at my DNS servers, and it hasn't even tried to talk.
I've stopped and started the client a number of times, but nothing.
I've had tail -f running against the log, but this is as far as it ever gets.
OS is Ubuntu 25.04
root@folding-at-home:/etc/fah-client# cat /var/log/fah-client/log.txt
*********************** Log Started 2025-06-30T20:43:50Z ***********************
20:43:50:I1:*********************** Folding@home Client ***********************
20:43:50:I1: Version: 8.4.9
20:43:50:I1: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
20:43:50:I1: Org: foldingathome.org
20:43:50:I1: Copyright: 2023-2024, foldingathome.org
20:43:50:I1: Homepage: https://foldingathome.org/
20:43:50:I1: License: GPL-3.0-or-later
20:43:50:I1: URL: https://v8-4.foldingathome.org/
20:43:50:I1: Date: Nov 20 2024
20:43:50:I1: Time: 14:47:19
20:43:50:I1: Revision: 360fe71b1bd05bb89814bfb97b73a5bda84802d6
20:43:50:I1: Branch: master
20:43:50:I1: Compiler: GNU 8.3.0
20:43:50:I1: Options: -Wsuggest-override -faligned-new -std=c++17 -fsigned-char
20:43:50:I1: -ffunction-sections -fdata-sections -O3 -funroll-loops -fno-pie
20:43:50:I1: Platform: linux 4.19.0-27-cloud-amd64
20:43:50:I1: Bits: 64
20:43:50:I1: Mode: Release
20:43:50:I1: Args: --config=/etc/fah-client/config.xml
20:43:50:I1: --log=/var/log/fah-client/log.txt
20:43:50:I1: --log-rotate-dir=/var/log/fah-client/
20:43:50:I1: Config: /etc/fah-client/config.xml
20:43:50:I1:****************************** CBang ******************************
20:43:50:I1: Version: 1.7.2
20:43:50:I1: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
20:43:50:I1: Org: Cauldron Development
20:43:50:I1: Copyright: Cauldron Development, 2003-2024
20:43:50:I1: Homepage: https://cauldrondevelopment.com/
20:43:50:I1: License: LGPL-2.1-or-later
20:43:50:I1: Date: Nov 19 2024
20:43:50:I1: Time: 21:54:38
20:43:50:I1: Revision: 443c54e909eb8d8994405a18fb328b5b05a623a5
20:43:50:I1: Branch: master
20:43:50:I1: Compiler: GNU 8.3.0
20:43:50:I1: Options: -Wsuggest-override -faligned-new -std=c++17 -fsigned-char
20:43:50:I1: -ffunction-sections -fdata-sections -O3 -funroll-loops -fno-pie
20:43:50:I1: -fPIC
20:43:50:I1: Platform: linux 4.19.0-27-cloud-amd64
20:43:50:I1: Bits: 64
20:43:50:I1: Mode: Release
20:43:50:I1:***************************** System ******************************
20:43:50:I1: CPU: Intel(R) Core(TM) i5-8500 CPU @ 3.00GHz
20:43:50:I1: CPU ID: GenuineIntel Family 6 Model 158 Stepping 10
20:43:50:I1: CPUs: 2
20:43:50:I1: Memory: 86.21GiB
20:43:50:I1:Free Memory: 80.18GiB
20:43:50:I1: OS Version: 6.8
20:43:50:I1:Has Battery: false
20:43:50:I1: On Battery: false
20:43:50:I1: Hostname: folding-at-home
20:43:50:I1: UTC Offset: 0
20:43:50:I1: PID: 9060
20:43:50:I1: CWD: /var/lib/fah-client
20:43:50:I1: Exec: /usr/bin/fah-client
20:43:50:I1:*******************************************************************
20:43:50:I2:<config>
20:43:50:I2: <!-- HTTP Server -->
20:43:50:I2: <http-addresses v='192.168.168.35:7396'/>
20:43:50:I2:
20:43:50:I2: <!-- Resource Settings -->
20:43:50:I2: <cpus v='0'/>
20:43:50:I2:
20:43:50:I2: <!-- Server -->
20:43:50:I2: <allow v='0.0.0.0/0'/>
20:43:50:I2:
20:43:50:I2: <!-- User Information -->
20:43:50:I2: <team v='247478'/>
20:43:50:I2: <user v='CinciRyan'/>
20:43:50:I2:</config>
20:43:50:I1:Opening Database
20:43:50:I1:F@H ID = *** REMOVED FOR PRIVACY ***
20:43:50:I3:Loading default resource group
20:43:50:I1:Listening for HTTP on 192.168.168.35:7396
20:43:50:I3:Loaded 0 wus.
20:43:50:I3:gpus = {
20:43:50:I3: "gpu:00:02:00": {"vendor": 32902, "device": 16018, "type": "intel", "supported": false, "description": "CFL GT2 [UHD Graphics 630]"}
20:43:50:I3:}
I'm expecting it's something wrong in my config file, but the service starts and runs, so I don't know what I have wrong. I have taken pieces parts from different posts that I've seen, so perhaps something is formatted wrong.
<config>

<checkpoint v='10'/>
<cpu-usage v='100'/>

<!-- Client Control
Don't fold anonymously, provide user info. -->
<fold-anon v='false'/>

<!-- Folding Slot Configuration -->
<gpu v='true'/> <!-- If true, attempt to autoconfigure GPUs -->

<!-- Slot Control
Options: light, medium or full
Watch out for high load -->
<power v='full'/>
<client-type v='advanced'/>
<cpus v='0'/>
<extra-core-args v=' -service '/>

<!-- User Information -->
<user v='CinciRyan'/>
<!-- COMMENTED OUT THE PASSKEY -->
<!-- <passkey v=' *** REMOVED FOR PRIVACY ***'/> -->
<team v='247478'/>

<!-- Folding Slots -->
<!-- Use all the CPUs
Watch out for high load -->
<!-- COMMENTED THESE OUT
<slot id='0' type='CPU'/>
<slot id='1' type='GPU'/>
-->

<!-- Grant Remote Web Access
access web UI at 192.168.1.63:7396 -->
<allow>0.0.0.0/0</allow>
<web-allow>0.0.0.0/0</web-allow>
<http-addresses v='192.168.168.35:7396'/>

</config>

Thanks for taking a look and helping out.

Regards,
Ryan

Re: New install of FAH client on Ubuntu -- idle ??

Posted: Mon Jun 30, 2025 11:25 pm
by calxalot
v8 does not start folding automatically on first run.

Assuming this is a headless install, you should make a web control account and add account-token to config.xml

Re: New install of FAH client on Ubuntu -- idle ??

Posted: Mon Jun 30, 2025 11:26 pm
by calxalot

Re: New install of FAH client on Ubuntu -- idle ??

Posted: Mon Jun 30, 2025 11:33 pm
by calxalot
Note that accounts are optional.

You can also use
fahctl fold

Re: New install of FAH client on Ubuntu -- idle ??

Posted: Tue Jul 01, 2025 4:57 am
by muziqaz
FAHclient does not see any GPUs in the system and CPUs are set to 0 by config.xml

Re: New install of FAH client on Ubuntu -- idle ??

Posted: Tue Jul 01, 2025 5:22 am
by calxalot
Your http-addresses needs to include 127.0.0.1:7396 for the client to be accessible to localhost.

Re: New install of FAH client on Ubuntu -- idle ??

Posted: Tue Jul 01, 2025 5:43 am
by calxalot
Any options exposed in web control, such as cpus, is stored in client.db after first-run.

You really only need account-token in config.xml for a headless client.

Re: New install of FAH client on Ubuntu -- idle ??

Posted: Tue Jul 01, 2025 5:45 am
by calxalot
You are currently not likely to get any work assigned with only 2 cpu cores.

Re: New install of FAH client on Ubuntu -- idle ??

Posted: Tue Jul 01, 2025 5:47 am
by calxalot
Last I saw, the Home Assistant foldinghathome module only works with v7.

Re: New install of FAH client on Ubuntu -- idle ??

Posted: Tue Jul 01, 2025 12:16 pm
by muziqaz
calxalot wrote: Tue Jul 01, 2025 5:45 am You are currently not likely to get any work assigned with only 2 cpu cores.
config.xml shows it has been configured for zero CPUs

Re: New install of FAH client on Ubuntu -- idle ??

Posted: Tue Jul 01, 2025 7:45 pm
by calxalot
Out of a max 2, which might be due to the container