Skip to content

truenas_ws deploy hook fails on TrueNAS Scale 25.04 #6337

@kapsh

Description

@kapsh

New truenas_wsdeploy hook in recent acme.sh v3.1.1 fails to find Truenas edition in api response for method system.info.

Excerpt from running acme.sh --deploy-hook truenas_ws on TrueNAS Scale 25.04:

Checking TrueNAS health...
_ws_call arg1='system.ready'
_ws_call arg2                                   
_ws_call arg3
_ws_response='True'                             
OK                                              
17:SAVED_DEPLOY_TRUENAS_APIKEY='xxx'
TrueNAS health: OK                              
Gather system info...
_ws_call arg1='system.info'                  
_ws_call arg2                                
_ws_call arg3                                
_ws_response='{"version": "25.04.0", ...
TrueNAS system: 25.04.0
TrueNAS version: 25.04.0                        
Cannot gather TrueNAS system. Nor CORE oder SCALE detected.
Error deploying for domain: xxx
Error encountered while deploying.  

In previous versions system.info call would output value "truenas-scale-x.y" but this was changed to short version. Full version string doesn't include "scale" either (quote below) and product type was renamed to COMMUNITY_EDITION:

$ midclt call system.info | jq .version
"25.04.0"
$ midclt call system.version      
TrueNAS-25.04.0
$ midclt call  system.product_type 
COMMUNITY_EDITION

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions