Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted October 13, 2024Oct 13 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?
October 13, 2024Oct 13 Most likely v5 is not included in the v4 beta check. Download the ZIP file from your client area and do a manual upgrade.
October 14, 2024Oct 14 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
October 14, 2024Oct 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 October 14, 2024Oct 14 by beats23
October 14, 2024Oct 14 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
October 14, 2024Oct 14 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.
October 14, 2024Oct 14 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 October 14, 2024Oct 14 by fileo
October 14, 2024Oct 14 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 October 14, 2024Oct 14 by beats23
October 14, 2024Oct 14 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.
October 14, 2024Oct 14 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
October 14, 2024Oct 14 Management 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.
January 9Jan 9 @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
January 9Jan 9 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
January 11Jan 11 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 January 11Jan 11 by Donnie95
January 11Jan 11 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.
January 13Jan 13 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
January 13Jan 13 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.
January 13Jan 13 I would advise on trying again yes. Make sure you have the v4 site up and running entirely, and copy files over the v4 instance, then upgrade
January 13Jan 13 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.
January 13Jan 13 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.
January 13Jan 13 1 hour ago, Joey_M said: Are you errors related to the header and footer? 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.
January 13Jan 13 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: 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?
January 13Jan 13 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.