Forum
Perch Upgrade App
I am aware that the Upgrade App is no longer officially supported. I am in the process of upgrading a site for a client from V1. Everything is set to go per the upgrade instructions, but when clicking on the Upgrade app in perch, all it displays is 'Upgrading a site'. When I visit the actual site, I am seeing the below error.
Warning: include(/home/rivera14/public_html/perch/addons/apps/perch_upgrade/runtime.php) [function.include]: failed to open stream: No such file or directory in /home/rivera14/public_html/perch/core/inc/apps.php on line 22
Warning: include() [function.include]: Failed opening '/home/rivera14/public_html/perch/addons/apps/perch_upgrade/runtime.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/rivera14/public_html/perch/core/inc/apps.php on line 22
Is there anyway to still upgrade from V1 to V2? What am I missing here? Any help would be greatly appreciated.
Is this file in place?
No it is not. I redownloaded the upgrade app again and it is not in there. Are there any contents of this file or is it a blank on that If i add, will allow the app to work?
Oh, of course. There's no need for it. Have you mistakenly added the Upgrade app to your
config/apps.php
file? If so, remove it.Yes I did add it to the apps.php file and it has now been removed. I was under the assumption it behaved just as the other apps. The documentation for the upgrade app is not listed from what I was seeing so was feeling my way around in the dark.
I'm still only seeing the 'Upgrading a site' when clicking on the Upgrade App inside of perch.
What's in your error log?
I'm not seeing an error log. Below is the information from the diagnostics report (extended).
Perch: 2.8.11 Production mode: Production (100) Installed apps: content (2.8.11), assets (2.8.11), categories (2.8.11), perch_forms (1.8.3), perch_upgrade (1.6) DB driver: PDO DB tables: perch2_categories, perch2_category_counts, perch2_category_sets, perch2_content_index, perch2_content_items, perch2_content_regions, perch2_forms, perch2_forms_responses, perch2_navigation, perch2_navigation_pages, perch2_page_templates, perch2_pages, perch2_resource_log, perch2_resource_tags, perch2_resources, perch2_resources_to_tags, perch2_settings, perch2_user_privileges, perch2_user_role_privileges, perch2_user_roles, perch2_users Users: 1 App runtimes:
Hosting settings
Was thinking through this, and just wanted to confirm that the V2 install is supposed to use a new database instead of the one being used in V1?
Is there anyway you could send me a link to the documentation for the Upgrade App?
It generally uses the same database, but prefixes the tables differently.
https://docs.grabaperch.com/docs/upgrading-perch/upgrading-from-perch-1/
Ok. Should I change the V2 to use the same database then? Per those instructions, it said install V2 as a new install so I created a new database for it to pull from.
Any ideas as to what step I'm going wrong at?
So I solved the issue. I guess I misunderstood the instructions for upgrading. Instead of installing V2 as a fresh 'new' install complete with a new database, I needed to use the existing database credentials that V1 was using. After making the DB updates in the config of V2 and then conducting the setup process again, the three import buttons appeared and the site is now upgraded.
I appreciate the quick responses by both Drew and Rachel! You both have created a great product that I've used on over 10 projects and have referred to many other developer friends of mine. Keep up the good work and thanks again!!