502 Bad Gateway after upgrade

Nextcloud version : Updater 17.02. to 18.0.3
Operating system and version : Trisquel 7.0 LTS Belenos
Apache or nginx version : Nginx 1.13.1
PHP version : 7.3.1

    2020/03/29 13:21:29 [error] 5354#0: *366232 FastCGI sent in stderr: "PHP message: {"reqId":"vxAQif1HNYbvwLhirDV4","level":0,"time":"2020-03-29T11:21:29+00:00","user":"bichomen","app":"no app in context","method":"GET","url":"/index.php/apps/files/","message":"Deprecated event type for OCA\\Files::loadAdditionalScripts: Symfony\\Component\\EventDispatcher\\GenericEvent","userAgent":"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0","version":"18.0.3.0"}PHP message: {"reqId":"vxAQif1HNYbvwLhirDV4","level":0,"time":"2020-03-29T11:21:29+00:00","user":"bichomen","app":"no app in context","method":"GET","url":"/index.php/apps/files/","message":"Deprecated event type for OCA\\Files::loadAdditionalScripts: Symfony\\Component\\EventDispatcher\\GenericEvent","userAgent":"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0","version":"18.0.3.0"}PHP message: {"reqId":"vxAQif1HNYbvwLhirDV4","level":0,"time":"2020-03-29T11:21:29+00:00","user":"bichomen","app":"no app in context","method":"GET","url":"/index.php/apps/files/","message":"Deprecated event type for OCA\\Files::loadAdditionalScripts: Symfony\\Component\\EventDispatcher\\GenericEvent","userAgent":"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0","version":"18.0.3.0"}PHP message: {"reqId":"vxAQif1HNYbvwLhirDV4","level":0,"time":"2020-03-29T11:21:29+00:00","user":"bichomen","app":"no app in context","method":"GET","url":"/index.php/apps/files/","message":"Deprecated event type for OCA\\Files::loadAdditionalScripts: Symfony\\Component\\EventDispatcher\\GenericEvent","userAgent":"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0","version":"18.0.3.0"}PHP message: {"reqId":"vxAQif1HNYbvwLhirDV4","level":0,"time":"2020-03-29T11:21:29+00:00","user":"bichomen","app":"no app in context","method":"GET","url":"/index.php/a
2020/03/29 13:21:29 [error] 5354#0: *366232 upstream sent too big header while reading response header from upstream, client: 95.169.226.131, request: "GET /index.php/apps/files/ HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/nc.sock:", 

After version upgrade I got this error, I don’t know how to reverse the upgrade or how to fix it.

I have noticed that the only problem I have when accessing index.php/apps/files/ is when I get --> 502 Bad Gateway if I access index.php/apps/contacts or any other route loads me without problems.

Hi bichomen. What is your nginx nextcloud configuration? Maybe some limit that was fine for 17x is no longer fine for 18x ?

That’s a big jump!

Have you tried this?