TDBF Posted February 3, 2022 Posted February 3, 2022 Get this error when upgrading to 4.6.10. All files and folder permissions are correct. Ravion 1
TDBF Posted February 3, 2022 Author Posted February 3, 2022 I have reverted the files to the previous version, still getting the upgrade lock, how do I remove this. There were no changes made to the database.
TDBF Posted February 3, 2022 Author Posted February 3, 2022 My live forum is currently down due to an issue with the installer. Can I have some assistance please? if ( \IPS\STORE_METHOD === 'FileSystem' ) { $config = json_decode( \IPS\STORE_CONFIG, TRUE ); $path = str_replace( '{root}', \IPS\ROOT_PATH, $config['path'] ); if ( !is_dir( $path ) or !is_writable( $path ) ) { \IPS\Output::i()->sendOutput( \IPS\Theme::i()->getTemplate( 'global', 'core' )->globalTemplate( \IPS\Member::loggedIn()->language()->addToStack('upgrade_error'), '', \IPS\Member::loggedIn()->language()->addToStack( 'create_conf_global', FALSE, array( 'sprintf' => array( $path ) ) ), \IPS\ROOT_PATH ), 200, 'text/html', array(), FALSE ); } } The value $config is empty.
Marc Posted February 3, 2022 Posted February 3, 2022 Have you reuploaded with a fresh download? I ask that question even given what you said above, as there was a patch write patched an issue. I would say however, that the image you got in the first instance seems that you overwrote the directory entirely rather than just overwriting files that already exist.
TDBF Posted February 3, 2022 Author Posted February 3, 2022 (edited) 3 minutes ago, Marc Stridgen said: Have you reuploaded with a fresh download? I ask that question even given what you said above, as there was a patch write patched an issue. I would say however, that the image you got in the first instance seems that you overwrote the directory entirely rather than just overwriting files that already exist. Marc, I updated from the admin area, and did not do update manually. As far as I am aware, this would have been the latest version. If the latest patch was less than the time from when I posted, then it is the latest patch. I have downloaded the latest version from here, uploaded it and still getting the same error. Edited February 3, 2022 by TDBF
TDBF Posted February 3, 2022 Author Posted February 3, 2022 I'm going get my hosting company to revert to the latest backup and take it from there.
Marc Posted February 3, 2022 Posted February 3, 2022 18 minutes ago, TDBF said: I'm going get my hosting company to revert to the latest backup and take it from there. No problem. Please let us know if you then have any further issues on the upgrade
TDBF Posted February 3, 2022 Author Posted February 3, 2022 Just now, Marc Stridgen said: No problem. Please let us know if you then have any further issues on the upgrade Actually, I would prefer someone to have a look at this or I will lose over 12 hours of posts. Even if I upload a previous version, I still get the upgrade notice and if I upload the latest version I get the above error. I have updated my test site with no problems, with the exact same update and files.
Solution Marc Posted February 3, 2022 Solution Posted February 3, 2022 It seems there was an issue with your constants file and corrupt datastore entries. I have set that back to its default so if you had a specific datastore directory, you will need to redo that. If not, then leave it as it is. Either way, I'm sure you will be happy to know your upgrade is done and your site is back online. SeNioR- 1
TDBF Posted February 3, 2022 Author Posted February 3, 2022 Marc, Thank you very much you are a gem! 1 minute ago, Marc Stridgen said: It seems there was an issue with your constants file and corrupt datastore entries. I have set that back to its default so if you had a specific datastore directory, you will need to redo that. If not, then leave it as it is. Either way, I'm sure you will be happy to know your upgrade is done and your site is back online. Thank you, Much appreciated, this install is from 3.4 and has a lot of entries from that version. Jim M and Marc 2
Recommended Posts