Best way to install 2.3 on existing forum...

cjwinternet

Active member
OK, so we've been running XF for many years, and I think it's been imported and upgraded so many times that our files are maybe bloated.

Currently on 2.2.something, would like to give 2.3 beta a test.

So we were looking at doing a clean install, and import our attachments, database, htaccess and config files ? Would that work, or does 2.3 use an upgraded database etc?

Or

Would it be better to do an upgrade?

Cheers

Chris
 
Just do a regular upgrade - we would never suggest doing an import for an existing site.

However, be aware this is beta software and there are bugs - it is not recommended for use on a production site.
 
There is no importer from 2.2.x to 2.3.x yet.

The only way to test the new XF beta version to see whether the upgrade works as desired with your active forum is to create a subdomain, i.e. testing.yourdomain.tld, copy all of the active forum data there

Then make a new clear database, copy the tables from the live database into the new database, then enter the data (user/database name/password) in the config.php in the subdomain/src and adapt all the .htaccess paths of the subdomain to this.
The following should also be in the config.php of the subdomain:
....
$config['enableMail'] = false;
$config['enableMailQueue'] = false;
$c->extend('options', function(\ArrayObject $options)
{
$options->boardUrl = 'https://test,youtdoman.tld/';
$options->boardUrlCanonical = false;
return $options;
});

When you start your admin panel in the new location for the first time, the first thing you have to do is adapt the paths in the settings to the new conditions. Then everything should work for now.
Then, create a backup of the subdomain and its database so that you can later restore the subdomain to this status if an upgrade fails.
You can then start and test the upgrade in the subdomain.

Hth.

Or, have a look to
 
Top Bottom