3.1 update broke control panel web config

Probably related to the fix/changes for #4050 (closed), I updated 3.1 yesterday from git-stable and afterwards find ISPconfig running on port 8080, when it should be 443. Looking back at the console it did not prompt about re-generating the ssl certificate as previously (which is fine in itself, as I have letsencrypt setup), nor ask the port number (and obviously defaulted to 8080). I did answer the default 'no' to the Service 'web_server' has been detected (currently disabled) do you want to enable and configure it? (yes,no) [no]: prompt, as this host is only for the control panel, not client websites.

root # ispconfig_update.sh 


--------------------------------------------------------------------------------
 _____ ___________   _____              __ _
|_   _/  ___| ___ \ /  __ \            / _(_)
  | | \ `--.| |_/ / | /  \/ ___  _ __ | |_ _  __ _
  | |  `--. \  __/  | |    / _ \| '_ \|  _| |/ _` |
 _| |_/\__/ / |     | \__/\ (_) | | | | | | | (_| |
 \___/\____/\_|      \____/\___/|_| |_|_| |_|\__, |
                                              __/ |
                                             |___/ 
--------------------------------------------------------------------------------


>> Update  

Please choose the update method. For production systems select 'stable'. 
WARNING: The update from GIT is only for development systems and may break your current setup. Do not use the GIT version on servers that host any live websites!
Note: Update all slave server, before you update master server.

Select update method (stable,git-stable,git-master) [stable]: git-stable

--2016-09-06 16:51:37--  https://git.ispconfig.org/ispconfig/ispconfig3/repository/archive.tar.gz?ref=stable-3.1
Resolving git.ispconfig.org (git.ispconfig.org)... 144.76.136.121
Connecting to git.ispconfig.org (git.ispconfig.org)|144.76.136.121|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2896413 (2.8M) [application/octet-stream]
Saving to: ‘ispconfig3-dev.tar.gz’

ispconfig3-dev.tar.gz         100%[===================================================>]   2.76M   810KB/s   in 3.5s   

2016-09-06 16:51:41 (810 KB/s) - ‘ispconfig3-dev.tar.gz’ saved [2896413/2896413]

Latest git version:  ispconfig3-stable-3.1-68476826181a676e3023243cdb0bcb531d3877f2


--------------------------------------------------------------------------------
 _____ ___________   _____              __ _         ____
|_   _/  ___| ___ \ /  __ \            / _(_)       /__  \
  | | \ `--.| |_/ / | /  \/ ___  _ __ | |_ _  __ _    _/ /
  | |  `--. \  __/  | |    / _ \| '_ \|  _| |/ _` |  |_ |
 _| |_/\__/ / |     | \__/\ (_) | | | | | | | (_| | ___\ \
 \___/\____/\_|      \____/\___/|_| |_|_| |_|\__, | \____/
                                              __/ |
                                             |___/ 
--------------------------------------------------------------------------------


>> Update  

Operating System: Debian 8.0 (Jessie) or compatible

This application will update ISPConfig 3 on your server.

Shall the script create a ISPConfig backup in /var/backup/ now? (yes,no) [yes]: 

Creating backup of "/usr/local/ispconfig" directory...
Creating backup of "/etc" directory...
Checking ISPConfig database .. OK
Starting incremental database update.
Loading SQL patch file: /tmp/update_from_dev_stable.sh.y4jTTYV6bu/ispconfig3-stable-3.1-68476826181a676e3023243cdb0bcb531d3877f2/install/sql/incremental/upd_dev_collection.sql
Reconfigure Permissions in master database? (yes,no) [no]: 

Service 'mail_server' has been detected (currently disabled) do you want to enable and configure it?  (yes,no) [no]: 

Service 'web_server' has been detected (currently disabled) do you want to enable and configure it?  (yes,no) [no]: 

Reconfigure Services? (yes,no,selected) [yes]: 

Configuring Ubuntu Firewall
Configuring Database
Updating ISPConfig
			

Reconfigure Crontab? (yes,no) [yes]: 

Updating Crontab
Restarting services ...
Update finished.
root #