Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted January 13Jan 13 the upgrade from IPS 4.7.19 to 5.0 beta 10 hangs at the beginning of the process and generates an error message. I can neither retry nor continue the upgrade, nor can I go back to version 4.7.19 by uploading a buckup. here is the error Table 'monsite_forus.core_social_promote' doesn't exist #0 /home/monsite/public_html/forums/system/Db/Db.php(1838): IPS\Db->query() #1 /home/monsite/public_html/forums/system/Application/Application.php(1766): IPS\Db->renameTable() #2 /home/monsite/public_html/forums/applications/core/sources/Setup/Upgrade.php(565): IPS\Application->installDatabaseUpdates() #3 /home/monsite/public_html/forums/applications/core/sources/Setup/Upgrade.php(369): IPS\core\Setup\Upgrade->step1() #4 /home/monsite/public_html/forums/applications/core/modules/setup/upgrade/upgrade.php(60): IPS\core\Setup\Upgrade->process() #5 /home/monsite/public_html/forums/system/Helpers/MultipleRedirect/MultipleRedirect.php(104): IPS\core\modules\setup\upgrade\upgrade->IPS\core\modules\setup\upgrade\{closure}() #6 /home/monsite/public_html/forums/applications/core/modules/setup/upgrade/upgrade.php(90): IPS\Helpers\MultipleRedirect->__construct() #7 home/monsite/public_html/forums/system/Dispatcher/Controller.php(139): IPS\core\modules\setup\upgrade\upgrade->manage() #8 /home/monsite/public_html/forums/system/Dispatcher/Setup.php(261): IPS\Dispatcher\Controller->execute() #9 /home/monsite/public_html/forums/admin/upgrade/index.php(38): IPS\Dispatcher\Setup->run() #10 {main} /home/monsite/public_html/forums/applications//setup/upg_/queries.json - query #0
January 13Jan 13 5 hours ago, medbena said: I can neither retry nor continue the upgrade, nor can I go back to version 4.7.19 by uploading a buckup A little confused by the statement there. What is stopping you from going back to version 4.7.19? Have you upgraded your live site?
January 13Jan 13 6 hours ago, medbena said: Table 'monsite_forus.core_social_promote' doesn't exist #0 Try to re-add the aforementioned table and see if it would help. 6 hours ago, medbena said: nor can I go back to version 4.7.19 by uploading a buckup May I ask as to why you can't revert back to 4.1.9?
January 13Jan 13 I had this exact error message when I forgot to disable the third-party apps/plugins I used. Are you sure you've done this? The upgrade was flawless for me when I remembered to do this key step.
January 13Jan 13 Author 3 hours ago, Joey_M said: I had this exact error message when I forgot to disable the third-party apps/plugins I used. Are you sure you've done this? The upgrade was flawless for me when I remembered to do this key step. Yes I forget to disable third party apps. How to disable apps when I can't access to adminCP 11 hours ago, Marc said: Have you upgraded your live site? Yes 10 hours ago, Miss_B said: May I ask as to why you can't revert back to 4.1.9? I tried to go back but could not restore any backup giving this error message: Error: SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON Thanks to all
January 13Jan 13 4 minutes ago, medbena said: I tried to go back but could not restore any backup giving this error message: Error: SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON Thanks to all You would want to ask your hosting provider for assistance here with our backup if you attempted an upgrade of your live site. It is not recommended to upgrade live sites unless you are comfortable with errors that may come during a Beta phase.
January 13Jan 13 19 minutes ago, medbena said: I tried to go back but could not restore any backup giving this error message: Error: SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON That error indicates that the server is returning HTML instead of JSON. Can you check the response headers and status code of the server's response to see if there's any error being returned? The backup file, how was generated and how did you try to restore it? Can you give us some details on that?
January 14Jan 14 Please also ensure you are reverting both SQL and files back to their original state. Also if you updated PHP or anything like that, make sure those are switched to what was previously working
14 hours ago14 hr Author I am still not able to solve my problem, I have asked my host many times but does nothing, he thinks it is a problem with the software vendor.I was able to upload the backup of version 4.4.0, and deleted all third-party apps and plugins, all tables are in innoDB and in dynamic format, there are two core_social_promote [content and share] in the databasestill unable to upgrade to version 4.7.19 giving the same error message:Table '********_forus.core_social_promote' doesn't exist/home/*******/public_html/forums/applications//setup/upg_/queries.json - query #37Is there anyone who can guide me or help me? Thanks in advance
8 hours ago8 hr I would suggest getting back to that working state so we can take a look first of all. Once you get back to that working state, update all access details in the client area so we can take a look at your installation
7 hours ago7 hr You cannot upgrade to v5 from older versions than v4.5.0 (we’ll make that clear in the upgrader), you will need to upgrade to 4.7.* first.
3 hours ago3 hr Author Hi The only backup I was able to successfully upload is from version 4.4.0, all others return the message:Error: SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON4 hours ago, Stuart Silvester said:You cannot upgrade to v5 from older versions than v4.5.0Yes, I am trying upgrading to version 4.7.19 which I downloaded just yesterday.but the upgrader stops and cannot go furtherYou have an unfinished upgrade from 01/23/25 13:41
2 hours ago2 hr How are you restoring? Are you restoring both the files and the database? Asking as it sounds like you arent restoring everything fully. Also did you change anything else when you did your upgrade such as PHP version? (I suspect you will have), and did you also revert that back first? we need to get you on a working backup restore before anything else
2 hours ago2 hr Author I had the full backup downloaded from cpanel and uploaded by it , and only the 4.4.0 which supposedly works I thinkPHP version is 8.1, I tried 8.0 and it didn't change anything.
2 hours ago2 hr It sounds to me like you are also having issues with the PHP 8 versions, if you are having problems restoring later backups. When you switched, did you use the requirement checker to ensure everything was then still compatible?
1 hour ago1 hr Author All PHP 7 version are deprecated28 minutes ago, Marc said:When you switched, did you use the requirement checker to ensure everything was then still compatible?Yes, everything was checked, I didn't see anything wrong, I had only one remark, saying that PHP version 8.3 would be better but version 8.1 is compatible. the host does not offer version 8.35
1 hour ago1 hr As far as I recall:Version 4.4 doesn’t support PHP 8, which is why you need 7.4.However, support for PHP 7.4 was added in version 4.4.10, if you have a previous version, you might need an even older PHP version: https://invisioncommunity.com/release-notes/4410-r93/4.4.10 Release NotesAdded support for PHP 7.4PHP 8 was supported starting with version 4.6.Only version 4.7 supports PHP 8.1PHP 8.2+ is not supported by version 4, but only by the new 5.0.0 version.While it’s deprecated, if you want to restore your 4.4 version backup, you need to use 7.4 (or an earlier version if you’re not on 4.4.10). 🙄
57 minutes ago57 min Author 12 minutes ago, teraßyte said:While it’s deprecated, if you want to restore your 4.4 version backup, you need to use 7.4 (or an earlier version if you’re not on 4.4.10I just forgot to mention that version 7.4 return HTTP ERROR 500, I tried it twice
51 minutes ago51 min The same question as above applies here. Have you checked the requirement checker?