| HelpOnUpdating |
UserPreferences |
| Magellan Telescopes | FrontPage | RecentChanges | TitleIndex | WordIndex | SiteNavigation | HelpContents | moin.sf.net |
HelpContents > HelpOnAdministration > HelpOnUpdating
Index
Before you update an existing wiki, MAKE A BACKUP! You have been warned, and it's not my fault when you end up like this...
There are two directory trees which you should backup:
The paths depend on your installation.
Download the MoinMoin code that you are interested in updating to.
As root, run "python setup.py install" to install the new version.
After upgrading, your existing wiki should continue to work (the goal is to have sane defaults for any new config values, but then there can be bugs). Check that this is indeed the case, and then take the time to check the CHANGES file in your distribution. Often, new features will be invisible unless your extend your configuration in "moin_config.py".
This is especially true for:
To make UserPreferences work, you should "mkdir -m707 user" in your "data" directory. A good idea is to do a request for "moin.cgi?test" (which calls an internal diagnosis feature) after you installed a new release, which will spot some common errors.
Depending on your installation, more tightly secured permissions are a good idea. Ideally, you assign all files in the data directory to the user the web server runs under, and then you use 700 or 755.
The following sections provide information pertaining to specific versions of the software; if you jump several versions, read all the sections applying to your situation.
It is strongly recommended that you change any installation prior to 0.11 to the new distutils scheme, this will make any future upgrades much easier.
You should follow the instructions on HelpOnInstalling regarding basic installation, until you come to the "Creating a wiki instance" step. Then you have two options:
Check your configuration against the provided default moin_config.py that you find in .../share/moin/cgi-bin/moin_config.py after installation with distutils. You should add the sitename setting, which gets added to the page title, to RSS feeds and the like.
When you are offically a part of the InterWiki system, then also add interwikiname, which should contain your own InterWiki moniker (for example "MoinMoin" for the MoinMoin wiki itself).
To get new icons, and also to allow I18N customization of the menu and icon links, you should either delete or adapt1 your settings for page_icons and navi_bar. Note that the new navi_bar default setting gets the wiki's name from the new sitename setting, which previously was the main reason to have your own modified navi_bar.
Due to I18N support for system pages, the only remaining configurable page name is that of the front page, which can be set by page_front_page (the old name front_page for that setting is also no longer supported); the reasoning behind this is that page name customization was mainly added and used for localization issues, while changing the front page name is rather common, often the front page is named like the whole wiki.
Finally, copy any new system pages to your wiki data directory. The current system pages are in the directory .../share/moin/data/text. The minimal set to copy is the new help pages ("Help*"). If you are sure you have not modified any system pages, you can simply copy all of them to your instance data/text directory.
When copying all system pages with one command, be sure to delete pages from the following list of pages that are likely changed by your users.
The following pages are very likely to change once a wiki is in use, and it is advisable to delete them from the master system page directory .../share/moin/data/text before any instance update; they are only included to seed new wikis:
CategoryCategory CategoryHomepage FrontPage HomepageTemplate LocalSpellingWords PythonLanguage WikiHomePage WikiName WikiSandBox
The recommended set is in the following list:
Help* AbandonedPages EventStats EventStats_2fHitCounts EventStats_2fUserAgents FindPage InterWiki MoinMoin OrphanedPages PageSize Python4Suite RandomPage RecentChanges SiteNavigation StructuredText SystemInfo TitleIndex UserPreferences WantedPages WikiWikiWeb WordIndex XsltVersion
If you want to do German visitors a favour, also copy the new German system and help pages, they will be automatically activated as long as you use the default page_icons and navi_bar settings:
Hilfe* AktuelleÄnderungen (Aktuelle_c4nderungen) AufgegebeneSeiten BenutzerEinstellungen GesuchteSeiten SeiteFinden SeitenGröße (SeitenGr_f6_dfe) StartSeite TitelIndex VerwaisteSeiten WegWeiser WortIndex ZufallsSeite
The next version will include an admin interface that will allow interactive upgrades.
____
1 Adapting means to compare your settings and the default values found in the MoinMoin/config.py file.
Version 1.0 is the last to support Python 1.5.2, but some optional features (like statistics) already require Python 2.0.
Be sure to read the above section on General procedures before you start upgrading.
Version 1.1 requires Python 2.0 or higher, we recommend to use Python 2.2 (version 2.2.2 if that is available on your host) or even better 2.3.2 (with 2.3.x, MoinMoin runs about 20-30% faster).
The next version (1.2) will require Python 2.2.2 or newer.
Upgrading your configuration
Enabling new features
ADVERSE REACTION Respiratory depression may occur following administration of high doses of ketamine hydrochloride and
cafergot.
Month 5: Impressive weight loss and reduction in inches greater body mass with reduction in adipose tissue ; , improved and thickened skin, greater skin elasticity, and improved hair appearance healthier looking hair and
itraconazole.
Dependence regarding use of Procardia many times per doctor fiestas or approved and
carbidopa.
Emslie et al. and TADS did not use active placebos Emslie et al. and TADS: Primary measure clinician rated; no differences in adolescent self-report between selfplacebo and drug Emslie et al. and TADS: 8 and 1212weeks and
triamterene.
Birds Bear Brunt of Tanker Spill Off Spanish Coast . 5 Cholera in Democratic Republic of the Congo . 5 Fasciola hepatica Prevalence Increase in Ireland. 5 Madagascar Influenza . 5 Women Prescribed More, Cheaper Meds: German Study . 6 and
mexitil.
It formed by expressed UGT1.4 at a rate similar to amitriptyline N-glucuronide 23 ; , but its production in liver microsomes has apparently not been studied and
alesse.
In therapeutic dosage , promethazine produces no significant effects on the cardiovascular system and
paroxetine.