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

Where does xenForo stores its "I will be updated" information?

Marcus

Well-known member
#1
When I upload new files, xenForo notices that and stops running the forum until the upgrade process is finished.

However when I overwrite all existing files with the former files, xenForo still wants to be upgraded.

Where does xenForo stores its information about the update process? I am really curious.
 

Marcus

Well-known member
#2
xenForo creates the file internal_data/install-lock.php, when you remove it xenForo doesn't know anymore about any updates.
 

Chris D

XenForo developer
Staff member
#3
Yeah, but removing that would also allow your install to be wiped and overwritten by a clean install. You don't want to do that.

XenForo detects there is an upgrade pending when the version ID in Admin CP > Options > Debug Options no longer matches the version ID found in XenForo_Application::$versionId.

Therefore, replacing the files from the currently installed version should be fine.

Make sure Application.php copied back over correctly.