Foreman-installer error in 1.14

Hello

I am trying to upgrade my 1.13 to 1.14 but am hitting an error.

Am i doing something wrong? Pretty sure i followed the upgrade instructions.

The error I get is the one below.

[ERROR 2017-03-14 15:17:03 verbose] Parameter foreman-proxy-tftp-dirs
invalid: Elements of the array are invalid: /var/lib/tftpboot//pxelinux.cfg
is not one of regexes matching /^(([a-zA-Z]:[\/])|([\/][
\/][^\/]+[\/][^\/]+)|([\/][\/]?[\/][^\/]+))/ or regexes
matching /^/([^/\0]+(/)?)+$/, /var/lib/tftpboot//boot is not one of
regexes matching /^(([a-zA-Z]:[\/])|([\/][
\/][^\/]+[\/][^\/]+)|([\/][\/]?[\/][^\/]+))/ or regexes
matching /^/([^/\0]+(/)?)+$/, /var/lib/tftpboot//grub is not one of
regexes matching /^(([a-zA-Z]:[\/])|([\/][
\/][^\/]+[\/][^\/]+)|([\/][\/]?[\/][^\/]+))/ or regexes
matching /^/([^/\0]+(/)?)+$/, /var/lib/tftpboot//grub2 is not one of
regexes matching /^(([a-zA-Z]:[\/])|([\/][
\/][^\/]+[\/][^\/]+)|([\/][\/]?[\/][^\/]+))/ or regexes
matching /^/([^/\0]+(/)?)+$/

The parameter isn't valid due to the double slash. It is probably a bug
in the upgrade or validation of the parameter.

Either use --reset-foreman-proxy-tftp-dirs to use the default value(s)
or remove the additional slash manually.

··· On 14/03/17 14:29, Roger Martensson wrote: > Hello > > I am trying to upgrade my 1.13 to 1.14 but am hitting an error. > > Am i doing something wrong? Pretty sure i followed the upgrade instructions. > > The error I get is the one below. > > [ERROR 2017-03-14 15:17:03 verbose] Parameter foreman-proxy-tftp-dirs > invalid: Elements of the array are invalid: > /var/lib/tftpboot//pxelinux.cfg is not one of regexes matching > /^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/ > or regexes matching /^\/([^\/\0]+(\/)?)+$/,


Dominic Cleal
dominic@cleal.org

Hi

> Hello
>
> I am trying to upgrade my 1.13 to 1.14 but am hitting an error.
>
> Am i doing something wrong? Pretty sure i followed the upgrade
instructions.
>
> The error I get is the one below.
>
> [ERROR 2017-03-14 15:17:03 verbose] Parameter foreman-proxy-tftp-dirs
> invalid: Elements of the array are invalid:
> /var/lib/tftpboot//pxelinux.cfg is not one of regexes matching
> /^(([a-zA-Z]:[\/])|([\/][\/][^\/]+[\/][^\/]+)|([
\/][\/]?[\/][^\/]+))/
> or regexes matching /^/([^/\0]+(/)?)+$/,

The parameter isn't valid due to the double slash. It is probably a bug
in the upgrade or validation of the parameter.

Either use --reset-foreman-proxy-tftp-dirs to use the default value(s)
or remove the additional slash manually.

Thanks. That solved my problem.
Just got surprised since I didn't get the problem on other upgrades before
and in a part of the install I haven't specified before. (Only using
default values).

Thank you for the help.

··· Den 15 mars 2017 11:18 skrev "Dominic Cleal" : On 14/03/17 14:29, Roger Martensson wrote:


Dominic Cleal
dominic@cleal.org


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.