Register proxy after his upgrade (1.21 -> 1.22) - Your system does not meet configuration criteria

Problem:
I upgraded my server to Foreman 1.22 and my proxy was in 1.21 … Okey, it’s work well … So, I decided to upgraded my proxy to 1.22 by following this Foreman :: Plugin Manuals but I have a error message
that I do not understand well :

foreman-installer --scenario foreman-proxy-content --upgrade --certs-tar-file /root/proxy.fqdn-certs.tar --certs-update-all --certs-regenerate true --certs-deploy true 
Please unset the following environment variables before running the installer: http_proxy, https_proxy, ssl_cert_file
Your system does not meet configuration criteria

I specify that I upgraded all packages on my system (include puppet 4 to puppet 6)

Expected outcome:
My foreman-proxy communicates with his master

Foreman and Proxy versions:
1.22.0

Foreman and Proxy plugin versions:

# rpm -qa | grep tfm-rubygem-foreman
tfm-rubygem-foreman_remote_execution_core-1.2.0-1.el7.noarch
tfm-rubygem-foreman-tasks-core-0.3.2-1.fm1_22.el7.noarch

Other relevant data:

It is really so easy like the error message suggests. Your environment variables tell the installer to use a proxy which would typically result in communication errors, so it throws the error message. Run the following command and then rerun the installer.

unset http_proxy https_proxy ssl_cert_file
foreman-installer --scenario foreman-proxy-content --upgrade --certs-tar-file /root/proxy.fqdn-certs.tar --certs-update-all --certs-regenerate true --certs-deploy true 

Ohhhh … Sorry for that, I thought it was a generic message :sweat_smile: