Project

General

Profile

Web » History » Revision 9

Revision 8 (Marc Dequènes, 2019-04-21 11:43) → Revision 9/10 (Marc Dequènes, 2019-04-22 13:38)

{{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. Redmine 

 h3. Updating the LDAP credentials 

 A bug prevent for successfully changing the password: http://www.redmine.org/issues/30171 

 In Debian Stretch applying the patch do not work or is not sufficient. Removing the newline directly in the _account_password_ column of the _auth_sources_ SQL table works though. 

 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_ file: 
 * wgSecretKey: apg -a 1 -M nl -n 3 -m 64 -E ghijklmnopqrstuvwxyz 
 * wgDBpassword: apg 

 Deploy with Ansible. Create the database manually. 

 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_ 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