Automatic Upgrade?

General project discussion. NOT for help questions.
Post Reply
ellaissad
Forum Members
Forum Members
Posts: 48
Joined: Wed Jul 11, 2007 6:41 pm

Automatic Upgrade?

Post by ellaissad »

Is there a module or plugin I can use so that automatic upgrade CMSMS is possible?

thank you so much!! I love CMSMS, its probably the easiest and best CMS I've used so far!!
Ella
Pierre M.

Re: Automatic Upgrade?

Post by Pierre M. »

Hello,

The admin panel notifies about available upgrades.
The core upgrade procedure itself is automatic (upgrade.php).
You still have to make backups and uploads by hand. But you can script this.

If the installer gets an included automatic downloader, it would pave somewhat the way for 1-clic upgrade from the admin panel notification.

Pierre M.
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Automatic Upgrade?

Post by jmcgin51 »

Yes, I think the OP is looking for something like an integrated upgrade from within the admin panel (like Wordpress has).
dhtml12345

Re: Automatic Upgrade?

Post by dhtml12345 »

I think an automatic upgrade button, akin to WordPress', would simplify a lot of people's lives.  Just take a look at the number of cranky people when CMSMS 1.6 was released: http://blog.cmsmadesimple.org/2009/06/2 ... simple-16/

I'm one of those cranky people.

It could be argued that since having an automatic upgrade option requires write permissions, it is a possible security issue.  But if you turn off write permissions with WordPress and then automatically upgrade, you're simply informed to temporarily activate write permissions.

I would rather adjust write permissions and then upgrade automatically than have to go through the pain of downloading a new version of CMSMS every time a little security issue is fixed and update every site individually that uses it.

Thanks.
Pierre M.

Re: Automatic Upgrade?

Post by Pierre M. »

Hello,

I understand it is nice when everything goes well. But sometimes things don't work as expected. Example: your hosting provider may have some security feature that needs to be tuned to let CMSms n+1 work but you don't discover it before you are stuck into it.

Webloging software is much less feature wide than CMSms : see CMSms roles permissions system for example. I think upgrading WP is like applying a fixpack patch to CMSms (ex: 1.6.2->1.6.3) and upgrading CMSms (1.y.z->1.y+1.0) is a more sensitive thing (ex: database schema change...)

So I'm not telling an automated upgrade is impossible but just that it should cover much more than patching : database backup, file system backup, settings backup, (may be heavy) upgrade process, lots of non regression tests and option to revert the whole thing.
And I'm not sure CMSms consultants prefer it this way rather than the already proven track record.

Pierre M.
SimonSchaufi

Re: Automatic Upgrade?

Post by SimonSchaufi »

imho this could also be done in cmsms:
- download zip file from amazon server
- unzip it
- open /install/update.php or so

of course tell the admin to backup everything BEFORE ;)

i think it is almost the same if you do that manually by hand or create a small script for that. update process MUST be done manually of course.
Last edited by SimonSchaufi on Mon Aug 17, 2009 3:41 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Automatic Upgrade?

Post by calguy1000 »

I dunno why this is so complex.

Upgrading CMSMS if you have a decent host with ssh access is simple:

a) cd /tmp
b) wget
c) cd root_dir
d) <do backup via command line, it's two commands)
e) tar zxvf /tmp/cmsms_package.tar.gz
f) browse to yourwebsite/admin
g) perform upgrade procedure if necessary (the admin will tell you)
h) upgrade modules

took me 10 minutes to upgrade a site from 1.5.2 to 1.6.3, including upgrading all of the modules. 
all it takes is a little bit of reading, and a decent host.

It's just my $0.02 but writing automatic installers in there to compensate for a poor choice of host, or a lack of knowledge on the part of the web developer.  Also, automatic upgrade would cause as much grief as it solves, considering the complex setup of module and dependencies, permissions problems and host configurations.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Post Reply

Return to “General Discussion”