Upgrading local dev server on mac ... v3.12 (Build 2163) to 3.71 using local Mac finder, can't use merge or replace option

3 posts by 2 authors in: Forums > CMS Builder
Last Post: September 12   (RSS)

Hi there. Been a loyal CMSBuilder fan for years now. I am having an issue upgrading on my local dev machine. M3 Mac Sonoma 14.6.1. I am using MAMP for my PHP/MySQL server.

When I try to drag the new cmsb folder into my old directory, I get only stop and replace option. Replace removes all the old files and re-writes the directories like it is a new install. So, I tried to copy/paste into the folder which gives me a merge option... but since I just pulled these old site files down via FTP to my machine, the 'old' files are actually newer than the upgrade files from June.

Any thoughts on this? Do I have to FTP the cmsb upgrade files up to the production site to upgrade? I have made backups of everything, but yikes, it would be better for me to upgrade locally to make sure all works with PHP 8.2 before pushing to prod.

Just wondering if you all have had this issue when upgrading on a mac dev machine and possibly used some other method to upgrade CMSB on a mac using MAMP.

Thanks!

Hi netsoftservices,

We've seen that on occasion where FTP or other apps try to replace instead of merge.  You want to merge so any old files are left as-is and only the files you're copying over get updated.

Here's the process I usually follow when upgrading a local CMSB copy: 

  • Backup my local /cmsb/ folder and database (either via CMSB Backup menu or phpMyAdmin)
  • Unzip the latest version and copy and paste the /cmsb/ folder to my local /cmsb/ folder (making sure to merge so unique old files aren't removed)
  • Access your admin.php on your local web server to automatically run any upgrade code.

CMS Builder is designed so that overwriting any program files shouldn't remove any of your existing data.  

Give it a try and let me know any questions.

Hope that helps!

Dave Edis - Senior Developer
interactivetools.com