Difference between revisions of "Upgrading/Data Version 9"
From Dreamwidth Notes
(Created page with "{{Warn|text='''DRAFT!''' '''VERY IMPORTANT:''' This '''SHOULD NOT BE DONE YET''' -- this is just a draft!}} * Upgrade to the latest code ( [[Dev Maintenance#Updating the Dreamwi...") |
|||
Line 5: | Line 5: | ||
perl $LJHOME/bin/upgrading/d8d9-userpicrename.pl | perl $LJHOME/bin/upgrading/d8d9-userpicrename.pl | ||
+ | |||
+ | |||
+ | |||
+ | dw@dw-dev:~$ ~/bin/upgrading/d8d9-userpicrename.pl --help | ||
+ | Usage: /home/dw/bin/upgrading/d8d9-userpicrename.pl [options] | ||
+ | Options: | ||
+ | --cluster=N Specify user cluster to work on (by default, all clusters) | ||
+ | --hours=N Work no more than N hours (by default, work until all is done) | ||
+ | --verbose Be noisy | ||
+ | --help Print this help and exit | ||
+ | dw@dw-dev:~$ ~/bin/upgrading/d8d9-userpicrename.pl | ||
+ | Do you want to update to dversion 9 (userpicmap3)? [N/y] y | ||
+ | |||
+ | --- Upgrading users to dversion (userpicmap3) --- | ||
+ | |||
+ | Total users at dversion 87: 0 | ||
+ | |||
+ | Got 0 users on cluster 0 with dversion=8 | ||
+ | Got 0 users on cluster 1 with dversion=8 | ||
+ | Got 0 users on cluster 2 with dversion=8 | ||
+ | --- Done migrating 0 of 0 users to dversion 9 --- | ||
+ | dw@dw-dev:~$ |
Revision as of 22:46, 29 September 2010
Warning: DRAFT! VERY IMPORTANT: This SHOULD NOT BE DONE YET -- this is just a draft!
- Upgrade to the latest code ( Updating the Dreamwidth code )
- Run the following
perl $LJHOME/bin/upgrading/d8d9-userpicrename.pl
dw@dw-dev:~$ ~/bin/upgrading/d8d9-userpicrename.pl --help Usage: /home/dw/bin/upgrading/d8d9-userpicrename.pl [options] Options: --cluster=N Specify user cluster to work on (by default, all clusters) --hours=N Work no more than N hours (by default, work until all is done) --verbose Be noisy --help Print this help and exit dw@dw-dev:~$ ~/bin/upgrading/d8d9-userpicrename.pl Do you want to update to dversion 9 (userpicmap3)? [N/y] y --- Upgrading users to dversion (userpicmap3) --- Total users at dversion 87: 0 Got 0 users on cluster 0 with dversion=8 Got 0 users on cluster 1 with dversion=8 Got 0 users on cluster 2 with dversion=8 --- Done migrating 0 of 0 users to dversion 9 --- dw@dw-dev:~$