I have NC18 in nginx and collabora in docker since long. It works also after update. And by the way update was very smoth. Why did you have to remove all files in var/www? Maybe the fault is yours and not NC18 update.
How is your set-up and how is collabora installed?