Proxy error during site update

Proxy Error: "Error reading from remote server"

LAST TESTED ON CHECKMK 2.3.0P1

Table of Contents

Getting Started

Background information regarding this subject is available on our:

Problem

During a site update on Checkmk Appliance, you may run into a Proxy error from Apache.


Proxy Error. 
The proxy server received an invalid response from an upstream server. 
The proxy server could not handle the request. 

Reason: Error reading from remote server

Solution

If you encounter an error, the update will not be successful. To enable the webconf to function properly, please follow these steps:

  1. Check the update.log on the Checkmk Appliance.

    You will notice that the update.log is hanging and full of errors

    root@mylinuxhost:/mnt/auto# cat /omd/sites/mysite/var/log/update.log

    .

  2. You need to solve all the problems
    .
  3. Now you need to rerun the update config command to update the whole config

    OMD[mysite]:~$ cmk-update-config -vv

    .

  4. Start the Site. The webconf should work again.

    If the webconf is not working, try to restart the Apache and webconf daemon.

    root@mylinuxhost ~$ systemctl status webconfd
    root@mylinuxhost ~$ systemctl status apache2.service

The Update was completely finished. You received only an error because of some errors mentioned in the update.log