Here is the stack trace. It clearly shows the error is in Cockpit.
*NoMethodError*
*undefined method `sub!' for nil:NilClass*
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_cockpit-2.0.2/app/controllers/concerns/foreman_cockpit/hosts_controller_extensions.rb:26:in
`allow_cockpit_iframe'
Any updates or details on how you removed the cockpit plugin? I have
disabled it in my Foreman 1.14 but it is still giving the error.
--
You received this message because you are subscribed to the Google Groups
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails
Hi Dominic
It has to be related with cockpit plugin, so if im using
--enable-foreman-plugin-cockpit option then foreman has error as shown
above . Later on I`ll contact with cockpit plugin authors but for now at
least you know where is the exact problem.)
Regards
Karen
--
You received this
On 19/12/16 11:13, Karen Harutyunyan wrote:
> Hi guys ,
>
> I`m getting "undefined method `sub!' for nil:NilClass" error on foreman
> 1.14 when i try to edit host. A lot of forums pointing to ruby 2.2 and
> rails > 4.2 so i have successfully installed those requirements but
> still getting error