• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 2.0 Upgrading Question

#1
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

Active member
#2
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.
 

Kier

XenForo Developer
Staff member
#5
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
#6
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?