Changes between Version 42 and Version 43 of wheezy-jessie-upgrade


Ignore:
Timestamp:
Mar 5, 2016, 4:26:21 PM (4 years ago)
Author:
Steve Revilak
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • wheezy-jessie-upgrade

    v42 v43  
    8686
    8787After that, dpkg --configure -a succeeded.
     88
     89
     90'''Stallman'''.  Convert postgres 9.1 -> 9.4
     91{{{
     92pg_dumpall --verbose > pg91.out
     93
     94# Verify roundcube databases not in 9.4
     95psql -p 5433 --list
     96
     97# load dump into 9.4
     98psql -p 5433 < pg91.out
     99
     100# check
     101psql -p 5433 --list
     102}}}
     103
     104Next, stop all postgres instances, and switch 9.4 from the alternate
     105port to the main port.
     106
     107{{{
     108systemctl stop postgresql@9.1-main.service
     109systemctl stop postgresql@9.4-main.service
     110}}}
     111
     112Set {{{port = 5432}}} in /etc/postgresql/9.4/main/postgresql.conf
     113
     114{{{
     115systemctl start postgresql@9.4-main.service
     116systemctl disable postgresql@9.1-main.service
     117
     1180 roundcube@stallman:~$ psql -U roundcube roundcube
     119psql (9.4.6)
     120}}}
     121
    88122
    89123