Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Suggestion: Auto-upgrade tool?  (Read 3349 times)

0 Members and 1 Guest are viewing this topic.

AndrewRH

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
    • The Reeves-Hall Family
Suggestion: Auto-upgrade tool?
« on: October 30, 2006, 11:15:14 pm »

Hi,

I'm new to Coppermine after having used dAlbums for a number of years.  One thing that dAlbums does nicely is upgrades.  There is a handy little program which you can run that will check your server to see what version of dAlbums is on it and then compare it to what the dAlbums latest version is.  If there is a new version then you are informed and can click a single button to have the tool download and upgrade your dAlbum installation.

There is no need for fiddly backing up, lengthy uploads, etc.  The tool is smart enough to know when to upgrade and what.

I noticed that to upgrade from 1.4.9 to 1.4.10 for example, that I must upload everything (except albums, and this file and that file...).  This takes considerable time on an ADSL line where upload speed is much less than download speed.

So, any chance of spending a bit of energy on writing a smart upgrade tool?

(by the way, I did search just subject lines for upgrade and didn't see anything related -- but upgrade seems to be a too-generic of a term)

Thanks,

~Andrew~
Logged
~Andrew~

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Suggestion: Auto-upgrade tool?
« Reply #1 on: October 31, 2006, 05:52:30 am »

We're aware that other apps try to perform auto-updates/upgrades. However, this will undo all customizations users have made. As there are many who do so, we're goingto change one bad thing (manual upgrades) with another bad thing (people complaining that their customization got lost).
Additionally, to change files, you need to give write access to the script for the entire folder your app resides in.
We have discussed auto-installers/upgraders in the past and haven't come to a conclusion. Coppermine is aimed at medium-skilled webmaster who know their way around using their FTP app. Users who just want it simple (and subsequently use third-party auto-installers like Fantastico) don't read the docs...
Logged

AndrewRH

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
    • The Reeves-Hall Family
Re: Suggestion: Auto-upgrade tool?
« Reply #2 on: November 02, 2006, 12:33:56 am »

Hi,

Here's info about how dAlbum does it (it too is aimed at medium skilled webmasters).   It, like Coppermine, is PHP based. 

http://www.dalbum.org/index.php?go=upgrade

Here's the key steps for it...note the comment in step 4 about not touching customizations!

Quote
1. Download and extract DAlbum update utility (Win32, 110Kb) to your harddrive. Do not run the utility directly out of the updalbum.zip file!
2. Run the utility, press Add button and add your DAlbum FTP site to the list.
3. Select sites to be updated and press Update button. You can select more than one site at once.
4. Press 'Update' button. Update utility will automatically connect to www.delx.ca/dalbum and download the latest DAlbum build. If your site is running an older version it will be updated automatically. Your configuration files will remain untouched.
Logged
~Andrew~
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 19 queries.