diff options
author | Aurélien Bompard <aurelien@bompard.org> | 2013-11-14 18:27:47 +0100 |
---|---|---|
committer | Aurélien Bompard <aurelien@bompard.org> | 2013-11-20 19:15:40 +0100 |
commit | 54e10ee28d7c72f5614219e92adcc460a3b72a48 (patch) | |
tree | 07cb7af58e716231d538f749af9f396302c0ffca /doc | |
parent | 89406e71d9541396a48370d48e40f5e6c1e4a357 (diff) | |
download | hyperkitty-54e10ee28d7c72f5614219e92adcc460a3b72a48.tar.gz hyperkitty-54e10ee28d7c72f5614219e92adcc460a3b72a48.tar.xz hyperkitty-54e10ee28d7c72f5614219e92adcc460a3b72a48.zip |
KittyStore does not auto-upgrade its schema anymore
Diffstat (limited to 'doc')
-rw-r--r-- | doc/database.rst | 19 | ||||
-rw-r--r-- | doc/install.rst | 2 |
2 files changed, 8 insertions, 13 deletions
diff --git a/doc/database.rst b/doc/database.rst index ade71f9..e022536 100644 --- a/doc/database.rst +++ b/doc/database.rst @@ -13,8 +13,7 @@ created using the following command:: python hyperkitty_standalone/manage.py syncdb python hyperkitty_standalone/manage.py migrate hyperkitty -KittyStore's database will be created automatically on first access, but you -still need to configure its URI. The syntax is as follows:: +KittyStore's database is configured using an URI. The syntax is as follows:: KITTYSTORE_URL = "scheme://username:password@hostname:port/database_name" @@ -26,18 +25,14 @@ The scheme may be "sqlite", "postgres", or "mysql". For example, with sqlite:: If you're using SQLite and you're getting "Database is locked" errors, stop your webserver during the import. -If you want to force the creation of the KittyStore database, you can run:: - - kittystore-updatedb -p hyperkitty_standalone -s settings - -and it will be created. - KittyStore also uses a fulltext search engine which resides in a directory on the filesystem. The path to this directory must be configured in the ``KITTYSTORE_SEARCH_INDEX`` variable. This directory should be writable by the -user running Mailman and readable by the user running HyperKitty. It will be -automatically created, but the creation can be forced using the -``kittystore-updatedb`` command described above. +user running Mailman and readable by the user running HyperKitty (usually your +webserver). It will be automatically created when the regular KittyStore +database is created. The command to create the KittyStore database is:: + + kittystore-updatedb -p hyperkitty_standalone -s settings Importing the current archives @@ -62,7 +57,7 @@ where: * ``NAME`` is the fully-qualified list name (including the ``@`` sign and the domain name) * The ``mbox_file`` arguments are the existing archives to import. Make sure you point -at the *.txt version of the files and not the *.gz. +at the ``*.txt`` version of the files and not the ``*.gz``. If the previous archives aren't available locally, you need to download them from your current Mailman 2.1 installation. The ``kittystore-download21`` diff --git a/doc/install.rst b/doc/install.rst index 1f2b17e..7c21856 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -128,7 +128,7 @@ from HyperKitty itself. To update the KittyStore database, just run:: kittystore-updatedb -p hyperkitty_standalone -s settings -This command may take a long time to complete, donc interrupt it. +This command may take a long time to complete, don't interrupt it. Then, to update the HyperKitty database, run:: |