Open zabatonni opened 6 years ago
Hello,
are you using an absolute path? if not, try to use an absolute one please. Also remember that the path must point to a location on the same machine (or server) where you have installed Cockpit+Hugocockpit. So the Hugo installation must reside on the same machine..
Let me know.
Bye
Hello, i tried both, absolute and relative. Paths are correct, isDir is checking for that. What exactly is Hugo installation? On windows it's just one hugo.exe binary file.
Where should exactly "hugo dir" be pointing? To hugo.exe or actual hugo project files?
It should point to the folder containing your Hugo project.
The one containing your config.toml
, content
and themes
,archetypes
and so on.
I have it exactly like that, but its not working. This Hugo project is working fine using "hugo server" command and also builds without any trouble.
I have the same problem: path: /var/www/html/hugo/mysite/ {"status":"ko","error":"config file not found"}
I'm trying to install hugocockpit locally. But it always says its 'not Hugo Dir'. This project compiles ok, without warnings and there is config.toml file. Could you please guide me, what am i missing? I read setup guide but can't make it work.
Thanks in advance.
My web server is Nginx , I found this problem is caused by directory permissions.
chown -R nginx:nginx /path/to/hugo-project
I'm trying to install hugocockpit locally. But it always says its 'not Hugo Dir'. This project compiles ok, without warnings and there is config.toml file. Could you please guide me, what am i missing? I read setup guide but can't make it work.
Thanks in advance.