Collabora package for Debian 9 not working - Internal server error

I had trouble too. check https://help.nextcloud.com/t/native-debian-9-collabora-package-does-not-install-correctly/21191/13

if you used docker on the same machine before, check your firewallD (if it is installed) It may block docker stuff.