Table of Contents
Things You Need to Do to Upgrade OpenDocMan
- Download the latest release of OpenDocMan.
- Unzip the downloaded file to a folder inside your web server.
- Print this page out so you have it handy during the installation.
- ALWAYS backup your database, documents repository, and opendocman software BEFORE YOU UPGRADE. You have been warned!!!
2 Minute Upgrade
- Download and unzip the lastest OpenDocMan package, if you haven't already.
- Rename your current “old” version of opendocman (ex. mv opendocman opendocman_old). You will need a few values from the old config.php file (but not the config file itself since opendocman creates a new config).
- Place the “new” OpenDocMan software folder in the desired location on your web server and give it the name of your “old” folder (ex. 'mv opendocman-1.2.6.x opendocman).
- Make sure the new files have the proper ownership and permissions that match your old folder.
- Run the OpenDocMan installation script by accessing the opendocman folder URL in a web browser.
- Fill out the necessary form fields during the installer. Refer to your old opendocman config.php file for some of the values needed for the upgrade.
- When you get to the last page, you click on the upgrade link that matches your version (or the closest version that is greater than your current).
- This will then execute any database updates and you should then be able to visit your site and login usual.
There may be a situation where you get to the last page of the installer and you don't see your version listed as an upgradeable path (ex. you have 188.8.131.52, but you only see upgrades for 184.108.40.206, and 220.127.116.11). In these cases, it means that between 18.104.22.168 and 22.214.171.124 there were no other database changes. In this case, the closest upgrade to click on would be 126.96.36.199.
Another example: If you are running 188.8.131.52 and 184.108.40.206 has just been released. The upgrader is only showing an upgrade link for 220.127.116.11. This means that no DB changes have been made since 18.104.22.168 so your upgrade would be code-only.
In simple terms, if you seen an upgrade for 22.214.171.124, and you are running 126.96.36.199, then you already have the database updates needed for 188.8.131.52 so you would then choose the upgrade above your version.