This page is very very unhelpful and too vague. Not very user-friendly and very very technical.
Manual talk:Installing MediaWiki
Appearance
If specific things are too vague, please explicitly mention what and why. Currently this feedback is too vague to be actionable. Thanks.
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
How do you do it?
"It" what?
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.
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
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.
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.
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?
Hope you found this: Manual:Running_MediaWiki_on_Debian_or_Ubuntu
Make sure you have php-intl installed. I don't think it is optional anymore.
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
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.
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
Done
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?
Does anyone else find it confusing that there are two separate articles Manual:Installation guide and Manual:Installing MediaWiki? Would it be a good idea to consolidate them?
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
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.
Turns out all I needed to do was restart apache after downloading the module!
Which XML package did you install?
Same problem, the module was php-xml