Home arrow Forum Upgrading JSMF code vs. reinstalling
  Welcome, Guest. Please login or register.
Did you miss your activation email?
November 22, 2008, 05:09:31 AM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 2.0.x (Moderators: -Wolverine, kai920)
| | | |-+  Upgrading JSMF code vs. reinstalling
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Upgrading JSMF code vs. reinstalling  (Read 817 times)
Patrick Johnson
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 43


View Profile
Upgrading JSMF code vs. reinstalling
« on: October 25, 2006, 08:53:52 AM »

Hi Wolverine,

I just installed 2.0RC1.  Congratulations on a great job.  It feels solid and is much appreciated.

A while back we had been talking about upgrading vs. reinstalling.  At the time I was investigating the possibility of copying in the new .php files without having to remove/reinstall.  In cases where the database and the patch logic have not been changed, it seems OK to (very carefully, at my own risk, unsupported, etc.) copy over the new .php and .xml files.

Anyway, you had asked me what work was involved in re-installing, and I couldn't really give you an answer at the time.  I took a few notes this time, and can now answer the question.  I'm certainly not complaining.  This is mostly to document the process, and see if there are any suggestions for making it go more smoothly the next time I have to do it.  It also explains why I am willing to consider the manually-copy-in-the-new-files approach where it is appropriate.

  • I have multiple menus that link to the forum.  The menu items must be re-created and relevant parameters set up.
  • If there are external (hard-coded Itemid=123) links to the forum using menu IDs, I either need to change all of them, or manually tweak the new menu item ids back to the old IDs, and reset the settings in #_jsmf_config.
  • If I have conflicting local changes to the patched files, I need to remove them, patch via jsmf, and re-edit.
  • Have to re-install discussbot and reset parameters.
  • Have to re-create recent_topics modules (in multiple places), and restore module settings.

In the latest re-install, I first reinstalled on a staging server, which made it easier to copy parameter settings to the new version, since the old version was accessible.

Do you have any thoughts on whether 2.0 might be upgradeable from 2.0RC1 with a file copy when it comes out ?

Many thanks,
Patrick Johnson

Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Upgrading JSMF code vs. reinstalling
« Reply #1 on: October 25, 2006, 09:03:25 AM »

Ugggh, I'm sorry but you will probably need to reinstall.  But you should know with JSMF 2.0 I keep the same itemid as used in the previous install.  So a few of your tasks won't(shouldn't) be necessary.



For the bridge I have already added another configuration paramter which is added to the db on install.  Although it would also be added the first time you saved you configurations in the JSMF config(assuming you select either enable or disable for the new config).  Other than that I can't think of anything so maybe it will be possible.  I'll keep it in mind for JSMF 2.0 however RC2 will be available in a couple days and I don't know about that one(since it is already in testing etc.).


I do understand your point and will work to provide upgrade methods wherever possible.  For the most part the discussbot and recent topics can be upgraded.  I can't think of any reason they would need to be reinstalled except to register the correct version when viewing them on the modules/mambots install screen.
« Last Edit: October 25, 2006, 09:06:57 AM by -Wolverine » Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
Pages: [1] Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
MamboBuzz.com
Search Contact About Advertise Blogs Topsites Submit News Register Login