Jump to content

Featured Replies

Posted

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
 

2025-01-11_18-26-21_IPS V5  Upgrade.png

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?

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? 

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.

  • 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

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.

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? 

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

  • 2 weeks later...
  • 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 database

still 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 #37

Is there anyone who can guide me or help me? Thanks in advance

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

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.

  • 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 JSON

4 hours ago, Stuart Silvester said:

You cannot upgrade to v5 from older versions than v4.5.0

Yes, I am trying upgrading to version 4.7.19 which I downloaded just yesterday.

but the upgrader stops and cannot go further

  • You have an unfinished upgrade from 01/23/25 13:41

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

  • Author

I had the full backup downloaded from cpanel and uploaded by it , and only the 4.4.0 which supposedly works I think

PHP version is 8.1, I tried 8.0 and it didn't change anything.

Switch back to PHP 7.4 for version 4.4.0.

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?

  • Author

All PHP 7 version are deprecated

28 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

As far as I recall:

  • Version 4.4 doesn’t support PHP 8, which is why you need 7.4.

  • PHP 8 was supported starting with version 4.6.

  • Only version 4.7 supports PHP 8.1

  • PHP 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). 🙄

  • 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.10

I just forgot to mention that version 7.4 return HTTP ERROR 500, I tried it twice

The same question as above applies here. Have you checked the requirement checker?

Recently Browsing 0

  • No registered users viewing this page.