504 Gateway Time-out after installing Collabora Online - Built-in CODE Server

Hello,

After installing Collabora Online - Built-in CODE Server im getting 504 Gateway time out nginx/1.20.1 . Im on the newest version of nextcloud and if i restart the VM i can access the site with in the first 15 seconds before i get the 504 gateway. Now i no pro so if some could tell me were and what error log file i need to pull so you lovely people can help or how i can remove app via terminal so i can uninstall Collabora Online - Built-in CODE Server and see if that solves my issue.

You must replace:

  • $htuser - with your webserver-user
  • $nextcloudpath - with the path where your nextcloud resides

and this is the command to remove the Built-in CODE Server:

sudo -u $htuser php -f $nextcloudpath/occ app:remove richdocumentscode