Player FM 앱으로 오프라인으로 전환하세요!
HPR4492: How to do a distribution upgrade of an Ubuntu LTS on a Digital Ocean droplet
Manage episode 514805121 series 108988
This show has been flagged as Clean by the host.
Digital Ocean maintains its own version of the Ubuntu core packages which are hosted in
it's own repositories. To upgrade from one LTS to the next the do-release-upgrade program
must know to use third party repositories during the upgrade process.
RELEASE_UPGRADER_ALLOW_THIRD_PARTY=1 do-release-upgrade
Moving data from a previous version of Postgres to the latest. In this case, the
obsolete Postgres v12 to the default Postgres v14 on Ubuntu 22.04 LTS.
pg_dropcluster --stop 14 main pg_upgradecluster -v 14 12 main
Fixing NextCloud after the upgrade.
The version of PHP upgraded from v7.4 to v8.1. The old versions of the Apache2 PHP modules must be disabled and the new versions enabled.
a2dismod php7.4 a2enmod php8.1 apt install php8.1-pgsql apt install php8.1-gd
References:
4514 에피소드
Manage episode 514805121 series 108988
This show has been flagged as Clean by the host.
Digital Ocean maintains its own version of the Ubuntu core packages which are hosted in
it's own repositories. To upgrade from one LTS to the next the do-release-upgrade program
must know to use third party repositories during the upgrade process.
RELEASE_UPGRADER_ALLOW_THIRD_PARTY=1 do-release-upgrade
Moving data from a previous version of Postgres to the latest. In this case, the
obsolete Postgres v12 to the default Postgres v14 on Ubuntu 22.04 LTS.
pg_dropcluster --stop 14 main pg_upgradecluster -v 14 12 main
Fixing NextCloud after the upgrade.
The version of PHP upgraded from v7.4 to v8.1. The old versions of the Apache2 PHP modules must be disabled and the new versions enabled.
a2dismod php7.4 a2enmod php8.1 apt install php8.1-pgsql apt install php8.1-gd
References:
4514 에피소드
모든 에피소드
×플레이어 FM에 오신것을 환영합니다!
플레이어 FM은 웹에서 고품질 팟캐스트를 검색하여 지금 바로 즐길 수 있도록 합니다. 최고의 팟캐스트 앱이며 Android, iPhone 및 웹에서도 작동합니다. 장치 간 구독 동기화를 위해 가입하세요.


 
 
 
 
