Jump to content

Self-Hosted - Upgrading from Old Version


Recommended Posts

SORRY - I did not realize there was a self-hosted sub forum. I couldn't find a way to delete this so please feel free to move it.

Hello! I am helping to upgrade an Invision Community from IPS Community Suite v4.1.16.1. I am aware it is very out of date.

The software will allow the upgrade up to 4.7.17 - however, when trying to proceed with the upgrade, it says it requires PHP 8.0.0.

Quote

 

 1C287/2 You are running PHP version 7.4.33. You need PHP 8.0.0 or above. You should contact your hosting provider or system administrator to ask for an upgrade. 

 

Unfortunately, when changing the PHP version on the server to 8.0 or higher, pages are just white/blank and so the site is unusable. I can get it up to PHP 7.4 and the community will continue to work.

Is there any way to upgrade to a certain point where both PHP 7.4 and PHP 8.0 are supported? (In hopes that I can upgrade to the latest possible IPS version on PHP 7.4, then change the server to PHP 8.0+ and continue upgrading IPS)

Thank you for your help!

Edited by CPTDB
Link to comment
Share on other sites

3 minutes ago, Adlago said:

Try after switching to PHP 8.0, enter in address bar browser

https://yoursite/admin/upgrade

Thank you so much for the suggestion! Unfortunately, that also displays blank white pages.

Link to comment
Share on other sites

Thank you for the link! It is all green.

Relating to MySQL requirements, the server has the following which is fine for my other Invision community:

Server version: 10.6.18-MariaDB-cll-lve - MariaDB Server

Could contain: Page, Text, File

Link to comment
Share on other sites

You would want to run that in the same directory which your Invision Community software is running. That will verify the MySQL with your conf_global.php file.

Link to comment
Share on other sites

23 hours ago, teraßyte said:

Since you're also switching the PHP version you need to do a manual upgrade. The automatic upgrade from the ACP won't work in this case.

 

Here's a link to the guide: https://invisioncommunity.com/4guides/advanced-options/server-management/install-and-upgrade-r259/#manualupgrade

Thanks for this!

I am making some progress and am able to get the /admin/upgrade loading after replacing the files with the latest and changing the server PHP version to 8.0.

But the error preventing me from proceeding now is:

Quote

File Check

Some source files are not correct for the current version. If you uploaded the files to your server manually, the process may have failed or not completed yet. Download the latest version from your client area and upload the files again in order to continue.

Go To Client Area

If you are sure the files have been uploaded correctly, make sure the permissions are set correctly on them.

The files are all in the "cms" application, so I am not sure if that is now deprecated.

I tried to remove the /cms directory altogether (since is is not present in the latest version) but the errors still show up.

Is there a file where included applications are specified and that I could remove the cms application?

Thanks again for all your help!!

-----

File list below in which it is giving errors


public_html/applications/cms/Application.php
public_html/applications/cms/api/categories.php
public_html/applications/cms/api/comments.php
public_html/applications/cms/api/databases.php
public_html/applications/cms/api/records.php
public_html/applications/cms/api/reviews.php
public_html/applications/cms/extensions/core/ContentRouter/Pages.php
public_html/applications/cms/extensions/core/ContentRouter/Records.php
public_html/applications/cms/extensions/core/CreateMenu/Records.php
public_html/applications/cms/extensions/core/DesignersMode/Cms.php
public_html/applications/cms/extensions/core/EditorLocations/BlockContent.php
public_html/applications/cms/extensions/core/EditorLocations/Records.php
public_html/applications/cms/extensions/core/EditorLocations/Widgets.php
public_html/applications/cms/extensions/core/FileStorage/Media.php
public_html/applications/cms/extensions/core/FileStorage/Pages.php
public_html/applications/cms/extensions/core/FileStorage/Records.php
public_html/applications/cms/extensions/core/FrontNavigation/Pages.php
public_html/applications/cms/extensions/core/MemberSync/Databases.php
public_html/applications/cms/extensions/core/ModeratorPermissions/Databases.php
public_html/applications/cms/extensions/core/OutputPlugins/Block.php
public_html/applications/cms/extensions/core/OutputPlugins/Database.php
public_html/applications/cms/extensions/core/OutputPlugins/Media.php
public_html/applications/cms/extensions/core/OutputPlugins/Pageurl.php
public_html/applications/cms/extensions/core/OutputPlugins/Widget.php
public_html/applications/cms/extensions/core/Queue/ConvertPages.php
public_html/applications/cms/extensions/core/Queue/FixCommentAttachments.php
public_html/applications/cms/extensions/core/Queue/MoveComments.php
public_html/applications/cms/extensions/core/Queue/MoveSingleRecord.php
public_html/applications/cms/extensions/core/Queue/RebuildCategories.php
public_html/applications/cms/extensions/core/Queue/RebuildCommentLikes.php
public_html/applications/cms/extensions/core/Queue/RebuildEditorFields.php
public_html/applications/cms/extensions/core/Queue/RebuildReciprocalMaps.php
public_html/applications/cms/extensions/core/Queue/RebuildRecords.php
public_html/applications/cms/extensions/core/Queue/ResyncTopicContent.php
public_html/applications/cms/extensions/core/RssImport/RssImport.php
public_html/applications/cms/extensions/core/Sitemap/Databases.php
public_html/applications/cms/extensions/core/Sitemap/Pages.php
public_html/applications/cms/extensions/core/Uninstall/Databases.php
public_html/applications/cms/extensions/core/Uninstall/Widgets.php
public_html/applications/cms/hooks/Database.php
public_html/applications/cms/hooks/Forum.php
public_html/applications/cms/hooks/FriendlyUrl.php
public_html/applications/cms/hooks/InternalUrl.php
public_html/applications/cms/hooks/Lang.php
public_html/applications/cms/hooks/Output.php
public_html/applications/cms/hooks/Parser.php
public_html/applications/cms/hooks/Post.php
public_html/applications/cms/hooks/Theme.php
public_html/applications/cms/hooks/Topic.php
public_html/applications/cms/hooks/Url.php
public_html/applications/cms/hooks/Widget.php
public_html/applications/cms/hooks/apiForum.php
public_html/applications/cms/hooks/forums.php
public_html/applications/cms/hooks/topics.php
public_html/applications/cms/interface/developer/developer.php
public_html/applications/cms/interface/external/external.php
public_html/applications/cms/interface/file/file.php
public_html/applications/cms/modules/admin/databases/categories.php
public_html/applications/cms/modules/admin/databases/databases.php
public_html/applications/cms/modules/admin/databases/fields.php
public_html/applications/cms/modules/admin/databases/records.php
public_html/applications/cms/modules/admin/pages/ajax.php
public_html/applications/cms/modules/admin/pages/blocks.php
public_html/applications/cms/modules/admin/pages/media.php
public_html/applications/cms/modules/admin/pages/pages.php
public_html/applications/cms/modules/admin/pages/templates.php
public_html/applications/cms/modules/front/database/ajax.php
public_html/applications/cms/modules/front/database/category.php
public_html/applications/cms/modules/front/database/index.php
public_html/applications/cms/modules/front/database/record.php
public_html/applications/cms/modules/front/database/topic.php
public_html/applications/cms/modules/front/pages/builder.php
public_html/applications/cms/modules/front/pages/page.php
public_html/applications/cms/setup/upg_100003/upgrade.php
public_html/applications/cms/setup/upg_100008/upgrade.php
public_html/applications/cms/setup/upg_100010/upgrade.php
public_html/applications/cms/setup/upg_100011/upgrade.php
public_html/applications/cms/setup/upg_100015/upgrade.php
public_html/applications/cms/setup/upg_100018/upgrade.php
public_html/applications/cms/setup/upg_100023/upgrade.php
public_html/applications/cms/setup/upg_100025/upgrade.php
public_html/applications/cms/setup/upg_100026/upgrade.php
public_html/applications/cms/setup/upg_100028/upgrade.php
public_html/applications/cms/setup/upg_100030/upgrade.php
public_html/applications/cms/setup/upg_100035/upgrade.php
public_html/applications/cms/setup/upg_100041/upgrade.php
public_html/applications/cms/setup/upg_100044/upgrade.php
public_html/applications/cms/setup/upg_101000/upgrade.php
public_html/applications/cms/setup/upg_101021/upgrade.php
public_html/applications/cms/setup/upg_101026/upgrade.php
public_html/applications/cms/setup/upg_101034/upgrade.php
public_html/applications/cms/setup/upg_101056/upgrade.php
public_html/applications/cms/setup/upg_101064/upgrade.php
public_html/applications/cms/setup/upg_101071/upgrade.php
public_html/applications/cms/setup/upg_101079/upgrade.php
public_html/applications/cms/setup/upg_101088/upgrade.php
public_html/applications/cms/setup/upg_101090/upgrade.php
public_html/applications/cms/setup/upg_101100/upgrade.php
public_html/applications/cms/setup/upg_101105/upgrade.php
public_html/applications/cms/setup/upg_102030/upgrade.php
public_html/applications/cms/setup/upg_103000/upgrade.php
public_html/applications/cms/setup/upg_103004/upgrade.php
public_html/applications/cms/setup/upg_104000/upgrade.php
public_html/applications/cms/setup/upg_104009/upgrade.php
public_html/applications/cms/setup/upg_104030/upgrade.php
public_html/applications/cms/setup/upg_105013/upgrade.php
public_html/applications/cms/setup/upg_106100/upgrade.php
public_html/applications/cms/setup/upg_107022/upgrade.php
public_html/applications/cms/setup/upg_107620/upgrade.php
public_html/applications/cms/setup/upg_11002/upgrade.php
public_html/applications/cms/setup/upg_11003/upgrade.php
public_html/applications/cms/setup/upg_20000/upgrade.php
public_html/applications/cms/setup/upg_23002/upgrade.php
public_html/applications/cms/setup/upg_40000/options.php
public_html/applications/cms/setup/upg_40000/upgrade.php
public_html/applications/cms/sources/Blocks/Block.php
public_html/applications/cms/sources/Blocks/Container.php
public_html/applications/cms/sources/Categories/Categories.php
public_html/applications/cms/sources/Databases/Controller.php
public_html/applications/cms/sources/Databases/Databases.php
public_html/applications/cms/sources/Databases/Dispatcher.php
public_html/applications/cms/sources/Fields/Fields.php
public_html/applications/cms/sources/Fields/Soundcloud.php
public_html/applications/cms/sources/Fields/Spotify.php
public_html/applications/cms/sources/Fields/Youtube.php
public_html/applications/cms/sources/Media/Folder.php
public_html/applications/cms/sources/Media/Media.php
public_html/applications/cms/sources/Pages/Folder.php
public_html/applications/cms/sources/Pages/Page.php
public_html/applications/cms/sources/Pages/PageItem.php
public_html/applications/cms/sources/Pages/Router.php
public_html/applications/cms/sources/Records/Comment.php
public_html/applications/cms/sources/Records/CommentTopicSync.php
public_html/applications/cms/sources/Records/Records.php
public_html/applications/cms/sources/Records/Review.php
public_html/applications/cms/sources/Records/Revisions.php
public_html/applications/cms/sources/Selector/Categories.php
public_html/applications/cms/sources/Selector/Databases.php
public_html/applications/cms/sources/Templates/Container.php
public_html/applications/cms/sources/Templates/Templates.php
public_html/applications/cms/sources/Theme/Advanced/Theme.php
public_html/applications/cms/sources/Theme/Template.php
public_html/applications/cms/sources/Theme/Theme.php
public_html/applications/cms/sources/Widget/Widget.php
public_html/applications/cms/tasks/updaterecords.php
public_html/applications/cms/widgets/Blocks.php
public_html/applications/cms/widgets/Categories.php
public_html/applications/cms/widgets/Database.php
public_html/applications/cms/widgets/DatabaseFilters.php
public_html/applications/cms/widgets/RecordFeed.php
public_html/applications/cms/widgets/Rss.php
public_html/applications/cms/widgets/Wysiwyg.php
public_html/applications/cms/widgets/pagebuilderoembed.php
public_html/applications/cms/widgets/pagebuildertext.php
public_html/applications/cms/widgets/pagebuilderupload.php
 

Link to comment
Share on other sites

You are not licensed for Pages so you would need to revert back to your previous file set from the backup you took prior to starting and uninstall Pages and any other application you have installed that you are not licensed for.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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