Page 1 of 1
1.5.2 to 1.6.7 / 1.7 - viable? [ANSWERED: YES]
Posted: Wed Mar 24, 2010 10:46 pm
by AlasdairGF
Hi all - so like many others, the site was working fine so I ignored it longer than I should have. I know. I've got to that point where I really need to upgrade to make use of new modules to replace some that aren't getting updated any more (e.g. old blogs module).
Without getting too detailed, assuming my host meets all the min specs (which I think they do), how likely is it that I'll be able to install 1.7 or 1.6.7 directly over my current 1.5.2 site without any major problems? I read somewhere on the site that one can only install over if < 2 versions old (I'm assuming that's like 1.6.4 to 1.6.6 rather than 1.5 to 1.7), but I'm hoping that this involves a built-in idiot margin that I might be able to ignore.
Any guesses? Won't take anything as a guarantee or promise, I assure you!
Re: 1.5.2 to 1.6.7 / 1.7 - viable?
Posted: Thu Mar 25, 2010 3:26 am
by Dr.CSS
I've upgraded 1.0.8 sites to 1.6.* with no problem...
Re: 1.5.2 to 1.6.7 / 1.7 - viable?
Posted: Thu Mar 25, 2010 3:57 am
by replytomk3
Re: 1.5.2 to 1.6.7 / 1.7 - viable?
Posted: Thu Mar 25, 2010 9:12 am
by AlasdairGF
Oh no, that link was really helpful - what happened to that page?
If I remember rightly from last night, the basic steps were:
- - Back up everything - everything! - also keeping copies of all templates, custom stylesheets, whatever in text file(s) - as you outlined in your backup instructions - also any custom mods you made to the code in your old install (hmmm I may not have kept a proper audit trailt there... offs I make life hard for myself)
- - Download and overwrite the current install with the 1.6 full install... go to yoursite.com/install.php (or whatever subdir you have). At stage 5 of the install process, make sure that you deselect the option to create tables and install default content
- - Then untar the incremental files cmsmadesimple-base-diff-1.6-1.6.5.tar.gz, cmsmadesimple-full-diff-1.6.5-1.6.6.tar.gz, cmsmadesimple-full-diff-1.6.6-1.6.7.tar.gz
- - Make sure everything's OK, check you're up to spec for 1.7 (e.g. PHP>4 etc), then untar the final incremental, cmsmadesimple-full-diff-1.6.7-1.7.tar.gz.
The original list had 10 steps in it, so I'm pretty sure I'm missing something vital!
Hopefully I'm getting this done on the weekend (hobbyist here), if I run into probs I'll update.
((Grrr can't get the list to work here))
Re: 1.5.2 to 1.6.7 / 1.7 - viable?
Posted: Thu Mar 25, 2010 9:14 am
by AlasdairGF
Dr.CSS wrote:
I've upgraded 1.0.8 sites to 1.6.* with no problem...
That's exactly the reassurance I was after! Cheers...
Re: 1.5.2 to 1.6.7 / 1.7 - viable?
Posted: Thu Mar 25, 2010 7:03 pm
by replytomk3
AlasdairGF wrote:
Oh no, that link was really helpful - what happened to that page?
If I remember rightly from last night, the basic steps were:
- - Back up everything - everything! - also keeping copies of all templates, custom stylesheets, whatever in text file(s) - as you outlined in your backup instructions - also any custom mods you made to the code in your old install (hmmm I may not have kept a proper audit trailt there... offs I make life hard for myself)
- - Download and overwrite the current install with the 1.6 full install... at this stage, when installing make sure that you deselect the option to install the default/example content
- - Then untar the incremental files cmsmadesimple-base-diff-1.6-1.6.5.tar.gz, cmsmadesimple-full-diff-1.6.5-1.6.6.tar.gz, cmsmadesimple-full-diff-1.6.6-1.6.7.tar.gz
- - Make sure everything's OK, check you're up to spec for 1.7 (e.g. PHP>4 etc), then untar the final incremental, cmsmadesimple-full-diff-1.6.7-1.7.tar.gz.
The original list had 10 steps in it, so I'm pretty sure I'm missing something vital!
Hopefully I'm getting this done on the weekend (hobbyist here), if I run into probs I'll update.
((Grrr can't get the list to work here))
I don't know why that thread has been removed. I contacted someone about it. I was about to transfer it to wiki, too, so here goes:
http://wiki.cmsmadesimple.org/index.php/User_Handbook/Installation/Upgrading. If someone is proficient with wiki markup please clean it up.
Re: 1.5.2 to 1.6.7 / 1.7 - viable? [ANSWERED: YES]
Posted: Fri Mar 26, 2010 12:33 am
by AlasdairGF
It's not mentioned anywhere - do I have to set permissions on any of the folders before installing the 1.6 version? There are a few folders that have to be set writeable for a clean install, not sure if I have to do this for an upgrade install...
Re: 1.5.2 to 1.6.7 / 1.7 - viable? [ANSWERED: YES]
Posted: Fri Mar 26, 2010 12:43 am
by replytomk3
AlasdairGF wrote:
It's not mentioned anywhere - do I have to set permissions on any of the folders before installing the 1.6 version? There are a few folders that have to be set writeable for a clean install, not sure if I have to do this for an upgrade install...
Besides config.php, I don't have to touch any other permissions. But, read step 4 at
http://wiki.cmsmadesimple.org/index.php/User_Handbook/Installation/Quick_Install
Re: 1.5.2 to 1.6.7 / 1.7 - viable? [ANSWERED: YES]
Posted: Sat Mar 27, 2010 2:10 am
by AlasdairGF
Hmmm... uploaded 1.6 over 1.5.2, uncompressed it, ran site.com/install and it was a disaster! Selected language at first step, and could get no further... got a message saying "Fatal error: Call to a member function on a non-object in ...site.../lib/classes/class.contentoperations.inc.php on line 372". Looked all over for a solution to this - re-uploaded a few times, downloaded the original tar.gz file again, uploaded that, checked file permissions, deleted the /lib/ directory, deleted most of the other directories, *nothing* worked.
Then went into site.com/admin and there were several alerts, but one of them was an 'upgrade' option... hit that, answered questions, and now everything's fine.
Is that normal? I didn't even know that option existed on the /admin page, it certainly doesn't seem to have been mentioned anywhere... but I worry I've pulled the pin on a grenade somewhere and it's all about to blow up in my face!!!
Re: 1.5.2 to 1.6.7 / 1.7 - viable? [ANSWERED: YES]
Posted: Wed Mar 31, 2010 2:27 am
by Dr.CSS
Your first mistake was running site.com/install it should have been site.com/install/upgrade.php...
Re: 1.5.2 to 1.6.7 / 1.7 - viable? [ANSWERED: YES]
Posted: Wed Mar 31, 2010 2:42 pm
by AlasdairGF
Dr.CSS wrote:
Your first mistake was running site.com/install it should have been site.com/install/upgrade.php...
I wondered about this - but there were conflicting instructions on the
upgrading section of the wiki. The original instructions were as you say (step 6: site.com/install/upgrade.php), but I
think they probably only apply if you're doing an incremental upgrade.
Going from 1.5.2 to 1.6.0 (first stage in Replytomk3's process for getting right up-to-date from 1.5.2) involves unpacking the full/base files rather than the diff file, so I followed the alternative instructions from Replytomk3 (step 7: site.com/install).
Does that make sense? Eventually didn't upgrade last weekend (feckin' thesis apparently won't write itself) so would still like to get this straight in my head before entirely stuffing up my site!
(Site managed by cPanel - the one thing I
did test this weekend was the reliability of the cPanel backup & restore functions... gulp, not great! If things go wrong, I could be thoroughly shafting myself!)