Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt November 11, 2024
beats23 Posted October 13, 2024 Posted October 13, 2024 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?
teraßyte Posted October 13, 2024 Posted October 13, 2024 Most likely v5 is not included in the v4 beta check. Download the ZIP file from your client area and do a manual upgrade. Randy Calvert and Joey_M 1 1
beats23 Posted October 14, 2024 Author Posted October 14, 2024 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
Daniel F Posted October 14, 2024 Posted October 14, 2024 Looks like you haven't uploaded all the files
beats23 Posted October 14, 2024 Author Posted October 14, 2024 (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 October 14, 2024 by beats23
Marc Posted October 14, 2024 Posted October 14, 2024 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
beats23 Posted October 14, 2024 Author Posted October 14, 2024 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.
fileo Posted October 14, 2024 Posted October 14, 2024 (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 October 14, 2024 by fileo
beats23 Posted October 14, 2024 Author Posted October 14, 2024 (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 October 14, 2024 by beats23
fileo Posted October 14, 2024 Posted October 14, 2024 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.
Marc Posted October 14, 2024 Posted October 14, 2024 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 Matt Posted October 14, 2024 Management Posted October 14, 2024 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. beats23, Stuart Silvester, abobader and 1 other 3 1
Allan - TheTechTribe Posted Thursday at 06:56 AM Posted Thursday at 06:56 AM @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
Marc Posted Thursday at 09:27 AM Posted Thursday at 09:27 AM 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 Allan - TheTechTribe 1
Donnie95 Posted Saturday at 03:32 AM Posted Saturday at 03:32 AM (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 Saturday at 03:35 AM by Donnie95
Richard Arch Posted Saturday at 04:02 PM Posted Saturday at 04:02 PM @Donnie95 Have read through here, it may help to answer some of your concerns. Donnie95 1
Joey_M Posted Saturday at 06:14 PM Posted Saturday at 06:14 PM 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. Donnie95 1
Marc Posted yesterday at 10:20 AM Posted yesterday at 10:20 AM 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 Donnie95, Joey_M and teraßyte 2 1
Donnie95 Posted yesterday at 04:44 PM Posted yesterday at 04:44 PM 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.
Marc Posted yesterday at 04:56 PM Posted yesterday at 04:56 PM 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
Donnie95 Posted yesterday at 05:47 PM Posted yesterday at 05:47 PM 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.
Joey_M Posted yesterday at 06:07 PM Posted yesterday at 06:07 PM 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.
Donnie95 Posted yesterday at 07:15 PM Posted yesterday at 07:15 PM 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.
Jim M Posted yesterday at 07:25 PM Posted yesterday at 07:25 PM 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?
Donnie95 Posted yesterday at 09:08 PM Posted yesterday at 09:08 PM 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.
Recommended Posts