Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
jimkeypro Posted March 25 Posted March 25 (edited) Hello everyone, we are trying to get a test install up and running but I have ran into a few issues I requested a backup of the site files and DB from invision. The sites data is stored on S3 I downloaded a copy of the invision software and uploaded the zip to my doc root, files exacted, a new MySQL DB was created and data imported created a conf_global.php in the doc root updated with the local MySQL DB credentials and site URL. plugins & applications folder dropped in the doc root as well. The site comes up with what I would think are minor issues, some icons are not showing and menu items. The site is pulling everything from the S3 buckets set on the live site. we will use a s3 compatible storage providers new bucket added to test site. My main question is would the software move or copy over all of the site data to the new bucket once I change the location because I don't want any data lost on the live site or should I upload the data to the new s3 compatible bucket manually? The next question is this what is the correct way to restore from a cloud instants backup to self-hosted? All help will be greatly appreciated Edited March 25 by jimkeypro
Randy Calvert Posted March 25 Posted March 25 You will want to make sure you have a self-hosted license. Once you have made sure your new self-hosted server meets the IBP requirements, you would import your database and make sure all of the IPB files are uploaded to your site. You would also make sure all of the variables in conf_global.php are correct. If your cloud instance was not the latest version you might also need to run yourdomain.com/admin/upgrade.
jimkeypro Posted March 25 Author Posted March 25 (edited) Yes we have a self-hosted license,need to check the cloud instance version Edited March 25 by jimkeypro
jimkeypro Posted March 25 Author Posted March 25 The version was not the same running updates Some applications are not compatible with the core. You need to upgrade all applications in the suite, otherwise the following applications will be disabled: __app_cloud __app_convert
Randy Calvert Posted March 25 Posted March 25 Convert is the converters. When you download the IPB files you need to choose to include the converters. I believe for the cloud app, just delete the existing folder in the applications folder.
jimkeypro Posted March 25 Author Posted March 25 OK thanks, I ran the updates that fixed the issues with icons and menu items Just need to move the content over to the new s3 bucket. It says the site can copy it in a background process but im not sure if it will remove anything from the old buckets or just make a copy.
Daniel F Posted March 25 Posted March 25 It's going to move then and once they were moved, they'll be deleted. BUT please be careful if you're using Forum Cover Images, they'll not be moved correctly due to a bug in the current release ( this will be fixed in the next release)
jimkeypro Posted March 26 Author Posted March 26 Thanks everyone for the help restore almost done got this error when I tried to re-upload an image InvalidArgumentException: (0) #0 /home/kxxxx/kxxxx.kxxxx.com/system/File/File.php(1573): IPS\_Image::create('<?xml version="...') #1 /home/kxxxx/kxxxx.kxxxx.com/applications/core/modules/front/members/profile.php(1416): IPS\_File->thumbnail('core_Profile', 240, 240, true) #2 /home/kxxxx/kxxxx.kxxxx.com/system/Dispatcher/Controller.php(107): IPS\core\modules\front\members\_profile->editPhoto() #3 /home/kxxxx/kxxxx.kxxxx.com/applications/core/modules/front/members/profile.php(81): IPS\Dispatcher\_Controller->execute() #4 /home/kxxxx/kxxxx.kxxxx.com/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\front\members\_profile->execute() #5 /home/kxxxx/kxxxx.kxxxx.com/index.php(13): IPS\_Dispatcher->run() #6 {main}
jimkeypro Posted March 26 Author Posted March 26 (edited) Its a jpg, i just did a test post with an image that works fine its only when I try to upload the profile image is when I get this error Edited March 26 by jimkeypro
Marc Posted March 26 Posted March 26 I would suggest then also checking on your server error logs to see if you see anything happening there when you upload in the first instance
jimkeypro Posted March 26 Author Posted March 26 (edited) BACKTRACE #0 /home/kxxxx/kxxxx.kxxxx.com/init.php(1036): IPS\_Log::log('InvalidArgument...', 'uncaught_except...') #1 [internal function]: IPS\IPS::exceptionHandler(Object(InvalidArgumentException)) #2 {main} LOADED HOOKS applications/communitymap/hooks/systemMember.php applications/classifieds/hooks/clAccountSettingsFURL.php applications/classifieds/hooks/clProfileMemberStore.php applications/communitymap/hooks/coreModuleFrontMembersProfile.php Could this be a PHP issue, nothing found in the server logs, but the found this in the admin panel log running PHP 8.2 Edited March 26 by jimkeypro
jimkeypro Posted March 26 Author Posted March 26 Could this be a PHP issue, nothing found in the server logs, but the found this in the admin panel log
Jim M Posted March 26 Posted March 26 7 minutes ago, jimkeypro said: running PHP 8.2 PHP 8.2 is not supported. Only PHP 8.0 and 8.1 are at this time.
jimkeypro Posted March 26 Author Posted March 26 ok lets try dropping it to 8.1, it gave me a 500 error last i checked on 8
Randy Calvert Posted March 26 Posted March 26 I’m assuming you did run the compatibility checker script to make sure your new host has all of the required modules when you changed the php version also.
Marc Posted March 26 Posted March 26 ^ this is correct. If you change PHP version, run the requirement checker again. This is because some of these are PHP modules, so they may be enabled on some versions on your server, and not on others
jimkeypro Posted March 26 Author Posted March 26 OK ran the requirement checker again OK i'm starting to think its a plugin causing issues, I when to get support in the admin panel it said I need to run updates again even tho I'm on the latest version I started it but now I get errors. for Membermap
teraßyte Posted March 26 Posted March 26 Member Map is an old modification that's been abandoned. There is a new application for it called Community Map: https://www.invisioneer.org/files/file/376-community-map/
jimkeypro Posted March 26 Author Posted March 26 OK great, did not know about that, how do I get pass this part now that the upgrade has started is their a way to restart it?
Recommended Posts