Jump to content

Manual talk:Installing MediaWiki

About this board

archive of this page


97.91.34.184 (talkcontribs)

This page is very very unhelpful and too vague. Not very user-friendly and very very technical.

AKlapper (WMF) (talkcontribs)

If specific things are too vague, please explicitly mention what and why. Currently this feedback is too vague to be actionable. Thanks.

Reply to "Not user-friendly"

MSSQL Table Creation

1
RobertGoff (talkcontribs)

I finished entering parameters and began installation in the mw-config process, which then stalled during "creating tables..." Following the error messages back to maintenance/mssql/Tables.sql and running it manually I found several errors:

  • Several instances of attempting to create tables with 'unsigned' integer columns. MSSQL does not support unsigned integers; I removed the 'unsigned' keyword.
  • slots, slot_roles, content, and content_models were defined in the wrong order based on their dependencies.
  • In the externallinks definition, the default for el_index needed to be converted to varbinary
  • image_comment_temp attempts to define a foreign key on image(imagecomment_name), which doesn't exist. After comparing it with the same table definition in the Oracle file, I changed it to image(img_name)
  • CONSTRAINT FK_fa_description occurs twice; I changed the constraint name in fa_description_id to FK_fa_description and removed the second reference
  • comma missing after definition of rc_patrolled

I saved the Tables.sql file, dropped the database, deleted .mdf and .ldf files for the database, and resumed the installation. Unfortunately after that the installation stopped before producing LocalSettings.php with an error "page already exists". There wasn't enough information in the error message to troubleshoot, so I'll have to go code-diving to find the cause of this.

Changes to the /mssql/tables.sql have been uploaded to https://phabricator.wikimedia.org/T202637#4873863

Reply to "MSSQL Table Creation"

How to set this up with phpmyadmin?

2
120.149.99.17 (talkcontribs)

How do you do it?

Reply to "How to set this up with phpmyadmin?"

How? Point your browser to mw-config/index.php in your extracted MediaWiki files

2
2A00:1370:8186:45A9:C186:D46C:AA93:A4B5 (talkcontribs)

Point your browser to mw config index php in your extracted MediaWiki files, which opens the setup screen. For example:

: example c.. mw config index php

How do I point my browser?

Thank you in advance.

Ciencia Al Poder (talkcontribs)

Open your browser. Focus the address bar. Type your domain or IP, followed by the path where MediaWiki is installed (a "/" if it's on the root), followed by "mw-config/index.php". Hit the enter key or the button to navigate to the entered URL

Reply to "How? Point your browser to mw-config/index.php in your extracted MediaWiki files"

Installing MediaWiki on Ubuntu 20.04

5
Paul.L.Raper (talkcontribs)

Is there a really easy way to setup and install MediaWiki on an Ubuntu 20.04 server?

Whichever method I follow, there always seems to be something missing, and all that is needed is a foolproof way to do it: from scratch.

AKlapper (WMF) (talkcontribs)
Paul.L.Raper (talkcontribs)

I have followed the documentation to the letter, and for whatever reason, there seems to be something missing from the instructions since all I get to is a screen that tells me that NGINX is up and running just fine, but needs some modifications: not mentioned in the documentation.

I am not the only one who has hit problems with installing, but as of yet, have not found out what needs to be done to get the thing running properly: really frustrating.

Adamw (talkcontribs)

If you get a plain Nginx screen then something needs to be adjusted in your webserver configuration. Is this local or on a publicly-accessible subdomain? Do you have a file like this or this in your sites-enabled?

Flounder ceo (talkcontribs)
Reply to "Installing MediaWiki on Ubuntu 20.04"

Problems during installation

2
79.25.128.4 (talkcontribs)

Just a short feedback. I'm not an advanced Linux user, anyway installing Mediawiki on my laptop with Fedora took me hours!!!

I'm writing here because I want to advise you that this manual can't drive users who have problems to the answers. I think that a good manual should do even this. (In my case, the solution was very simple: look at the SELinux page and copy&paste the third command I found. The fact was that I didn't know anything of SELinux made me look for everything else. The problem was that after the installation I could see nothing!!! Black page! ))

Alvarin32

Paul.L.Raper (talkcontribs)

I agree: there must be a foolproof way to install this application. I have installed and set up loads of applications, but this one just seems to be missing some detail somewhere.

Reply to "Problems during installation"

add link to Manual:install.php

2
Summary by Berot3

done

Berot3 (talkcontribs)

I would add a link under #Run the installation script to the sentence:

Alternatively, you can run the command-line installer or CLI: php maintenance/install.php adding the appropriate configuration parameters.

link to: Manual:install.php

Ciencia Al Poder (talkcontribs)

Done

regarding "Keep_up_to_date!"

1
Berot3 (talkcontribs)

under #Keep_up_to_date! there is only a mailing-list.

I'd prefer RSS, are there any sites/blogs which you would recommend to follow?

Or maybe even a twitter-account that only posts updates?

Reply to "regarding "Keep_up_to_date!""

Separate articles for Installation Guide and Installing MediaWiki

2
Flounder ceo (talkcontribs)
Berot3 (talkcontribs)

Not sure, but I think the guide it like a overview-page or a general installation-manual, whereas Installing MediaWiki is more detailed? Maybe it makes sense to move Installing MediaWiki to Installation guide/Installing MediaWiki?

maybe it makes more sense when looking at Manual:Contents

Reply to "Separate articles for Installation Guide and Installing MediaWiki"

[Resolved] Blank page

4
SpartanGuy07 (talkcontribs)

I'm trying to install a wiki on my server. I've been following the instructions on the installation and configuration pages, however, when I navigate to the wiki mainpage (the server IP) I receive the following error:

MediaWiki 1.21.2 LocalSettings.php not found. Please set up the wiki first.

When I clicked the link for setup (run the ms-config/index.php script) the page is completely blank.

I tried running the script manually through SSH and found I was experiencing this error "Fatal error: Class 'DOMDocument' not found in xxxxxxxx/Preprocessor_DOM.php on line nnn". I found the solution to be that my server did not have a XML module that was needed, so I installed that and now the script appears to work through SSH, however, I still see the page that tells me to setup the wiki and I still see a blank page when I click the link. Since there is no error here or on the SSH side, I'm not sure where to go from here. Any help would be greatly appreciated.

SpartanGuy07 (talkcontribs)

Turns out all I needed to do was restart apache after downloading the module!

185.5.183.195 (talkcontribs)

Same problem, the module was php-xml

Reply to "[Resolved] Blank page"