| 54 | === Upgrading |
| 55 | |
| 56 | The sections below contain instructions on how to upgrade the software installation from a previous version to stable rasdaman v10.4. |
| 57 | |
| 58 | ==== From v10.3 |
| 59 | |
| 60 | To upgrade from the previous stable version v10.3 to stable v10.4: |
| 61 | |
| 62 | 1. Update the repository metadata with `sudo apt update` |
| 63 | 2. Stop rasdaman with `sudo service rasdaman stop`; make sure that the processes are really stopped: if `ps aux | grep -E 'ras(mgr|server)'` returns any processes, stop them with `pkill -9 -f 'ras(mgr|server)'` |
| 64 | 3. Install the new rasdaman version with `sudo apt install rasdaman` |
| 65 | |
| 66 | ==== From testing |
| 67 | |
| 68 | To upgrade from the testing repository to stable v10.4: |
| 69 | |
| 70 | 1. Change the testing package repository to the stable one in `/etc/apt/sources.list.d/rasdaman.list` |
| 71 | 2. Stop rasdaman with `sudo service rasdaman stop`; make sure that the processes are really stopped: if `ps aux | grep -E 'ras(mgr|server)'` returns any processes, stop them with `pkill -9 -f 'ras(mgr|server)'` |
| 72 | 3. Remove the current rasdaman package with `sudo apt remove rasdaman`; this is required because the stable package has the same version but a lower iteration number than the testing one |
| 73 | 4. Update the repository metadata with `sudo apt update` |
| 74 | 5. Install the new rasdaman version with `sudo apt install rasdaman` |
| 75 | |
| 76 | ==== From previous Ubuntu version |
| 77 | |
| 78 | Check our [https://doc.rasdaman.org/02_inst-guide.html#migration migration guide] for hints on how to upgrade your Ubuntu OS, or migrate your installation from one machine to another. |
| 79 | |