Reload config hanging after permissions change tljh

I have set up a tljh server on google cloud and am trying to get it to use custom templates in my home directory for the login page.

tljh doesn’t seem to find the templates so I changed the permissions on the /opt/tljh/ directory and modified the css file.

However now sudo tljh-config reload hangs and I can’t access the server!

Any idea what is happening?

Thanks,
Dimitrios