Refs #3725 - Fix wrong output redirections, messages and format in rudder-upgrade script and postinst of rudder-reports, rudder-webapp and rudder-inventory-ldap