Project

General

Profile

Web » History » Version 7

Marc Dequènes, 2019-04-21 09:36

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 7 Marc Dequènes
h2. Redmine
10
11
h3. Updating the LDAP credentials
12
13
A bug prevent for successfully changing the password: http://www.redmine.org/issues/30171
14
15
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.
16
17 4 Marc Dequènes
h2. Manually Managed WebApps
18 1 Marc Dequènes
19 4 Marc Dequènes
h3. lists.duckcorp.org
20
21
Installation not Ansibilized yet, but migration to MM3 planned, see #627.
22
23
h3. photos-ng.duckcorp.org
24
25
Currently experimental, see around the _srv_gallery_generate_ script.
26
27
h3. stuff.milkypond.org
28
29
Nextcloud installation is manually done, see README in the vhost directory.
30
31
h3. wiki.duckcorp.org
32
33
MoinMoin installation not Ansibilized, planned for migration, see #640.
34 2 Marc Dequènes
35
If Moinmoin crash after (python?) upgrade, try this to purge the cache:
36
<pre>
37
moin --config-dir=/etc/moin/ --wiki-url=https://wiki.duckcorp.org/ maint cleancache
38 6 Marc Dequènes
</pre>
39
40
h3. MediaWiki
41 1 Marc Dequènes
42 7 Marc Dequènes
Deployment is partially Ansible-managed.
43 6 Marc Dequènes
44
h4. Installation of a new instance
45
46
Prepare a _LocalSettings.php.vault_ file:
47
* wgSecretKey: apg -a 1 -M nl -n 3 -m 64 -E ghijklmnopqrstuvwxyz
48
* wgDBpassword: apg
49
50
Deploy with Ansible.
51
52
Go to the installation URL: https://<vhost>/mw-config/index.php
53
You have to repeat the wiki name and database parameter as defined in your _LocalSettings.php.vault_ file.
54
If you use the _LdapAuthentication_ extension, the admin account is of no importance as local accounts are not used.
55
56
Run the upgrade script as defined in the next chapter, as extensions might add things to the database.
57
58
h4. Upgrade of an instance
59
60
Go into the instance document_root and run: MW_INSTALL_PATH=$(pwd) maintenance/update.php