Project

General

Profile

Web » History » Revision 6

Revision 5 (Marc Dequènes, 2019-01-01 08:17) → Revision 6/10 (Marc Dequènes, 2019-04-21 05:59)

{{toc}} 

 h1. Web 

 h2. Webservers Status Page 

 Each webserver displays various debug/stats information on a special vhost, using its canonical hostname. Only members of the Admin Team may log in. 

 h2. Manually Managed WebApps 

 h3. lists.duckcorp.org 

 Installation not Ansibilized yet, but migration to MM3 planned, see #627. 

 h3. photos-ng.duckcorp.org 

 Currently experimental, see around the _srv_gallery_generate_ script. 

 h3. stuff.milkypond.org 

 Nextcloud installation is manually done, see README in the vhost directory. 

 h3. wiki.duckcorp.org 

 MoinMoin installation not Ansibilized, planned for migration, see #640. 

 If Moinmoin crash after (python?) upgrade, try this to purge the cache: 
 <pre> 
 moin --config-dir=/etc/moin/ --wiki-url=https://wiki.duckcorp.org/ maint cleancache 
 </pre> 

 h3. MediaWiki 

 Deployment is partially ANsible-managed. 

 h4. Installation of a new instance 

 Prepare a _LocalSettings.php.vault_ file: 
 * wgSecretKey: apg -a 1 -M nl -n 3 -m 64 -E ghijklmnopqrstuvwxyz 
 * wgDBpassword: apg 

 Deploy with Ansible. 

 Go to the installation URL: https://<vhost>/mw-config/index.php 
 You have to repeat the wiki name and database parameter as defined in your _LocalSettings.php.vault_ file. 
 If you use the _LdapAuthentication_ extension, the admin account is of no importance as local accounts are not used. 

 Run the upgrade script as defined in the next chapter, as extensions might add things to the database. 

 h4. Upgrade of an instance 

 Go into the instance document_root and run: MW_INSTALL_PATH=$(pwd) maintenance/update.php