Posted April 23Apr 23 My system is now quite old and I would like to upgrade. However I have been having a problem with my host, who has not been able to provide a suitable platform.I currently run version 4.6.12.1 of Invision Community on a server with PHP 7.3.25The new server has up to date versions and is suitable for the latest release of Invision Community. However, because of an incompatibility with the version of PHP I am using and that of the new server, I can't transfer my current setup to the new setup and then do an upgrade.My question is - can I install a the current version of Invision Community on to the new server and then take a backup of the old version data and then restore this backup to the new server?Any help would be greatly appreciated.
April 23Apr 23 14 minutes ago, David_UK said:However, because of an incompatibility with the version of PHP I am using and that of the new server, I can't transfer my current setup to the new setup and then do an upgrade.Actually this is the correct thing to do. You would move your files and data across, and update your conf_global as normal. (I appreciate your site will be broken because of PHP version). Once you have done that, upload a fresh set of files for the latest release, and run the upgrader directly from /admin/upgrade
April 23Apr 23 Author Hi MarcThank you for the quick response. I think I may need a step by step of operations here sorry.Do I:Take a backup of my current site from the old server.Restore the backup of the old server onto the new server.Modify config_global (not sure what would need modifying here)Run upgrader directly from /admin/upgradeI really appreciate your assistance on this
April 23Apr 23 So to explain more fullyTake a backup of files and database from the old serverRestore the database on the new serverRestore the files on the new serverEdit your conf_global.php file to change the mysql connection details to that of your new serverGo to your client area and download the latest release you want to upgrade toUpload those over he current files. You should be overwriting anything that already exists, but merging folders (so you wouldnt delete anything)Run the upgrader from /admin/upgrade
April 23Apr 23 2 hours ago, David_UK said:My question is - can I install a the current version of Invision Community on to the new server and then take a backup of the old version data and then restore this backup to the new server?Yes, that is a way to go about it imo. However the restore of the old forum database on the newest Ips version in itself isn't enough. The upgrade will have to be run so the database can be upgraded too so it can match the files of the newest forum version. However, imo it would be better to first upgrade your forum in the current server to 4.7.20 version, then disable all your third party stuff and switch to the unmodified default theme and english language. Then install the latest version of Ips 5 in the new server, restore the database of your 4.7.20 forum and then run the upgrader. Modifying the conf_global.php file in this case isn't necessary as it will contain the correct database info from the install.Or you can first migrate the forum as it is on the new server, but make sure that you use the older php version there that it's supported by your forum version. And once ithe forum has been successfully imported in the new server, you can proceed with updating the php and upgrading your forum. In this case you will have to edit the config_global.php file after the move so that all the database details in there will match those of the database in the new server. Below are 2 guides on how to perform a forum transfer to a new host and how to do a manual upgrade. Hope it helps.
April 23Apr 23 Author 3 minutes ago, Miss_B said:Yes, that is a way to go about it imo. However the restore of the old forum database on the newest Ips version in itself isn't enough. The upgrade will have to be run so the database can be upgraded too so it can match the files of the newest forum version. However, imo it would be better to first upgrade your forum in the current server to 4.7.20 version, then disable all your third party stuff and switch to the unmodified default theme and english language. Then install the latest version of Ips 5 in the new server, restore the database of your 4.7.20 forum and then run the upgrader. Modifying the conf_global.php file in this case isn't necessary as it will contain the correct database info from the install.Or you can first migrate the forum as it is on the new server, but make sure that you use the older php version there that it's supported by your forum version. And once ithe forum has been successfully imported in the new server, you can proceed with updating the php and upgrading your forum. In this case you will have to edit the config_global.php file after the move so that all the database details in there will match those of the database in the new server.Below are 2 guides on how to perform a forum transfer to a new host and how to do a manual upgrade. Hope it helps.Thanks Miss_BThe problem I have is that the my old server does not support a version of PHP that will allow me to upgrade in situ, and the new server does not allow an older enough version of PHP to allow me to migrate the current version of Invision Community to the new server!
April 23Apr 23 1 minute ago, David_UK said:Thanks Miss_BThe problem I have is that the my old server does not support a version of PHP that will allow me to upgrade in situ, and the new server does not allow an older enough version of PHP to allow me to migrate the current version of Invision Community to the new server!Yes, you would need to follow this path. 13 minutes ago, Marc said:So to explain more fullyTake a backup of files and database from the old serverRestore the database on the new serverRestore the files on the new serverEdit your conf_global.php file to change the mysql connection details to that of your new serverGo to your client area and download the latest release you want to upgrade toUpload those over he current files. You should be overwriting anything that already exists, but merging folders (so you wouldnt delete anything)Run the upgrader from /admin/upgrade
April 23Apr 23 8 minutes ago, David_UK said:Thanks Miss_BThe problem I have is that the my old server does not support a version of PHP that will allow me to upgrade in situ, and the new server does not allow an older enough version of PHP to allow me to migrate the current version of Invision Community to the new server!In that case there is only an option, to migrate the site as is and then perform the upgrade as outlined in details by Marc above. Good luck with the upgrade and keep us posted.