4. Rename folders and run the upgrade process
The last step of the upgrade procedure is to trigger the upgrader, as follows:
- Rename your existing ‘openx’ folder to ‘openx_old’
- Rename your new ‘openx_new’ folder to ‘openx’
At this point, the new version is already serving your ads. Or at least it will try to. In the case of an upgrade from version 2.4 to version 2.6, the database changes are extensive and your ad server will most likely not deliver ads until you’ve gone through the full upgrade wizard.
All you have left to do is complete the upgrade, like so:
- Access the OpenX administrative interface in your web browser by going to the http://www.example.com/openx/ web address. The software will recognize that an upgrade is in progress and instead of presenting the usual login screen it will start the upgrader. This upgrader is a wizard that does the necessary work for you. At some point you will have to prove you’re allowed to do that upgrade by entering your administrator user name and password.
Usually, this final step takes very little time, only a few minutes if you read all instructions and information carefully. On a very large database it may take longer.
When you’re having problems during the upgrade but haven’t gone through the database upgrade yet (one of the last steps and the one that’s most likely to cause problems) you’ll be able to quickly go back to the old version is to rename the two folders again (’openx’ to ‘openx_new’ and then ‘openx_old’ to ‘openx’). Then correct whatever problem there was and go back to the beginning of step 4. If something goes wrong during the database upgrade, you’ll have no choice but to restore the database backup you created in step 3 and rename the two folders again in the way I described above.
If you follow these steps, I’m confident the upgrade will be smooth and quick, and you’ll be prepared to handle anything that might still go wrong during the upgrade.
MyTestBox.com - web software reviews responded on 17 Jul 2008 at 12:13 am #
[...] Strategy for upgrading OpenX (courtesy of Erik Geurts) [...]
OpenX tips by Erik Geurts responded on 10 Oct 2008 at 1:42 am #
OpenX version 2.6.2 released…
Earlier in the week, an important upgrade to OpenX 2.6 was released. This version 2.6.2 fixes a security issue that was reported a few days ago. Because of this, it’s very important that all users of OpenX 2.6 upgrade their installations. To down…