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

Page not found while generating a new installer #2

Open
MrKroo opened this issue Jun 1, 2017 · 4 comments
Open

Page not found while generating a new installer #2

MrKroo opened this issue Jun 1, 2017 · 4 comments
Assignees

Comments

@MrKroo
Copy link

MrKroo commented Jun 1, 2017

After I fill the form and generate a new installer, the page show "Page not found". Is there any requirement missing from Apache or Debian?

Thanks

@ollytom
Copy link

ollytom commented Jun 2, 2017

Hey @MrKroo thanks for your interest! I forgot to add the final dependency to this web module in our install instructions. Updated now.

Basically hopefully all you'll need to do is install icingaclient, another tool we're using.

We've been using this module for a couple of weeks now, testing it at a few different places. We're tagging a release in the very near future! Let us know how you go 👍

@ollytom ollytom self-assigned this Jun 9, 2017
@MrKroo
Copy link
Author

MrKroo commented Jun 14, 2017

OK, I've updated the module to the latest version and installed depenencies.

Now when I try to install a new agent, I still get a "page not found".

Found out that this bug is related because my root address is changed to / instead of /icingaweb2 and the link to generate a new installer uses /icingaweb2, probably a static link.

@NickThrew
Copy link

I just laid down vanilla icinga2 and web2. Only real modifications are "/ to /icingaweb" and http to https redirections and I too get "Page not found".

I confirmed I have all the necessary dependencies including icingaclient installed.

@ollytom
Copy link

ollytom commented Jun 15, 2017

Think I've found the issue:

$ grep icingaweb2 {controllers,forms} -r
forms/CreateInstallerForm.php:    $this->setAction('/icingaweb2/agentinstaller/index/generate');

So there's a hardcoded path. I imagine that instead of this absolute path we can pass a relative one. I'll find some time for testing in the next 24h or so!

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

3 participants