doc/web/source/upgrade/0.5-0.6.rst
changeset 599 82e722f35aab
parent 579 be0906181a10
child 626 f151defe7078
equal deleted inserted replaced
598:bb23693e5fc9 599:82e722f35aab
    58 .. code-block:: postgresql-console
    58 .. code-block:: postgresql-console
    59 
    59 
    60  mailsys=> \i /path/to/vmm-0.6.0/pgsql/update_tables_0.5.x-0.6.pgsql
    60  mailsys=> \i /path/to/vmm-0.6.0/pgsql/update_tables_0.5.x-0.6.pgsql
    61  mailsys=> \q
    61  mailsys=> \q
    62 
    62 
       
    63 .. _set-database-permissions:
       
    64 
    63 Set database permissions
    65 Set database permissions
    64 ^^^^^^^^^^^^^^^^^^^^^^^^
    66 ^^^^^^^^^^^^^^^^^^^^^^^^
    65 .. include:: ../pgsql_set_permissionspermissions.rst
    67 .. include:: ../pgsql_set_permissionspermissions.rst
    66 
    68 
    67 Start Dovecot and Postfix again
    69 Start Dovecot and Postfix again
   117  Removed section "config" with option "done" (obsolte)
   119  Removed section "config" with option "done" (obsolte)
   118 
   120 
   119  Removed option "gid_mail" from section "misc" (obsolte)
   121  Removed option "gid_mail" from section "misc" (obsolte)
   120 
   122 
   121 
   123 
       
   124 Upgrade to Dovecot ≧ v1.2.beta2
       
   125 -------------------------------
       
   126 When you are upgrading your old Dovecot (< v.1.2.beta2) to a newer version,
       
   127 ≧ v1.2.beta2, you also have to update the database layout.
       
   128 After you have backed up your database, you have to apply the changes from
       
   129 the file :file:`dovecot_update_v1.2+.pgsql` to your database.
       
   130 (The file is currently only available from hg:
       
   131 `dovecot_update_v1.2+.pgsql <http://hg.localdomain.org/vmm/raw-file/bb23693e5fc9/pgsql/dovecot_update_v1.2%2B.pgsql>`_)
       
   132 
       
   133 Connect as your `vmm` database user to your database.
       
   134 
       
   135 .. code-block:: console
       
   136 
       
   137  user@host:~$ psql mailsys vmm -W -h localhost
       
   138 
       
   139 Then do the database update:
       
   140 
       
   141 .. code-block:: postgresql-console
       
   142 
       
   143  mailsys=> \i /path/to/dovecot_update_v1.2+.pgsql
       
   144  mailsys=> \q
       
   145 
       
   146 Finally :ref:`set-database-permissions`.
       
   147 
   122 .. include:: ../ext_references.rst
   148 .. include:: ../ext_references.rst