iakta / hugocockpit

a Hugo addon for Cockpit-Next CMS, generating Hugo compatible content and running Hugo for you
56 stars 5 forks source link

"Run hugo" empty error #12

Open jasonday opened 5 years ago

jasonday commented 5 years ago

hugo2

jasonday commented 5 years ago

Apache logs:

[Thu Jul 11 09:45:16.747401 2019] [php7:notice] [pid 26860] [client 10.25.151.143:65527] Running cd /apps/myapps/html/hugo ;hugo -t hugo-book --cleanDestinationDir --config="$
sh: 1: hugo: not found
[Thu Jul 11 09:45:16.754209 2019] [php7:notice] [pid 26860] [client 10.25.151.143:65527] CMD OUT .127., referer: http://a11y.fmr.com/cockpit/hugo
[Thu Jul 11 09:45:16.754248 2019] [php7:notice] [pid 26860] [client 10.25.151.143:65527] ERROR .., referer: http://a11y.fmr.com/cockpit/hugo
[Thu Jul 11 09:45:16.754265 2019] [php7:notice] [pid 26860] [client 10.25.151.143:65527] Returning error 127,  -- Array\n(\n)\n, referer: http://a11y.fmr.com/cockpit/hugo

Hugo is installed (verified).