I have updated my enterprise and portal server to 2016, after doing so its lost all my iis settings.
Is there any way of just reinstalling the IIS parts of solid cp retaining all my settings?
You can reinstall everything using the installer but don’t use the correct DB name for the Enterprise server (Also make sure you have a full copy of the SolidCP folder).
Once it has been installed copy the old web.config to the enterprise server folder and you should be able to use the same SolidCP login as before.
Can you clarify what iis settings you exactly lost? like iis settings in portal it self, IIS default settings, IIS websites / app pools inside IIS or inside solidCP?
By default no update should ever touch anything of IIS or modify any database tables, it just purely touches SolidCP files and adds some additional procedures/ colomns / tables to the database.
SolidCP is pretty much equal to a website with a database so much like updating a wordpress site or joomla site SolidCP can be restored by simply placing it’s file and db backup back.
did you take any backup or similar in solidcp?
or better: an iis config export with crypto keys?
You can optionally also check if the iis history directory is still left behind which might have a backup of all the configurations which you could restore
other then that their not really a way through solidcp to auto re-create them when their no longer there
You will need to use appcmd to dot his. You can find more information about that here: https://blogs.iis.net/bills/how-to-backup-restore-iis7-configuration
The main commands you will want is:
Run a backup of your current blank config:
%windir%\system32\inetsrv\appcmd.exe add backup “Broken 2016”
Get a list of the current backups it can see:
%windir%\system32\inetsrv\appcmd.exe list backup
Restore a old backup. replace “My Backup Name” with the name from the list backup command
%windir%\system32\inetsrv\appcmd.exe restore backup “My Backup Name”
Do bare in mind that versions will have changed between upgrading to 2016 and dependency’s may not be installed. You can use the eventlog to track any of these down if needed.
If you updated a remote SQL server and lost your IIS config then you’d need to reinstall IIS, download the SolidCP installation files and on the setup of SolidCP, only select to install “SolidCP Server asp.net v4” and ensure that you use the same credentials as created during the initial setup.
Then configure application pools according to the setup guides, and recreate machine keys for the SolidCP site running on your SQL server.
The above applies to a remote sql server thats part of your Hosting Spaces and plans
- Views2366 times
- Answers11 answers