Thread:Project:Support desk/Update to MW 1.20.2 does not work: Undefined index: SERVER PROTOCOL / Unable to determine IP/reply (2)

Note that the error "PHP Notice: Undefined index: SERVER_PROTOCOL" is normal in when you run in command line, because in command line mode it doesn't have information about HTTP.

The mentioned short URLs problem is most likely the cause.