Changes between Version 5 and Version 6 of MasterUrl
- Timestamp:
- Oct 10, 2009, 6:10:41 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MasterUrl
v5 v6 26 26 1. Pick a ''good'' new URL according to the above recommendations, 27 27 so that you will never need to change it again. 28 2. If the project was ever public,28 1. If the project was ever public, 29 29 post news to let users know the URL will change. 30 3. If stats aggregators carry your project's stats,30 1. If stats aggregators carry your project's stats, 31 31 let the site admins know about the URL change. 32 3. If you have any tasks in progress or waiting to be sent,32 1. If you have any tasks in progress or waiting to be sent, 33 33 it's recommended you wait until they are all done before changing the URL. 34 34 And/or abort the unsent tasks. … … 37 37 but if users already have workunits on their computers, 38 38 they will still have old URLs and you can't edit that. 39 4. Stop the project.40 5. Replace URL everywhere in [ProjectConfigFile config.xml]41 6. Replace scheduler URL in `html/users/schedulers.txt`.39 1. Stop the project. 40 1. Replace URL everywhere in [ProjectConfigFile config.xml] 41 1. Replace scheduler URL in `html/users/schedulers.txt`. 42 42 Prefix should match the URL in [ProjectOptions#dirs <cgi_url> in config.xml]. 43 7. If you have [ProjectSkin project-wide files],43 1. If you have [ProjectSkin project-wide files], 44 44 like logos for the simple GUI, 45 45 replace download URLs in `project_files.xml` 46 8. Delete everything in `html/cache`,46 1. Delete everything in `html/cache`, 47 47 since cached pages may have links to the old URL, 48 48 and users would get broken links for an hour or so. … … 51 51 rm -rf html/cache/* 52 52 }}} 53 9. Either create new application versions,53 1. Either create new application versions, 54 54 or update the `app_version` table to have the new URLs: 55 55 {{{ 56 56 UPDATE app_version SET xml_doc = REPLACE(xml_doc, "http://old.example.com/", "http://new.example.org/"); 57 57 }}} 58 1 0. If you have forums enabled,58 1. If you have forums enabled, 59 59 you may want to do a similar replacement on forum contents, 60 60 in case users posted links to their computers or similar. 61 1 1. Start the project, send some test workunits,61 1. Start the project, send some test workunits, 62 62 and make sure everything is working.