-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error Running Hugo #5
Comments
hi, And.. hugo binary is configured correctly? i.e. the Settings file has an entry for the hugo binary, maybe you have to hardcode it. On unix usually Please see the doc and set |
Hi thanks for the response I managed to run Hugo without cockpit, so i assume that the binary is configured correctly
the hugo folder set in a different directory and folder The generate button is working, but not with RUn Hugo |
Ok
But that’s not what I meant. Could you show me the hugo cockpit setting as seen from the plugin?
There should be the explicit path to Hugo binary..
Regards
Walter Gamba
[email protected]
+39 348 5610576
Iakta srl
Via A. Da Montefeltro 2
10134 Torino - Italy
… On 14 Dec 2017, at 05:32, yudyananda ***@***.***> wrote:
Hi thanks for the response
I managed to run Hugo without cockpit, so i assume that the binary is configured correctly
[Thu Dec 14 11:21:17.837414 2017] [php7:notice] [pid 13084:tid 1892] [client 127.0.0.1:10408] Creating hugo file C:\\xampp\\htdocs\\cockpit-master\\addons\\Hugo/config.yaml, referer: http://localhost/cockpit-master/
[Thu Dec 14 11:21:19.236443 2017] [php7:notice] [pid 13084:tid 1920] [client 127.0.0.1:10414] Config file is Array\n(\n [hugo_script] => hugo\n [hugo_conf_prefix] => config\n [hugo_conf_extension] => toml\n [cockpit_storage_prefix] => /storage/hugo\n [hugo_extra_params] => --cleanDestinationDir --canonifyURLs\n [hugo_base_dir] => E:/HUBLOG/original\n [hugo_theme] => 311\n)\n, referer: http://localhost/cockpit-master/hugo
[Thu Dec 14 11:21:23.300907 2017] [php7:notice] [pid 13084:tid 1900] [client 127.0.0.1:10415] RUNNING HUGO! theme 311 and env prod, referer: http://localhost/cockpit-master/hugo
[Thu Dec 14 11:21:23.301907 2017] [php7:notice] [pid 13084:tid 1900] [client 127.0.0.1:10415] Config file is Array\n(\n [hugo_script] => hugo\n [hugo_conf_prefix] => config\n [hugo_conf_extension] => toml\n [cockpit_storage_prefix] => /storage/hugo\n [hugo_extra_params] => --cleanDestinationDir --canonifyURLs\n [hugo_base_dir] => E:/HUBLOG/original\n [hugo_theme] => 311\n)\n, referer: http://localhost/cockpit-master/hugo
[Thu Dec 14 11:21:23.301907 2017] [php7:notice] [pid 13084:tid 1900] [client 127.0.0.1:10415] BASE DIR E:/HUBLOG/original, referer: http://localhost/cockpit-master/hugo
[Thu Dec 14 11:21:23.301907 2017] [php7:notice] [pid 13084:tid 1900] [client 127.0.0.1:10415] LANGUAGES Array\n(\n [0] => default\n)\n, referer: http://localhost/cockpit-master/hugo
[Thu Dec 14 11:21:23.305902 2017] [php7:notice] [pid 13084:tid 1900] [client 127.0.0.1:10415] Running cd E:/HUBLOG/original ;hugo -t 311 --cleanDestinationDir --canonifyURLs --config="E:/HUBLOG/original/config.toml", referer: http://localhost/cockpit-master/hugo
The filename, directory name, or volume label syntax is incorrect.
[Thu Dec 14 11:21:23.339907 2017] [php7:notice] [pid 13084:tid 1900] [client 127.0.0.1:10415] CMD OUT .1., referer: http://localhost/cockpit-master/hugo
[Thu Dec 14 11:21:23.339907 2017] [php7:notice] [pid 13084:tid 1900] [client 127.0.0.1:10415] ERROR .., referer: http://localhost/cockpit-master/hugo
[Thu Dec 14 11:21:23.339907 2017] [php7:notice] [pid 13084:tid 1900] [client 127.0.0.1:10415] Returning error 1, -- Array\n(\n)\n, referer: http://localhost/cockpit-master/hugo
the hugo folder set in a different directory and folder
the cockpit in C;\xampp and hugo in E:\
The generate button is working, but not with RUn Hugo
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Sorry, do you mean this >> addons\Hugo/config.yaml, it is empty if you dont mind, can you give me example how to add the configuration on yaml file?
Regards |
This is my sample
|
Going through my Apache logs, the issue that I had was |
Same issue here, but removing |
Hi there
Im using stable version of Cockpit and done all the Hugo cockpit instruction, but cannot run hugo.
The notification say "Eror running hugo"
The text was updated successfully, but these errors were encountered: