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
Yesterday at 02:57 AM1 day 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
Yesterday at 08:11 AM1 day 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
Yesterday at 09:17 AM1 day 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.
Yesterday at 01:47 PM1 day 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
Yesterday at 02:08 PM1 day 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
Yesterday at 02:34 PM1 day 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.
Yesterday at 02:51 PM1 day 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?
Yesterday at 03:31 PM1 day 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
Yesterday at 03:42 PM1 day 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). 🙄
Yesterday at 04:01 PM1 day 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
Yesterday at 04:08 PM1 day The same question as above applies here. Have you checked the requirement checker?
Yesterday at 05:36 PM1 day 32 minutes ago, medbena said:IHow to perform the requirement checker for 4.7.19 ?Have a look here: Edited yesterday at 05:37 PM1 day by Miss_B
23 hours ago23 hr Author MerciYes I did all that, but how to run it too see the content in green? if from forums/admin/upgrade, does not work for meI always thought that requirements check is this:
22 hours ago22 hr 1 hour ago, medbena said:Yes I did all that, but how to run it too see the content in green?You must upload the requirement tool inside the root folder of your forum and point your browser to it.1 hour ago, medbena said:I always thought that requirements check is this:That’s the upgrade page. The error you are getting with the upgrade is due to a missing database table. Try to add it in the database and give the upgrade another go. Edited 22 hours ago22 hr by Miss_B