XF 2.0 Upgrading Question

Mayhem30

Member
Does the 2.0 updater get rid of all the old, no longer used 1.x files? I'm referring to the files/folders in the js and library folders.

Or do we have to do it manually?
 

abdfahim

Well-known member
I'd love this, if happens, but I doubt. I am planning to compare my upgraded XF2 with a fresh XF2 and remove the orphan ones.
 

Mayhem30

Member
Yeah, me too. The good news is that it will be a quick cleanup. I've done a tree compare on the directories, and the files are not all over the place.
 

Kier

XenForo developer
Staff member
While the old XF1 PHP files lived in a folder called library, the new XF2 files live in the src directory. Similarly, the old XF1 JS files lived in js/xenforo, but the XF2 files reside at js/xf and js/vendor, and js/xf*, where xf* might be xfmg, xfrm etc., referring to the official add-ons.

It's safe to delete or move the old XF1 files if you want to, but we don't do it for you as part of the upgrade process, because you may have additional files in those locations that you want to keep for reference purposes.
 

W1zzard

Well-known member
As alternative approach, would it be possible to upload XF2 to an empty directory, copy over data and internal_data, point the database config to the XF1 db and run the Xf2 upgrade install?
 

W1zzard

Well-known member
Just tested, seems to work great and leaves no residual junk that has to be cleaned up manually
 
Top