config.xml configuration

Moderators: Site Moderators, FAHC Science Team

Post Reply
Andrew
Posts: 13
Joined: Thu Nov 19, 2020 3:42 am

config.xml configuration

Post by Andrew »

Hello,

I have seen many posts asking how to configure certain parameters in the config.xml file. Is there a fully detailed document on this yet? I have built the rpm and installed the package on Alma Linux, however the service fails to start after attempting to add a passkey, user, and team.

This is for the new version fah-client-8.5.3-1.x86_64.

Thanks so much for any response.
calxalot
Site Moderator
Posts: 1668
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: config.xml configuration

Post by calxalot »

You don’t need config.xml at all for most things.

For a headless install you really only need account-token
calxalot
Site Moderator
Posts: 1668
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: config.xml configuration

Post by calxalot »

A syntax error in config.xml can crash the client. Post what you are trying. Redact anything sensitive like passkey.
calxalot
Site Moderator
Posts: 1668
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: config.xml configuration

Post by calxalot »

Look for errors in log.txt
Andrew
Posts: 13
Joined: Thu Nov 19, 2020 3:42 am

Re: config.xml configuration

Post by Andrew »

calxalot wrote: Tue Oct 14, 2025 4:55 am You don’t need config.xml at all for most things.

For a headless install you really only need account-token
Is there documentation on how to specify account-token? What about specifying items like core usage, etc?
Andrew
Posts: 13
Joined: Thu Nov 19, 2020 3:42 am

Re: config.xml configuration

Post by Andrew »

calxalot wrote: Tue Oct 14, 2025 4:57 am A syntax error in config.xml can crash the client. Post what you are trying. Redact anything sensitive like passkey.
This is the syntax I tried:

Code: Select all

<config>
        <passkey v='[passkey]'/>
        <team v='[team]'/>
        <user v='[user]'/>
<config/>
calxalot
Site Moderator
Posts: 1668
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: config.xml configuration

Post by calxalot »

That looks correct.
Try launching client directly to see errors that occur before the log is opened.

Code: Select all

fah-client --help
calxalot
Site Moderator
Posts: 1668
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: config.xml configuration

Post by calxalot »

Oops should end </config>
calxalot
Site Moderator
Posts: 1668
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: config.xml configuration

Post by calxalot »

Headless installation

https://github.com/FoldingAtHome/fah-cl ... ssions/214

See also the guide on the download page.
calxalot
Site Moderator
Posts: 1668
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: config.xml configuration

Post by calxalot »

The help output is deceptive about the xml format
Andrew
Posts: 13
Joined: Thu Nov 19, 2020 3:42 am

Re: config.xml configuration

Post by Andrew »

calxalot wrote: Tue Oct 14, 2025 5:07 am Oops should end </config>
Thanks! This was the fix to get the service started successfully. The logging isn't generating anything so I may need to specify my account-token in the config.xml. I'm reading the git url on how to obtain it.
Andrew
Posts: 13
Joined: Thu Nov 19, 2020 3:42 am

Re: config.xml configuration

Post by Andrew »

calxalot wrote: Tue Oct 14, 2025 5:08 am Headless installation

https://github.com/FoldingAtHome/fah-cl ... ssions/214

See also the guide on the download page.
Thank you, this was very helpful. I tied my existing passkey to my account and started the folding. It appears to be working. There also appears to be a way to dynamically adjust the core usage on the website - very cool.
Post Reply