CMS MADE SIMPLE FORGE

CMS Made Simple Core

 

[#279] Upgrading CMSMS through the Admin Panel

avatar
Created By: Daniel Westergren (westis)
Date Submitted: 2006-01-10 10:35

Assigned To:
Resolution: Won't Fix
State: Closed
Summary:
Upgrading CMSMS through the Admin Panel
Detailed Description:
Now that it soon will be possible to install modules through the Admin Panel it
would be great to also easily upgrade the entire CMSMS version the same way.

I'd see it like this:

1) When there is a new version of CMSMS available users with admin permissions
get notified somewhere in the Admin Panel, perhaps a message when logging in,
that there is a newer version of CMSMS available (the current version should
also be displayed somewhere).

2) Clicking that message gives a more detailed message with details about what's
new and what would happen if the user is upgrading from the current version they
are using (the current version is checked and different upgrade messages are
displayed depending on what the current version is).

3) The administrator then has two links to click on, backup and upgrade.
Clicking backup takes a database backup and installs the Database Backup module
if necessary (of course notification that this is required) + backups the files
to a dir on the local computer of the user's choice. This step is not required,
but recommended.

4) Clicking the upgrade link will automatically download the diff files and
overwrite the current files, and install/upgrade.php will be run. During this
entire upgrade process the site is also taken offline, to avoid that other users
try accessing it while the files and database are upgraded (which may otherwise
cause errors overwriting locked files, at least with Windows servers)

The CMSMS version is then upgraded and ready to use.


This process would require that test upgrades are run before release from for
example the two latest full releases and their stability releases, using the
default modules that are installed with each. If there are any problems
upgrading (for example PHPLayers when upgrading from 0.10.x to 0.11.x) the
message before backing up/upgrading will tell that (and what do do about it), so
that the user upgrade at their own risk.

History

Comments
avatar
Date: 2008-08-24 16:29
Posted By: Robert Campbell (calguy1000)

not possible.
      
avatar
Date: 2009-02-19 11:50
Posted By: Simon (simonschaufi)

why? wordpress has the same functionality.
      
avatar
Date: 2009-09-08 11:50
Posted By: Hans Fremuth (chuccaville)

Also Drupal...
      
avatar
Date: 2010-07-14 00:31
Posted By: Jeremy Becker (21becker)

thats one thing i love about wordpress (still, won't keep me from CMSMS... CMSMS
is the TOTAL best!!!!!!)
      
avatar
Date: 2010-09-12 18:24
Posted By: catchlight (catchlight)

I don't think Drupal has the ability do this at all. 

Why is this not possible in CMSMS? 
      
avatar
Date: 2010-09-12 18:41
Posted By: Morten Poulsen (silmarillion)

This is possible... but not easy...
It's planned and in the works, but not for 1.x-series unless some modules picks
up the challenge.
      
Updates

Updated: 2011-03-04 13:52
resolution_id: => 8
state: Open => Closed