Here are the config files: https://gist.github.com/39def7a263f9cb060ab4
Basically, you get an:

nginx: [emerg] invalid parameter "EDIT_THISHTIP" in /var/aegir/config/includes/nginx_advanced_include.conf:283
nginx: configuration file /etc/nginx/nginx.conf test failed

After I changed the IP, I got another error:

nginx -t
nginx: [emerg] the invalid "handled" parameter in /var/aegir/config/server_master/nginx/vhost.d/chive.aegir.kevero.ca:11
nginx: configuration file /etc/nginx/nginx.conf test failed

That file have this inside:
handled:80

I don't know what I must put inside.

Comments

omega8cc’s picture

This random issue is already fixed in HEAD, so either upgrade to HEAD or comment out the lines/location referenced as broken in the Nginx config file.

nginx: [emerg] invalid parameter "EDIT_THISHTIP" in /var/aegir/config/includes/nginx_advanced_include.conf:283

Then restart Nginx with service nginx restart.

luiginica’s picture

*The problem with "EDIT_THISHTIP" is solved now.
* I have upgraded both BOA and Octopus to HEAD.

I still have a problem in /var/aegir/config/server_master/nginx/vhost.d/ with chive config.

I have the chive.config here: https://gist.github.com/39def7a263f9cb060ab4#file_var_aegir_config_inclu...

...for nginx to start I remove the config for chive because otherwise I get this error:
nginx: [emerg] the invalid "handled" parameter in /var/aegir/config/server_master/nginx/vhost.d/chive.aegir.kevero.ca:11

omega8cc’s picture

Please post the results of commands:

ifconfig

sipcalc your.real.ip.addr

host your.fqdn.hostname | cut -d: -f2 | awk '{ print $4}'

Thanks.

luiginica’s picture

Thank you Omega8cc.

The result of the commands are here: https://gist.github.com/1079565
I also put there my config for chive: /var/aegir/config/server_master/nginx/vhost.d/chive.aegir.kevero.ca :
https://gist.github.com/1079565#file_cat%20chive.aegir.kevero.ca

I don't think that it's a big problem. I think that if I have a chive config for BOA I can repair it. Do you have an example please?

Have a nice day,
Luigi

omega8cc’s picture

Issue tags: +BOA-todo

Chive vhost should be: https://gist.github.com/39def7a263f9cb060ab4#gistcomment-40345

To avoid this issue please always specify in Barracuda:

_MY_OWNIP=""
_MY_HOSTN=""
_MY_FRONT=""

And in Octopus:

_MY_OWNIP=""

That way you will avoid weird results of automated guessing of your system IP.

I'm not sure, but maybe we should sanitize those values better? Marking as to-do.

omega8cc’s picture

Status: Active » Needs work
omega8cc’s picture

Priority: Minor » Critical
Status: Needs work » Closed (duplicate)
omega8cc’s picture

Issue summary: View changes

Misspelled