Error when run st2 pack register


(qinhao) #1

Hi

like the screenshot show below , when i do a st2 pack register , it comes error
but when i do st2ctl reload, it’s fine and packs show in webui page, everything seems ok.

the error msg:

ERROR: 400 Client Error: Bad Request
MESSAGE: Failed to register pack “chatterbot”: Pack “/opt/stackstorm/packs/chatterbot” is missing pack.yaml file for url: http://127.0.0.1:9101/v1/packs/register


(Lindsay Hill) #2

Your permissions look wrong on /opt/stackstorm/packs/chatterbot - it looks like you have 700. Should be at least 750, or 755.


(qinhao) #3

yes, the directory permission is wrong , register success when i chmod 750 .

it’s quite a simple issue.

thanks for reply