Jump to content
You are viewing a curated collection of the most significant posts in this topic with an estimated read time of 11 minutes. The full topic contains 29 posts with an estimated read time of 39 minutes.

Featured Replies

Posted

Hi, I want to update to v5 beta on a backup of my website. I add \define( 'USE_DEVELOPMENT_BUILDS', true ); to the constant.php file, but the beta is not showing in the ACP.

How do I update my website copy?

  • Author

No luck with manual update. I get this error.

  [14-Oct-2024 07:45:14 UTC] PHP Warning:  require_once(../init.php): Failed to open stream: No such file or directory in /Users/booty/Sites/test45/admin/upgrade/index.php on line 14
  [14-Oct-2024 07:45:14 UTC] PHP Fatal error:  Uncaught Error: Failed opening required '../init.php' (include_path='.:/Applications/MAMP/bin/php/php8.2.20/lib/php') in /Users/booty/Sites/test45/admin/upgrade/index.php:14
  Stack trace:
  #0 {main}
    thrown in /Users/booty/Sites/test45/admin/upgrade/index.php on line 14

 

  • Author

I'll wait until the beta can be installed for the ACP.

Any idea when will the v5 beta can install from the ACP with automatic upgrade?

Edited by beats23

 

I'll wait until the beta can be installed for the ACP.

Any idea when will the v5 beta can install from the ACP with automatic upgrade?

It may be a manual upload yet. As Daniel mentioned, it does look like you didnt have all files there

  • Author

Pasting the upgrade files to my local MAMP folder gives issues on Apple Mac. When I paste the files I get an option to merge folders which I chose, then I chose overwrite files, but some files get deleted in the process.

 

Any idea when will the v5 beta can install from the ACP with automatic upgrade?

I think she is asking when we will be able to upgrade V5 as a final product. When will this Invision Community forum and we all move to V5.

Edited by fileo

  • Author

No, I meant when will we be able to use \define( 'USE_DEVELOPMENT_BUILDS', true ); in the constant.php file, so v5 beta version can be automatically installed from the ACP.

Edited by beats23

  • 2 months later...
 

You woud make a copy of your site first of all. Once you have done that, perform a manual upgrade

https://invisioncommunity.com/4guides/advanced-options/server-management/install-and-upgrade-r259/#manualupgrade

 

What about websites with subscriptions? This could lead to issues like double payments. Is there a method to create a copy of the site while completely disabling the payment gateway on the copy version? (I can’t disable it on the original site before making the copy.)

I'm worried that by the time I restore the database and log in to the ACP on the copied site, some subscriptions might renew in the meantime. (Before I delete the gateway)

Edited by Donnie95

I'm unable to run the upgrader, HTTP 500.

[13-Jan-2025 16:31:19 UTC] PHP Fatal error:  Uncaught ErrorException: Class IPS\Dispatcher could not be loaded. Ensure it is in the correct namespace. in /home/testing/htdocs/testing.com/init.php:749
Stack trace:
#0 [internal function]: IPS\IPS::errorHandler()
#1 /home/testing/htdocs/testing.com/init.php(749): trigger_error()
#2 /home/testing/htdocs/testing.com/init.php(816): IPS\IPS::autoloader()
#3 [internal function]: IPS\IPS::exceptionHandler()
#4 {main}
  thrown in /home/testing/htdocs/testing.com/init.php on line 749

I made a successful copy of my site, then disabled all custom apps and replaced the files with V5.

I may try again with Redis disabled, but it takes a long time to restore a 4GB database on a cheap VPS. If it doesn't work, I'll wait for the final version.

I was able to upgrade after trying a second time. I think it was not Redis, but the new files were improperly uploaded.

They asked me to alter many database tables, and one gave me an error because it already existed. There are a few upgrade errors in the system logs as well.

 

 

Are you errors related to the header and footer?

Screenshot2025-01-13183739.thumb.png.4ce13ceea785af694d267a5134a51617.png

There is also an issue with the theme editor, I can't load it, and the page keeps refreshing with 403 errors. It could be related to my Nginx config idk.

 

The 403 is coming from your server. You would want to check your configuration.

 

I will do more tests.

 

These seem like permission errors at the bottom. Please make sure that your MySQL user has full permissions. The top looks like you already tried to do an upgrade but it failed, did you restore at any point?

I did not tried any upgrade before because I was getting HTTP 500 error, so I deleted the files and the database and tried again.

The MYSQL user has full permissions.

Could it be because during the upgrade, the software asked me to manually run the MySQL commands? they already exist because I added them manually.

 

Those errors are coming from the upgrade process. Yes, they will likely have been because they have tried to be run twice. As you are now upgraded though, you dont need to worry about those

Ok thanks. 

Concerning the theme editor bug, it occurs when you open the theme editor with this setting is turned off.

Screenshot2025-01-14134230.png.077c64f8387bc5183e95282b1f9ea9b3.png

It was off by default on my upgraded site. You can't use your account until you turn it on again.

Edited by Donnie95

You need to check your server error logs on that one. If you are getting 403, then your server is actively denying access somewhere

Recently Browsing 0

  • No registered users viewing this page.