Closed (fixed)
Project:
Drigg
Version:
5.x-1.33
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Aug 2008 at 09:00 UTC
Updated:
25 Aug 2008 at 16:51 UTC
I want to upgrade from 1.32 to 1.33 and then 1.34 and possibly 1.35 (testing version)
How do I know when to run update.php and which of them. Currently at 1.32 version it shows 1,2,3 update available (in dropdown menu). The same is there after uploading new code with 1.33 version...
Which one to choose? The first one gave me deffinatelly error and I guess it wasnt supposed to be for my version (why is it there anyway if it is not for my update situation).
Shouldnt these updates to be named according version? 1.32 1.33 etc?
Please help I do not want to make mess in the code and db with updates....
Many thanks!!!
Comments
Comment #1
sikjoy commentedRichard_:
You should run update.php every time you change the version of Drigg or any module, for that matter.
In Drupal 5, the updates are incremental starting with 1. There is no correlation between the version number and the update number. Anytime a module's developers need to modify its database tables, they will bump the update number. So you can definitely break your site by not running update.php after you update one of its modules.
--sicjoy
Comment #2
Richard_ commentedThank you sicjoy, but how do I know when to run update?
Comment #3
sikjoy commentedYou should run update.php every time you upgrade a module. You should also run update.php when you upgrade Drupal core.
Comment #4
Richard_ commentedSo, I do not have to choose which update from dropdown (1,2,3) but update script will find if there are any db changes neccessary...
Did I got it right after all? :)
Comment #5
sikjoy commentedHi Richard_:
You should use the default values. There's no need to make selections.
I ran a quick search on d.o and found this for you:
http://drupal.org/node/187066
It should answer all your questions.
I'll be closing this issue, as you can ask further questions at the above link if needed.
Best,
sicjoy
Comment #6
Richard_ commentedI got it yes, thank you sicjoy for your help, very appreciated .-)
Richard
Comment #7
mercmobily commentedComment #8
mercmobily commented