HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS. ocPortal 9 is superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Broke site while trying to migrate to Composr

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#112108 (In Topic #22581)

Honoured member

Hi gang, I tried migrating chipandtracy.com to composr and totally screwed the pooch. Of course, since I was doing this under a time crunch I didn't take a backup of my site. The message I received while trying to migrate was:

Code

We have done the low-risk updating, and now we need to proceed with the full extraction of 551 new/updated files. It will be performed in the frame below that will work through the files in steps. Wait until all files are checked and it says "Done!" beneath them. If the extraction doesn't progress, check to see if you have any browser addons blocking refreshes.
ocPortal upgrader
 
Warning: require_once(/home/catcom/public_html/sources/crypt_master.php): failed to open stream: No such file or directory in /home/catcom/public_html/data/upgrader2.php on line 263
 
 
Fatal error: require_once(): Failed opening required '/home/catcom/public_html/sources/crypt_master.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/catcom/public_html/data/upgrader2.php on line 263
 

During the upgrade process I saw the message that files were being packed for possible uninstall. Have I totally blew things, or is there a way through ocportal of recovery? Thanks a ton in advance.
Back to the top
 
Posted
Rating:
#112109
Avatar

Oh dear :(.

There was a bug in versions of ocPortal under 9.0.33 which causes the upgrader to update part of itself too early.

I wish you had a backup, then I could just tell you to restore that backup and then copy the fixed data/upgrader2.php from the latest v9 (https://raw.githubusercontent.com/chrisgraham/ocPortal/v9/data/upgrader2.php) and re-do the upgrade.

I suggest extracting the manual installation package of Composr, minus _config.php and install.php. Then go into the upgrader and run the integrity tools etc as if you were continuing the upgrade after the file extraction step.

This is not perfect because if you've uninstalled bundled addons there could be some problems with those now having files but no database tables.
Sometimes this will fix itself though when you do the database upgrade step.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Support me on Patreon
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#112110
Avatar

Oh pause on that, your upgrader may still be working. In which case replace upgrader2.php as identified in my post above, and then just restart your upgrade process.

data/upgrader2.php is an early file, so I think you're probably fine.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Support me on Patreon
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#112113

Honoured member

Heck I'll be no worse off than I am now if it doesn't work, so I'm willing to give it a shot. I didn't take a backup thinking I still had one from where I moved host a month or so ago. However, I can't seem to find that backup. I'm always telling everyone I know, backup, backup, backup, and after you have done that to make another. Guess I should listen to my own advice.


Thanks Chris.
Back to the top
 
Posted
Rating:
#112123

Honoured member

Ok, well I tried what Chris suggested and no go. Before I totally have trash the site and start over, any ideas? I'm praying someone does. My site contains years of my uncles writings, and he passed away last year and I'm not even sure I have a way of coming up with his material over to re-post. I'd hate to loose it.
Back to the top
 
Posted
Rating:
#112124

Honoured member

Ok, well that was fun. I contacted my host and thanks the Lord they had a backup from the 1st of June. Back to rockin'
Back to the top
 
Posted
Rating:
#112126
Avatar

Ok, I'm glad you got it resolved :).


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Support me on Patreon
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: