User:Juho Kunsola/log/2021: Difference between revisions

    From Ban Covert Modeling! wiki
    (Made and verified backups and took a snapshot of the system disk)
    (+ ==== Finally enabled VisualEditor ==== + howto + thank yous + a problem: Some REST 404 problems seem to still exhibit, mainly when trying to edit exactly this article in user-space)
    Line 1: Line 1:
    == November ==
    == November ==


    === Saturday 2021-11-27 ===
    ==== Finally enabled VisualEditor successfully ====
    I finally enabled [[mw:VisualEditor]] on all wikis. Some REST 404 problems seem to still exhibit, mainly when trying to edit exactly this article in user-space.
    This is an matter of importance, because mobile users have been unable to edit any pages due to an issue with [[mw:Extension:ConfirmEdit]] and [[mw:Extension:MobileFrontend]] not quite playing catch with each other.
    I was alerted to the issue of no captcha by a user of the Consumerium development wiki on [[ciumd:User:Jukeboksi/Log/2021#Sunday 2021-02-07]].
    I filed a ticket on it [[ciumd:MediaWiki/Tickets/Phabricator T274807 - No CAPTCHA from ConfirmEdit served for users that use MobileFrontend]].
    I did try to enable VisualEditor on 2021-05-13 but run into 404 problems regarding the REST-traffic, as have many other people. See catalogue [[phabricator:T266971|phabricator:T266971 - ''"Error contacting the Parsoid/RESTBase server" (HTTP 404/403) and similar errors (catalog)'']]. The weird thing about these 404's was that they did not start to exhibit immediately after enabling VisualEditor, nor did they exhibit consistently.
    It seems that the '''404 errors''' with the REST-communication used by VisualEditor '''are due to old style of apache2 rewrite engine settings'''.
    For the problem of 404 errors in REST-communication I took the solution given here [[phabricator:T270376#7365202]] after the breakthrough discovery [[phabricator:T270376#7364419]] by [https://phabricator.wikimedia.org/p/Func/ Func].
    This Apache configuration (snippet) in the VirtualHost directive in <code>/etc/apache2/sites-available/000-website.tld</code> worked for wikis where short URLs in the format of <code>/wiki/</code> and the MediaWiki residing in <code>/w/</code> and document root is one directory up from /w/
    <pre>
      RewriteEngine On
      RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f
      RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d
      RewriteRule ^(?:(?!rest.php/).)*$ %{DOCUMENT_ROOT}/w/index.php [L]
    </pre>
    '''Thank yous''' to '''Func''' for solving this for us and [https://phabricator.wikimedia.org/p/Kghbln/ '''Kghbln'''] for asking the question in [[phabricator:T270376]] and thanks to Bob, who brought to my attention the problem that mobile users were unable to edit wiki.
    * Making and verifying backups and taking a snapshot
    === Friday 2021-11-26 ===
    === Friday 2021-11-26 ===
    ==== Made and verified backups and took a snapshot of the system disk ====
    ==== Made and verified backups and took a snapshot of the system disk ====

    Revision as of 16:31, 27 November 2021

    November

    Saturday 2021-11-27

    Finally enabled VisualEditor successfully

    I finally enabled mw:VisualEditor on all wikis. Some REST 404 problems seem to still exhibit, mainly when trying to edit exactly this article in user-space.

    This is an matter of importance, because mobile users have been unable to edit any pages due to an issue with mw:Extension:ConfirmEdit and mw:Extension:MobileFrontend not quite playing catch with each other.

    I was alerted to the issue of no captcha by a user of the Consumerium development wiki on ciumd:User:Jukeboksi/Log/2021#Sunday 2021-02-07.

    I filed a ticket on it ciumd:MediaWiki/Tickets/Phabricator T274807 - No CAPTCHA from ConfirmEdit served for users that use MobileFrontend.

    I did try to enable VisualEditor on 2021-05-13 but run into 404 problems regarding the REST-traffic, as have many other people. See catalogue phabricator:T266971 - "Error contacting the Parsoid/RESTBase server" (HTTP 404/403) and similar errors (catalog). The weird thing about these 404's was that they did not start to exhibit immediately after enabling VisualEditor, nor did they exhibit consistently.

    It seems that the 404 errors with the REST-communication used by VisualEditor are due to old style of apache2 rewrite engine settings.

    For the problem of 404 errors in REST-communication I took the solution given here phabricator:T270376#7365202 after the breakthrough discovery phabricator:T270376#7364419 by Func.

    This Apache configuration (snippet) in the VirtualHost directive in /etc/apache2/sites-available/000-website.tld worked for wikis where short URLs in the format of /wiki/ and the MediaWiki residing in /w/ and document root is one directory up from /w/

       RewriteEngine On
    
       RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f
       RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d
       RewriteRule ^(?:(?!rest.php/).)*$ %{DOCUMENT_ROOT}/w/index.php [L]
    
    

    Thank yous to Func for solving this for us and Kghbln for asking the question in phabricator:T270376 and thanks to Bob, who brought to my attention the problem that mobile users were unable to edit wiki.

    • Making and verifying backups and taking a snapshot

    Friday 2021-11-26

    Made and verified backups and took a snapshot of the system disk

    Friday 2021-11-19

    Made and verified backups and took a snapshot of the system disk

    • Making and verifying backups and taking an interim snapshot of the system disk in preparation for some testing in a testing wiki.

    Tuesday 2021-11-09

    Made and verified backups and took a snapshot of the system disk

    • Making and verifying backups and taking an interim snapshot of the system disk.

    October

    Sunday 2021-10-24

    Made and verified backups and took a snapshot of the system disk

    • Making and verifying backups and taking a snapshot in preparation of trying out the recently found fix for the REST communication 404s that Visual Editor has been causing for many. At least in one particular case it turned out to be an Apache2 rewrite configuration issue. Will try it out in my private test wiki and if it works there then I'll enable it in an another wiki and if that works then probably roll out the Visual Editor to all wikis, as that will enable also mobile users to edit the wiki (an CAPTCHA issue of long standing, pointed out by a Consumerium.org development wiki user). See ciumd:Tickets and feature request#Tickets under observation for general outline of the situation.

    Sunday 2021-10-17

    Made and verified backups and took a snapshot of the system disk

    • Making and verifying backups and taking a snapshot after migrating the https://d.consumium.org diaspora* pod from Münich to Helsinki.

    Monday 2021-10-11

    Made and verified backups and took a snapshot of the system disk

    • Making and verifying backups after substantial additions to ciumd:User:Jukeboksi/Wiki.study/Natural therapeutics#Alzheimer's, which I have been preparing since Saturday. I hope to get it soon to good shape in order to send to (ex) President Martti Ahtisaari of Finland, who has unfortunately come down with Alzheimer's disease.

    Tuesday 2021-10-05

    Made and verified backups and took a snapshot of the system disk

    • Making and verifying backups in preparation of migrating the https://d.consumium.org diaspora* pod on another server

    Friday 2021-10-01

    • Making backups and taking a snapshot after successful upgrade.

    Upgraded the wiki to latest LTS point release

    September

    Thursday 2021-09-30

    Made and verified backups and took a snapshot of the system disk

    • Making and verifying backups and taking a snapshot of the system disk in preparation for upgrade to 1.35.4, that is slated to be released today.

    Tuesday 2021-09-21

    Made and verified backups and took a snapshot of the system disk

    • Making and verifying backups and taking an interim snapshot of the system disk


    Monday 2021-09-13

    Made and verified backups and took a snapshot

    • Making and verifying backups.

    Sunday 2021-09-05

    Enabled 2FA

    2FA is activated in Special:Preferences and when activating it offers you
    1. the w:QR code for scanning with smartphone.
    2. the equivalent numeric code in case you aren't using a smartphone for 2FA authenticator
    3. list of disposable codes for emergency login without your 2FA app (these are shown only once)
    4. it asks you to enter the correct time-based code in order to finish activating
    Done [✔]

    See mw:Help:Two-factor authentication for further info.

    Took a snapshot of the system disk

    • Took an interim snapshot of the system disk.

    Saturday 2021-09-04

    Made and verified backups

    • Made and verified backups. Lately I've been keeping busy with #SSFWIKI improvements. Past few days I added 45 churches that I contacted in late 2020 to ssfwiki:Bibles and churches#Contacted. I also mailed all the parliamentarians of the Finnish 2019-2023 parliamentary session and also other political parties in Finland and am going to add those somewhere.

    August

    Wednesday 2021-08-25

    Made and verified backups and took a snapshot

    Made and verified backups and took a snapshot.

    I've been busy with improving the #SSFWIKI:


    Monday 2021-08-16

    Made and verified backups

    • Making and verifying backups. Recent improvements were mostly made to ssfwiki:Synthetic human-like fakes (added contact information for the organizations) and ssfwiki:Glossary (sourced translations and linked the wikidata items in ongoing effort to make it more like a "Glossary and a dictionary")
    Done, also took an interim snapshot of the system disk

    Wednesday 2021-08-04

    Made and verified backups and took a snapshot of the system disk

    • Making and verifying backups and taking a snapshot of the system disk. Juho Kunsola (talk) 19:06, 4 August 2021 (CEST)
    Done

    July

    Saturday 2021-07-24

    Making backups

    • Making and verifying backups and taking a snapshot of the system disk. Juho Kunsola (talk) 17:42, 24 July 2021 (CEST)

    Friday 2021-07-16

    Wednesday 2021-07-07

    • Took a snapshot of the system disk in preparation for some maintenance work. Did the work, made and verified backups and another snapshot. Juho Kunsola (talk) 20:26, 7 July 2021 (CEST)

    June

    Tuesday 2021-06-29

    Made and verified backups and took a snapshot of the system disk.

    Thursday 2021-06-17

    Made, verified and stashed backups

    Monday 2021-06-14

    • Took a snapshot of the system disk. Juho Kunsola (talk) 10:56, 14 June 2021 (CEST)

    Sunday 2021-06-06

    May

    Wednesday 2021-05-26

    • Took a snapshot of the system disk. Juho Kunsola (talk) 09:21, 26 May 2021 (CEST)

    Monday 2021-05-24

    • Making, verifying and stashing backups and taking a snapshot of the system disk. Juho Kunsola (talk) 19:25, 24 May 2021 (CEST)

    Sunday 2021-05-02

    Made, verified and distributed backups

    April

    Thursday 2021-04-22

    Made, verified and stashed backups

    Sunday 2021-04-11

    Made and verified the backups and took a snapshot of the system disk

    Wednesday 2021-04-07

    Made and verified backups, took a snapshot of the system disk.

    Saturday 2021-03-04

    Made, verified and stashed backups and took a snapshot of the system disk.

    March

    Tuesday 2021-03-23

    • Making, verifying and stashing backups and also taking a snapshot of the system disk. Juho Kunsola (talk) 11:17, 23 March 2021 (CET)
    Backupping and snapshotting complete. Juho Kunsola (talk) 12:08, 23 March 2021 (CET)

    Wednesday 2021-03-17

    • Enabled w:Memcached. See mw:Manual:memcached for info on how to. The wikis really sped up a lot and it ain't using even half of the RAM allocation I gave it.

    Sunday 2021-03-07

    • Making, verifying and stashing backups. Juho Kunsola (talk) 16:49, 7 March 2021 (CET)
    Done, also took a snapshot of the system disk.

    February

    Tuesday 2021-02-16

    • Making, verifying and stashing backups and taking a snapshot of the system disk. Juho Kunsola (talk) 19:47, 16 February 2021 (CET)
    Made, verified and stashed backups and took a snapshot of the system disk. Juho Kunsola (talk) 20:13, 16 February 2021 (CET)

    Sunday 2021-02-07

    • I was made aware today by a user on the Consumerium development wiki that there is a problem with invoking the mw:CAPTCHA for the mobile users, rendering mobile users unable to edit any pages. This is a semi-known issue in mw:Extension:MobileFrontend. There is an another minor issue to patch also. I'm looking for a solution or workaround to the problem for our mobile users and making backups now. Juho Kunsola (talk) 16:10, 7 February 2021 (CET)
    Made, verified and stashed backups. Juho Kunsola (talk) 16:43, 7 February 2021 (CET)

    January

    Friday 2021-01-22

    Made, verified and stashed backups.

    Friday 2021-01-08

    • Made, verified and stashed backups + took a snapshot of the system disk. Juho Kunsola (talk) 15:45, 8 January 2021 (CET)
    • Upgraded the wiki to mw:MediaWiki_1.35.1. Making and verifying backups and taking a snapshot of the system disk. Juho Kunsola (talk) 14:57, 8 January 2021 (CET)

    Wednesday 2021-01-06

    • Snapshot done. Juho Kunsola (talk) 23:05, 6 January 2021 (CET)
    • Made, verified and stashed backups. Taking a snapshot of the system disk. Juho Kunsola (talk) 22:52, 6 January 2021 (CET)
    • Making and verifying backups in preparation for upgrade. Juho Kunsola (talk) 22:30, 6 January 2021 (CET)

    2021-01-03

    • Took a snapshot of the system disk. Juho Kunsola (talk) 17:43, 3 January 2021 (CET)
    • Made, verified and stashed backups. Juho Kunsola (talk) 16:05, 3 January 2021 (CET)
    • Making and verifying backups. Juho Kunsola (talk) 14:47, 3 January 2021 (CET)