Project

General

Profile

Web » History » Version 6

Marc Dequènes, 2019-04-21 05:59

1 5 Marc Dequènes
{{toc}}
2
3 1 Marc Dequènes
h1. Web
4
5
h2. Webservers Status Page
6
7
Each webserver displays various debug/stats information on a special vhost, using its canonical hostname. Only members of the Admin Team may log in.
8 2 Marc Dequènes
9 4 Marc Dequènes
h2. Manually Managed WebApps
10 1 Marc Dequènes
11 4 Marc Dequènes
h3. lists.duckcorp.org
12
13
Installation not Ansibilized yet, but migration to MM3 planned, see #627.
14
15
h3. photos-ng.duckcorp.org
16
17
Currently experimental, see around the _srv_gallery_generate_ script.
18
19
h3. stuff.milkypond.org
20
21
Nextcloud installation is manually done, see README in the vhost directory.
22
23
h3. wiki.duckcorp.org
24
25
MoinMoin installation not Ansibilized, planned for migration, see #640.
26 2 Marc Dequènes
27
If Moinmoin crash after (python?) upgrade, try this to purge the cache:
28
<pre>
29
moin --config-dir=/etc/moin/ --wiki-url=https://wiki.duckcorp.org/ maint cleancache
30
</pre>
31 6 Marc Dequènes
32
h3. MediaWiki
33
34
Deployment is partially ANsible-managed.
35
36
h4. Installation of a new instance
37
38
Prepare a _LocalSettings.php.vault_ file:
39
* wgSecretKey: apg -a 1 -M nl -n 3 -m 64 -E ghijklmnopqrstuvwxyz
40
* wgDBpassword: apg
41
42
Deploy with Ansible.
43
44
Go to the installation URL: https://<vhost>/mw-config/index.php
45
You have to repeat the wiki name and database parameter as defined in your _LocalSettings.php.vault_ file.
46
If you use the _LdapAuthentication_ extension, the admin account is of no importance as local accounts are not used.
47
48
Run the upgrade script as defined in the next chapter, as extensions might add things to the database.
49
50
h4. Upgrade of an instance
51
52
Go into the instance document_root and run: MW_INSTALL_PATH=$(pwd) maintenance/update.php