![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
|
|
Server Platforms Discussion regarding any server based ubuntu release. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
5 Cups of Ubuntu
![]() Join Date: Sep 2006
Beans: 16
|
Tsearch2 problem when Installing a MediaWiki Server with Postgresql on Ubuntu
I followed the instructions and I have already a accessible MediaWiki for the Last steps -- specify the mediaWiki name, sysadmin user, including the the postgresql database settings. I leave most of them the default values. Then I click Install MediaWiki.
then I got the errer message: Generating configuration file... # Database type: PostgreSQL # Loading class: DatabasePostgres # Attempting to connect to database "wikidb" as "wikiuser"... # Checking the version of Postgres...version 8.2 is OK. # Checking for tsearch2 in the schema "public"...FAILED. Make sure tsearch2 is installed. See this article for instructions. But actually I already have the postgresql-contrib-8.2 installed. Do I need some more steps to setup the environment to work? I am using the AMD 64 bit version of Ubuntu. Last edited by experience; October 22nd, 2007 at 05:29 AM.. |
|
|
|
|
|
#2 |
|
First Cup of Ubuntu
![]() Join Date: Jan 2007
Beans: 10
|
Re: Install a MediaWiki Server with Postgresql on Ubuntu
I see that you asked this question 3 months ago, but in case you still haven't figured it out (and for others looking for the answer):
You have to make your database tsearch2-ified and not just install the contrib packages. So from your state, you do: Code:
cd /usr/share/postgresql/8.2/contrib/ sudo -u postgres psql wikidb < tsearch2.sql sudo -u postgres createlang plpgsql wikivs |
|
|
|
|
|
#3 | |
|
First Cup of Ubuntu
![]() Join Date: Jan 2008
Beans: 7
|
Re: Install a MediaWiki Server with Postgresql on Ubuntu
Quote:
|
|
|
|
|
|
|
#4 |
|
First Cup of Ubuntu
![]() Join Date: Feb 2008
Beans: 2
|
Re: Install a MediaWiki Server with Postgresql on Ubuntu
According to this site:
http://www.mediawiki.org/wiki/Manual...aWiki#Postgres it should be Code:
sudo -u postgres createlang plpgsql wikidb I believe the general idea is to add a new procedural language to the database. Check out this link: http://www.postgresql.org/docs/8.2/s...reatelang.html |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|