Skip to content
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

unable to set things up #9

Open
zabatonni opened this issue Jul 11, 2018 · 6 comments
Open

unable to set things up #9

zabatonni opened this issue Jul 11, 2018 · 6 comments

Comments

@zabatonni
Copy link

image

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.

@zontarian
Copy link
Collaborator

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

@zabatonni
Copy link
Author

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?

@zontarian
Copy link
Collaborator

It should point to the folder containing your Hugo project.
The one containing your config.toml, content and themes,archetypes and so on.

@zabatonni
Copy link
Author

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.

@kientv
Copy link

kientv commented Jun 20, 2019

I have the same problem:
path: /var/www/html/hugo/mysite/
{"status":"ko","error":"config file not found"}

@keatonlao
Copy link

image

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants