User:Jukeboksi/Log/2021: Difference between revisions

    From Consumerium development wiki R&D Wiki
    (+ Making and verifying backups and taking an interim snapshot of the system disk)
    m (caps)
     
    (19 intermediate revisions by the same user not shown)
    Line 1: Line 1:
    '''TODO'''
    '''[[User:Jukeboksi/Log/2022|Wiki log for 2022]]'''
    ----
     
    == December ==
     
    === Sunday 2021-12-26 ===
    ==== Made and verified backups ====
    * Done.
     
    === Wednesday 2021-12-15 ===
    ==== Made and verified backups and took a snapshot of the system disk ====
    ==== Upgraded the wikis to 1.35.5 ====
    * Upgraded all the wikis to [[mw:MediaWiki]] version 1.35.5. Making and verifying backups and taking a snapshot of the system disk.
    * There is a slight problem with the test wiki: When trying to access it one gets redirected to the development wiki. This is an issue with the Apache conf, but not quite sure, what's the problem
     
    === Tuesday 2021-12-14 ===
    ==== Made and verified backups ====
    * Making and verifying backups in preparation for upgrade to 1.35.5, which should be released today
     
    === Sunday 2021-12-12 ===
    ==== Made and verified backups and took a snapshot of the system disk ====
    Made and verified backups and took a snapshot.
     
    === Saturday 2021-12-11 ===
    ==== Finally enabled VisualEditor successfully ====
    The solution given here [[phabricator:T270376#7365202]] after the breakthrough discovery [[phabricator:T270376#7364419]] by Func needed to be tweaked also with <code>AllowEncodedSlashes NoDecode</code> to stop the [[mw:VisualEditor]] REST 404 errors exhibiting when trying to edit subpages. Adding <code>AllowEncodedSlashes NoDecode</code> to the Apache 2.4 config inside of the <VirtualHost>-directive seems to yield a completely functioning VisualEditor setup.
     
    This advice I found in [[mw:Extension:VisualEditor#Allowing VisualEditor on page titles containing slashes]] after it was kindly pointed out by an irc-goer in #mediawiki. So the documentation has been improved lately.
     
    So two configuration changes to Apache2 were needed to successfully enable VisualEditor:
     
    <pre>
      AllowEncodedSlashes NoDecode
    </pre>
     
    for VE to work with URL's with slashes in them
     
    <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>
     
    for REST traffic to work as intended and naturally also short URLs working (MediaWiki is residing in w/ and wiki URL is /wiki/) and no more REST 404 errors at all.
    ==== Made and verified backups and took an interim snapshot of the system disk ====
    * Making and verifying backups


    == November ==
    == November ==
    === Saturday 2021-11-27 ===
    ==== Enabled VisualEditor ====
    I finally enabled [[mw:VisualEditor]] on all wikis. I'm still getting REST 404 errors with VisualEditor, but I have verified that those exhibit '''only when trying to edit a subpage'''. When trying to edit a subpage with VE, it fails with REST 404 when loading the VE, but if trying to create a subpage with VE it fails only after the final "save page".
    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
    :: Made and verified backups and took a snapshot of the system disk.
    === Friday 2021-11-26 ===
    ==== Made and verified backups and took a snapshot of the system disk ====
    * Based on one wiki, I would say that using this [[phabricator:T270376#7365202]] solution based on solution [[phabricator:T270376#7364419]] by [https://phabricator.wikimedia.org/p/Func/ Func] solved the REST traffic 404 problem. Making backups and taking a snapshot in preparation of enabling [[mw:VisualEditor]] on more wikis.
    === 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 ===
    === 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.
    * Making and verifying backups and taking an interim snapshot of the system disk.



    Latest revision as of 17:22, 3 January 2022

    Wiki log for 2022


    December[edit | edit source]

    Sunday 2021-12-26[edit | edit source]

    Made and verified backups[edit | edit source]

    • Done.

    Wednesday 2021-12-15[edit | edit source]

    Made and verified backups and took a snapshot of the system disk[edit | edit source]

    Upgraded the wikis to 1.35.5[edit | edit source]

    • Upgraded all the wikis to mw:MediaWiki version 1.35.5. Making and verifying backups and taking a snapshot of the system disk.
    • There is a slight problem with the test wiki: When trying to access it one gets redirected to the development wiki. This is an issue with the Apache conf, but not quite sure, what's the problem

    Tuesday 2021-12-14[edit | edit source]

    Made and verified backups[edit | edit source]

    • Making and verifying backups in preparation for upgrade to 1.35.5, which should be released today

    Sunday 2021-12-12[edit | edit source]

    Made and verified backups and took a snapshot of the system disk[edit | edit source]

    Made and verified backups and took a snapshot.

    Saturday 2021-12-11[edit | edit source]

    Finally enabled VisualEditor successfully[edit | edit source]

    The solution given here phabricator:T270376#7365202 after the breakthrough discovery phabricator:T270376#7364419 by Func needed to be tweaked also with AllowEncodedSlashes NoDecode to stop the mw:VisualEditor REST 404 errors exhibiting when trying to edit subpages. Adding AllowEncodedSlashes NoDecode to the Apache 2.4 config inside of the <VirtualHost>-directive seems to yield a completely functioning VisualEditor setup.

    This advice I found in mw:Extension:VisualEditor#Allowing VisualEditor on page titles containing slashes after it was kindly pointed out by an irc-goer in #mediawiki. So the documentation has been improved lately.

    So two configuration changes to Apache2 were needed to successfully enable VisualEditor:

       AllowEncodedSlashes NoDecode
    

    for VE to work with URL's with slashes in them

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

    for REST traffic to work as intended and naturally also short URLs working (MediaWiki is residing in w/ and wiki URL is /wiki/) and no more REST 404 errors at all.

    Made and verified backups and took an interim snapshot of the system disk[edit | edit source]

    • Making and verifying backups

    November[edit | edit source]

    Saturday 2021-11-27[edit | edit source]

    Enabled VisualEditor[edit | edit source]

    I finally enabled mw:VisualEditor on all wikis. I'm still getting REST 404 errors with VisualEditor, but I have verified that those exhibit only when trying to edit a subpage. When trying to edit a subpage with VE, it fails with REST 404 when loading the VE, but if trying to create a subpage with VE it fails only after the final "save page".

    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
    Made and verified backups and took a snapshot of the system disk.

    Friday 2021-11-26[edit | edit source]

    Made and verified backups and took a snapshot of the system disk[edit | edit source]

    Friday 2021-11-19[edit | edit source]

    Made and verified backups and took a snapshot of the system disk[edit | edit source]

    • 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[edit | edit source]

    Made and verified backups and took a snapshot of the system disk[edit | edit source]

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

    October[edit | edit source]

    Sunday 2021-10-24[edit | edit source]

    Made and verified backups and took a snapshot of the system disk[edit | edit source]

    • 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[edit | edit source]

    Made and verified backups and took a snapshot of the system disk[edit | edit source]

    • 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[edit | edit source]

    Made and verified backups and took a snapshot of the system disk[edit | edit source]

    • 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[edit | edit source]

    Made and verified backups and took a snapshot of the system disk[edit | edit source]

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

    Friday 2021-10-01[edit | edit source]

    • Making backups and taking a snapshot after successful upgrade.

    Upgraded the wiki to latest LTS point release[edit | edit source]

    September[edit | edit source]

    Thursday 2021-09-30[edit | edit source]

    Made and verified backups and took a snapshot of the system disk[edit | edit source]

    • 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[edit | edit source]

    Made and verified backups and took a snapshot of the system disk[edit | edit source]

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

    Monday 2021-09-13[edit | edit source]

    Made and verified backups and took a snapshot[edit | edit source]

    • Making and verifying backups.

    Monday 2021-09-06[edit | edit source]

    Enabled 2FA[edit | edit source]

    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.

    Sunday 2021-09-05[edit | edit source]

    Took a snapshot of the system disk[edit | edit source]

    • Took an interim snapshot of the system disk.

    Saturday 2021-09-04[edit | edit source]

    Made and verified backups[edit | edit source]

    • 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[edit | edit source]

    Wednesday 2021-08-25[edit | edit source]

    Made and verified backups and took a snapshot[edit | edit source]

    Making and verifying backups. Nothing much happening in Consumerium as I'm busy with improving the #SSFWIKI:

    Monday 2021-08-16[edit | edit source]

    Made and verified backups[edit | edit source]

    • 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[edit | edit source]

    Made and verified backups and took a snapshot of the system disk[edit | edit source]

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

    July[edit | edit source]

    Saturday 2021-07-24[edit | edit source]

    Making backups[edit | edit source]

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

    Wednesday 2021-07-21[edit | edit source]

    • Reverted server to last Friday's state, upgraded the MediaWiki from 1.35.2 to 1.35.3 and now performing backups and snapshotting. Revert was due to that 1.36.1 breaks (apparently and according to Reedy) mw:Wikibase. MediaWiki 1.35 is LTS, so going to stay on that. Jukeboksi (talk) 19:31, 21 July 2021 (CEST)

    Friday 2021-07-16[edit | edit source]

    Wednesday 2021-07-07[edit | edit source]

    • Took a snapshot of the system disk in preparation for some maintenance work. Jukeboksi (talk) 11:48, 7 July 2021 (CEST)
    • Maintenance work now complete, made and verified a backup and snapshotted the system disk. Jukeboksi (talk) 13:06, 7 July 2021 (CEST)

    June[edit | edit source]

    Tuesday 2021-06-29[edit | edit source]

    • Making and verifying backups. Jukeboksi (talk) 19:43, 29 June 2021 (CEST)
    Made and verified backups and took a snapshot of the system disk

    Thursday 2021-06-17[edit | edit source]

    • Making and verifying backups. Jukeboksi (talk) 14:00, 17 June 2021 (CEST)
    Made, verified and stashed backups

    Monday 2021-06-14[edit | edit source]

    • Took a snapshot of the system disk. Jukeboksi (talk) 10:55, 14 June 2021 (CEST)

    Sunday 2021-06-06[edit | edit source]

    • Took a snapshot of the system disk. Jukeboksi (talk) 11:48, 6 June 2021 (CEST)
    • Made and verified backups. Jukeboksi (talk) 14:39, 6 June 2021 (CEST)

    May[edit | edit source]

    Wednesday 2021-05-26[edit | edit source]

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

    Monday 2021-05-24[edit | edit source]

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

    Thursday 2021-05-13[edit | edit source]

    Sunday 2021-05-02[edit | edit source]

    • Making and verifying backups. Jukeboksi (talk) 10:47, 2 May 2021 (CEST)
    Made, verified and distributed backups

    April[edit | edit source]

    Saturday 2021-04-24[edit | edit source]

    The 50,000th edit in the Consumerium development wiki was the addition of really exciting research on the subject of COVID-19 and how cannabis helps against it. A friend's friend asked for these when I mentioned that I have some really interesting links on the subject of w:COVID-19 and w:cannabis, so I tweaked them into good format and in the process discovered a couple of new articles. Jukeboksi (talk) 19:21, 24 April 2021 (CEST)

    Thursday 2021-04-22[edit | edit source]

    Made, verified and stashed backups

    Monday 2021-04-12[edit | edit source]

    Sunday 2021-04-11[edit | edit source]

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

    Wednesday 2021-04-07[edit | edit source]

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

    Saturday 2021-03-04[edit | edit source]

    Made, verified and stashed backups and took a snapshot of the system disk. Jukeboksi (talk) 13:17, 3 April 2021 (CEST)

    March[edit | edit source]

    Tuesday 2021-03-23[edit | edit source]

    • Making, verifying and stashing backups and also taking a snapshot of the system disk. Jukeboksi (talk) 11:18, 23 March 2021 (CET)
    Backupping and snapshotting complete. Jukeboksi (talk) 11:37, 23 March 2021 (CET)

    Wednesday 2021-03-17[edit | edit source]

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

    Sunday 2021-03-07[edit | edit source]

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

    February[edit | edit source]

    Tuesday 2021-02-16[edit | edit source]

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

    Monday 2021-02-15[edit | edit source]

    Submitted the ticket MediaWiki/Tickets/Phabricator T274807 - No CAPTCHA from ConfirmEdit served for users that use MobileFrontend

    Sunday 2021-02-07[edit | edit source]

    • 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. Jukeboksi (talk) 16:08, 7 February 2021 (CET)
    Made, verified and stashed backups. Jukeboksi (talk) 16:38, 7 February 2021 (CET)

    January[edit | edit source]

    Friday 2021-01-22[edit | edit source]

    Made, verified and stashed backups. Jukeboksi (talk) 18:56, 22 January 2021 (CET)

    Friday 2021-01-08[edit | edit source]

    Wednesday 2021-01-06[edit | edit source]

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

    Sunday 2021-01-03[edit | edit source]

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

    Previous year User:Jukeboksi/Log/2020