I just performed do-release-upgrade on one of my Production servers with no issues (apart from having to install the following packages in order to have that command available):
sudo apt-get install update-manager update-manager-core
I was upgrading from 16.04.
The server restarted and my Discourse instance appeared no problem.