As a "user" lurking here on the "devel" list, please forgive this intrusion, but I wanted to comment on the dangers of upgrading for a relative LAMP newbie like me.
Last night, when I upgraded by copying the 1.7.1 files onto the 1.7 directories (using Gnome's file manager, Nautilus), I managed to (1) break my connection to the database (because local.php was overwritten) and (2) delete my custom theme (why Nautilus did this is still unclear to me).
So, I had to redo the database installation and re-run setup.sh and recreate my custom theme. (Fortunately I'd backed up my custom theme's files.)
I bring this up only to advocate for some upgrading instructions and/or an upgrade script that only installs changed files. It would've been a big help to someone as clueless as I.
Regards,
Date: Wed, 20 Aug 2003 12:02:08 -0700>From: Dennis Daniels <ddaniels-nJJpUPIbDOA@public.gmane.org>>To: tikiwiki-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>Subject: Re: [Tikiwiki-devel] Re: TikiWiki 1.7.1 released>Reply-To: tikiwiki-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Hi John>it's 'cleaner' if you dump the 1.7 and install 1.7.1 less room for>possible errors in the overwrite of changed files.>-dgd>
John Lewis wrote:> > So all I need to do is unpack the 1.7.1 files over the 1.7 files? Or > do I need> > to remove all of the 1.7 files, unpack 1.7.1 and run setup?> >
-JL
Jeremy Butler jbutler-h0oRs45ZYI8@public.gmane.org ======================================================== TELEVISION: CRITICAL METHODS AND APPLICATIONS www.TVCrit.com
------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
Ross Smith II 23 August 2003 00:24:10 [ permanent link ]
From: Jeremy Butler [mailto:jbutler-h0oRs45ZYI8@public.gmane.org]>
directories (using Gnome's file manager, Nautilus), I managed to (1) break > my connection to the database (because local.php was overwritten) and (2)
db/local.php should *not* be in a release.
Was this an oversite of the release manager?
-Ross
------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
db/local.php is *not* in v1.7.1.1 archives. Are you sure you didn't delete local.php yourself, Jeremy?
Terence
On Fri, 22 Aug 2003 14:24:10 -0700, "Ross Smith II" <ross-loeOA8DptBNBDgjK7y7TUQ@public.gmane.org> said:>
From: Jeremy Butler [mailto:jbutler-h0oRs45ZYI8@public.gmane.org]> >
directories (using Gnome's file manager, Nautilus), I managed to (1) break > > my connection to the database (because local.php was overwritten) and (2) >
db/local.php should *not* be in a release.>
Was this an oversite of the release manager?>
-Ross
------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
Jeremy Butler 23 August 2003 16:07:34 [ permanent link ]
I suspect that Nautilus--and not the v1.7.1.1 archives--is to blame for the deletion of local.php.
What I think happened is that when I used Nautilus to copy the db directory to tiki/ it DELETED my old db directory (including local.php). When I restarted Tiki, I was forced into the installation script that requests MySQL connection information. I entered it and Tiki recreated local.php with that info.
So, I'm afraid it was user error . . . er . . . that darn Nautilus that is the culprit.
But, really, who would expect a file manager to DELETE directories when one is COPYING?
<grumble, grumble>
Thanks to Diego and Dennis for confirming that little "feature" of Nautilus.
I SHOULD have used Dennis' RPM and will for future releases, but I was nervous about doing that since I had not used an RPM for the initial installation. I know that, in general, one shouldn't mix RPM installations with from-source installations. That's why I didn't use the RPM, but I gather now that it would have been okay.
db/local.php is *not* in v1.7.1.1 archives. Are you sure you didn't>delete local.php yourself, Jeremy?>
Terence>
On Fri, 22 Aug 2003 14:24:10 -0700, "Ross Smith II" <ross-loeOA8DptBNBDgjK7y7TUQ@public.gmane.org>>said:> >
From: Jeremy Butler [mailto:jbutler-h0oRs45ZYI8@public.gmane.org]> > >
directories (using Gnome's file manager, Nautilus), I managed to (1) > break> > > my connection to the database (because local.php was overwritten) and > (2)> >
db/local.php should *not* be in a release.> >
Was this an oversite of the release manager?> >
-Ross
Jeremy Butler jbutler-h0oRs45ZYI8@public.gmane.org ======================================================== TELEVISION: CRITICAL METHODS AND APPLICATIONS www.TVCrit.com
------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
Dennis Heltzel 23 August 2003 16:57:42 [ permanent link ]
Jeremy Butler wrote: > Thanks to Diego and Dennis for confirming that little "feature" of> Nautilus.>
I SHOULD have used Dennis' RPM and will for future releases, but I was > nervous about doing that since I had not used an RPM for the initial > installation. I know that, in general, one shouldn't mix RPM > installations with from-source installations. That's why I didn't use > the RPM, but I gather now that it would have been okay.>
Right, Dennis?
The RPM is relocatable, but I haven't tried that "feature", otherwise it installs into /var/www/html/tiki-1.7. It will only overwrite files there, if you current tiki-root is somewhere else, you can install the rpm, move over and files you want and point apache to the new location. That's the safe way. Presumably, and big changes will go into 1.8 and I'll change the path so 1.7 and 1.8 can co-exist for testing purposes.
Dennis
------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
If you would like to report an abuse of our service, such as a spam message, please . Если Вы хотите пожаловаться на содержимое этой страницы, пожалуйста .