Jump to content

Recommended Posts

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?

Posted

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

 

Posted (edited)

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
Posted
15 minutes ago, beats23 said:

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

Posted

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.

Posted (edited)
21 minutes ago, beats23 said:

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
Posted (edited)

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
Posted
2 minutes ago, beats23 said:

No I meant using \define( 'USE_DEVELOPMENT_BUILDS', true ); in the constant.php file, so beta versions can be automatically installed from the ACP.

It s Ok, but my question - When will this Invision Community forum and we all move to V5 as a final product. Someone from the team told me in PM that the product will be ready in April, and now it is the middle of October.

Posted
2 hours ago, fileo said:

It s Ok, but my question - When will this Invision Community forum and we all move to V5 as a final product. Someone from the team told me in PM that the product will be ready in April, and now it is the middle of October.

We're in beta. Of course it depends on that testing.

In terms of the time scale, we did actually announce it was taking longer due to switching out the editor unfortunately. However its still much much faster than most

  • Management
Posted

It may never be possible to do an ACP upgrade for v5. Unpacking v5 files onto v4 will just cause more errors that ChatGPT trying to do basic math.

We may write something totally new to do it once v4 has reached EOL and is no longer an option.

If you're using Mac, then ditch MAMP and get Herd (don't worry, it's not Laravel only). I had nothing but trouble with MAMP, but I now use Herd locally with Dngin and my life has been so much better.

  • 2 months later...
Posted

@Matt

On 10/14/2024 at 6:55 PM, Matt said:

It may never be possible to do an ACP upgrade for v5. Unpacking v5 files onto v4 will just cause more errors that ChatGPT trying to do basic math.

We may write something totally new to do it once v4 has reached EOL and is no longer an option.

If you're using Mac, then ditch MAMP and get Herd (don't worry, it's not Laravel only). I had nothing but trouble with MAMP, but I now use Herd locally with Dngin and my life has been so much better.

 noob question, so we cannot upgrade v4 to v5? Sorry, i've been trying to check here how we are able to use v5 to test our forum? Like our v4 setup and want to test the v5 with our current setup and data?

- Allan

Posted (edited)
On 1/9/2025 at 10:27 AM, Marc said:

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
Posted

For Dev sites, use.

Quote
# Disable eventual Nexus payments
define( 'NEXUS_TEST_GATEWAYS', TRUE );

If you are 100% sure, I have found deleting the payment gateways in the test/dev area to be fine also. I don't think this would be recommended, but the code above didn't work for me due to my environment. It does if you are running NGINX.

Posted
On 1/11/2025 at 6:14 PM, Joey_M said:

If you are 100% sure, I have found deleting the payment gateways in the test/dev area to be fine also.

Absolutely do not do this with the paypal gateway. Deleting the method will actually go and cancel paypal subscriptions associated with it

Posted

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.

Posted

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.

 

Posted
17 minutes ago, Donnie95 said:

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.

This happened with me, provided the third-party apps/plugins are disabled prior to upgrading everything is okay with that process. Are you errors related to the header and footer?

These seem to be two persistent problems for me.

PS. Apologise about suggesting to delete the PayPal gateway process, it worked for me and I haven't had issues with the dev site. Yet I probably shouldn't have included it.

Posted
1 hour ago, Joey_M said:

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.

Posted
9 minutes ago, Donnie95 said:

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.

 

9 minutes ago, Donnie95 said:

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

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?

Posted
1 hour ago, Jim M said:

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

 

I will do more tests.

1 hour ago, Jim M said:

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...