XenForo 1.5 to XenForo 2 Upgrade

Irishkop

Member
Licensed customer

XenForo 1.5 to XenForo 2 Upgrade – IrishKop.com​

I'm the administrator of IrishKop.com, an established Liverpool FC supporters' forum.

The website currently runs XenForo 1.5 and I would like to upgrade it to the latest suitable XenForo 2 release.

I'm looking for an experienced XenForo developer to handle the upgrade professionally.

Project requirements:

  1. Full backup of the existing website and database.
  2. Review existing add-ons and identify replacements.
  3. Create a separate test/staging installation.
  4. Upgrade from XenForo 1.5 to XenForo 2.
  5. Preserve existing members, posts, private messages and attachments.
  6. Retain the familiar IrishKop design while modernising it.
  7. Configure a supported PHP environment.
  8. Thoroughly test the upgraded forum before going live.
Additional information:

  • Existing hosting provider: HomepageUniverse.
  • Hosting control panel: cPanel.
  • Current PHP: 7.0.
  • Current XenForo licence: Owned, originally purchased in 2015.
  • Licence renewal offered: $75.
  • Current hosting allowance: 10GB.
Please provide:

  • Your experience upgrading XenForo 1.5 installations.
  • Examples of previous migrations.
  • Your estimated price.
  • Your expected completion time.
  • Any additional hosting or software costs.
Preserving our existing community and its history is my highest priority.
 
Current PHP: 7.0.
You may have to move to a newer hosting plan with them to do so.
Full backup of the existing website and database.
You should be doing this anyways.
  • Current XenForo licence: Owned, originally purchased in 2015.
  • Licence renewal offered: $75.
You can renew this here on Xenforo yourself if you have not done so yet.

Good luck with your update. Shouldn't be huge deal to have it done.
 
Last edited:
First thing to do is ask the host to update this to something over 8.2. I say 8.4 at least.
Sounds like bad advice, given that the OP is currently running XF1.5. This could easily make his running forum unusable. Is 1.5 compatible with PH8? The currently recommended PHP version by XF is 8.3 and that's what I would recommend going for. But probably on a fresh hosting account or making sure that 1.5 is compatible with PHP 8.x. He will need both environments in parallel anyway for during testing the upgrade.
 
Sounds like bad advice, given that the OP is currently running XF1.5. This could easily make his running forum unusable. Is 1.5 compatible with PH8? The currently recommended PHP version by XF is 8.3 and that's what I would recommend going for. But probably on a fresh hosting account or making sure that 1.5 is compatible with PHP 8.x. He will need both environments in parallel anyway for during testing the upgrade.
You got me on that one. I forgot 1.5 isn't going to run on PHP8. It will only go to 7.4 or something like that. I run most of my stuff on 8.4. Tryed 8.5 on one install for fun. It is running OK but still a bit new. I edited my post. Xenforo 2.3.13 will run on 7.2-7.4 if memory serves me right.
 
Last edited:

XenForo 1.5 to XenForo 2 Upgrade – IrishKop.com​

I'm the administrator of IrishKop.com, an established Liverpool FC supporters' forum.

The website currently runs XenForo 1.5 and I would like to upgrade it to the latest suitable XenForo 2 release.

I'm looking for an experienced XenForo developer to handle the upgrade professionally.

Project requirements:

  1. Full backup of the existing website and database.
  2. Review existing add-ons and identify replacements.
  3. Create a separate test/staging installation.
  4. Upgrade from XenForo 1.5 to XenForo 2.
  5. Preserve existing members, posts, private messages and attachments.
  6. Retain the familiar IrishKop design while modernising it.
  7. Configure a supported PHP environment.
  8. Thoroughly test the upgraded forum before going live.
Additional information:

  • Existing hosting provider: HomepageUniverse.
  • Hosting control panel: cPanel.
  • Current PHP: 7.0.
  • Current XenForo licence: Owned, originally purchased in 2015.
  • Licence renewal offered: $75.
  • Current hosting allowance: 10GB.
Please provide:

  • Your experience upgrading XenForo 1.5 installations.
  • Examples of previous migrations.
  • Your estimated price.
  • Your expected completion time.
  • Any additional hosting or software costs.
Preserving our existing community and its history is my highest priority.

Since it wouldn't be a bad time to upgrade your server (considering it's a vps running PHP 7 which went EOL back on January 10, 2019) your best course of action is a modern vps from the kind of provider who was one of the first hosting companies to have all their vps deployment packages updated the day they were released after that long time huge critical bug was finally acted on.

Doing it this way allows you to stand up the new vps, update all the core server side software and dependencies harden all the interfaces, setup ssh keys and then once you set that up with a dedicated domain name and ip address as a host controller that is different than your primary website domain, you can then setup a hosting package on the vps for your actual domain's conversion testbed assigning it a dedicated IP and then complete the conversion process isolated from your live operating environment and once you have a clean skeleton in place on the new server you back it up and then test import the full DB from your live site to that testbed and spend a bit testing everything for bugs and leaks. This basically means nothing happens to your old server even when you move to the new one, you simply pause activity for the site for an hour or two max, update on the new site any added rows from the original site made between db dump time and site conversion completed, point the domain at the new server and once you verify it's good, take another clean last backup of your original site for your memories and move on to the new without any perceptible downtime or risk of data loss in migration tests and then shut down your old server.

If you want any details or recommendations for a different host, feel free to message me directly. While I will give recommendations for a host I will not advertise for one publicly. Either way I am curious what you are paying monthly for a server running that version of php if you don't mind sharing.
 
  • Like
Reactions: Sim
Either way I am curious what you are paying monthly for a server running that version of php if you don't mind sharing.
As a side note, some hosts offer different PHP versions, and 1.5 won't run on newer versions. So it could be a selection to keep 1.5 running. I'm working on a similar upgrade for a client and the server has had to use the last version of 7.x that XF could run on in order to keep it online until this upgrade.
 
your best course of action is a modern vps
Given that the OP is asking for s/o who does the upgrade as a service
I'm looking for an experienced XenForo developer to handle the upgrade professionally.
and the forum is currently still running on 1.5 it obviously hasn't been touched in many years. So I'd assume whoever will do the upgrade is also the person to decide for a strategy and give advice which kind of hosting should be used as a new home. That is probably one of the reasons why the OP asked for the upgrade as a service: He does not want to do it himself.
 
Since it wouldn't be a bad time to upgrade your server (considering it's a vps running PHP 7 which went EOL back on January 10, 2019) your best course of action is a modern vps from the kind of provider who was one of the first hosting companies to have all their vps deployment packages updated the day they were released after that long time huge critical bug was finally acted on.

Doing it this way allows you to stand up the new vps, update all the core server side software and dependencies harden all the interfaces, setup ssh keys and then once you set that up with a dedicated domain name and ip address as a host controller that is different than your primary website domain, you can then setup a hosting package on the vps for your actual domain's conversion testbed assigning it a dedicated IP and then complete the conversion process isolated from your live operating environment and once you have a clean skeleton in place on the new server you back it up and then test import the full DB from your live site to that testbed and spend a bit testing everything for bugs and leaks. This basically means nothing happens to your old server even when you move to the new one, you simply pause activity for the site for an hour or two max, update on the new site any added rows from the original site made between db dump time and site conversion completed, point the domain at the new server and once you verify it's good, take another clean last backup of your original site for your memories and move on to the new without any perceptible downtime or risk of data loss in migration tests and then shut down your old server.

If you want any details or recommendations for a different host, feel free to message me directly. While I will give recommendations for a host I will not advertise for one publicly. Either way I am curious what you are paying monthly for a server running that version of php if you don't mind sharing.

My two main sites are still on XF 1.5 - although I'm almost finished all of the custom dev work required to allow them to upgrade.

I've started doing test upgrades and what @EQnoble wrote is pretty much spot on.
  1. don't do this on the same server you've already got
  2. take backups at each step just in case
  3. new server should be running php 8.3 - the recommended version (you can probably get away with 8.4 though)
  4. set up the web root and database and anything else you need on the new server to run the site
  5. start by dumping the XF 1.5 database and copying that across to the new server
  6. zip up all of the files from your XF 1.5 install, or use rsync or rclone to copy them across to the new server in the web root
  7. download XF 2.3.13 (or whatever is the most recent release) and extract the files on the new server over the top of the existing code, replacing files
  8. create the config.php file in the /src directory using the config.php.default file as the basis
  9. fix the permissions on the directories that require write access
  10. run the xf:upgrade command from the CLI
  11. remove the old config.php file from the /library directory
  12. test that the admin control panel works by going to /admin.php and logging in
  13. run the xf:convert-utf8mb4 command if necessary, and don't forget to update config.php with the fullUnicode setting once you're done
  14. run the xf:convert-search-innodb command if necessary and don't forget to update the config.php with the searchInnoDb setting once you're done
  15. you may need to create a new default style - just create a new style with no changes and set it as the default so you can see the forum home
  16. go through the config settings in the documentation and update things like caching or anything else you need turned on
  17. start installing any addons that have XF 2.x equivalents - they will upgrade the legacy XF 1.5 addons if there is an upgrade path
  18. uninstall any addons you no longer need or which don't have XF 2.x equivalents
  19. install the XF1 Cleanup Command addon and run the xf:legacy-cleanup command
  20. go through all of the options and adjust them - turn on advanced mode so you don't miss a bunch of options
... I've written that from memory, so I may have missed a step or two, but that's basically what I've been doing - doing the upgrade in place can be problematic with php versions, but doing it on another server bypasses all of those issues.
 
As a side note, some hosts offer different PHP versions, and 1.5 won't run on newer versions. So it could be a selection to keep 1.5 running. I'm working on a similar upgrade for a client and the server has had to use the last version of 7.x that XF could run on in order to keep it online until this upgrade.
Even the version I am running is not the newest (PHP 8.3.37) and even it is going to be unsupported soon, the 7 branch got the last update it's ever going to get November 28, 2022 and tbh if the people who maintain the language aren't supporting it, I will not be. My public release that are not bespoke work will never be for any XF version below 2.3.13 and my forward moving arch means every addons unique version string essentially prefixes the entire thing with the oldest stable xf version supported. Version 1of this addon would be prefixed by 2.3.13 because that is what I built it on, and when it goes final because I am not supporting it any longer the version gets a custom suffix right before the prefix -final which includes the last version it will run addon v-{2.3.13.0, 2.3.13.1, 2.3.13.2, 2.3.13.0-2.3.14.0-final}, this will populate my backend system automatically for maintenance and management of product distro, key signing, validation etc so I am not changing this work flow, it's easier for me to keep track of what I am doing because it is a lot right now.

BTW responded in the other thread, it's long and tangential, if you don't like reading for fun...i recommend the TLDR
 
Last edited:
Given that the OP is asking for s/o who does the upgrade as a service

and the forum is currently still running on 1.5 it obviously hasn't been touched in many years. So I'd assume whoever will do the upgrade is also the person to decide for a strategy and give advice which kind of hosting should be used as a new home. That is probably one of the reasons why the OP asked for the upgrade as a service: He does not want to do it himself.
optimally a person who owns a site should be able to do it, but we live in reality where people who want to make or publish something and have a real life besides their digital one don't always have the time to learn that stuff, which is totally understandable.

I know I do that sort of stuff but I am selective over who I will work for now a days for reasons I am trying not to air out in public at this site as they lean professional here and keep a tight ship flowing...said having made no thoughts about doing that job because I have to look at the board and probe the backend and ee what kind of access I have and the level of jank 1-10 that I am dealing with before I could even come up with a quote. A clean but old vps with never a package or dependency installed is cakewalk and just moving systems with backups in place plus the live one safely home until it has a go-live new one to wait for dns propagation, jank breaks the bank and I am not opening up my bank account. Economy something something something. You are entirely right about strategy of course.

I also am just coming back after some away time on hiatus while I was unencumbered so I don't exactly know who is offering what any longer and I am sure the landscape has changed since I was truly active last on a daily thing (I haven't been here for years until recently besides occasionally peeking for progress and alerts from certain people) Some staff used to do this as a service (if they trade personally with xf on their name as staff they wouldn't still be staff if they weren't trustworthy in net affect). Jake Bunce hasn't been seen for a while sadly or off the top I would have recommended him. He basically taught me the three things I needed to know to make my first data importer that I sauced the hell out of with some wild regex...fun times. On this front you would know better than myself I presume

If he messages me privately I would be willing to discuss needs and terms.
 
Back
Top Bottom