System Log: Difference between revisions

From mywiki
Jump to navigation Jump to search
m (Protected "System Log": Protect short page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
* --[[User:Johnny|Johnny]] ([[User talk:Johnny|talk]]) 21:55, 7 October 2024 (UTC) Changed line 78 .bashrc to color none from color auto to correct directory display.  That did not fix it. Had to edit .dircolors other writable https://unix.stackexchange.com/questions/577873/how-to-change-font-colors-for-directories-with-write-permissions-in-ls .
* --[[User:Johnny|Johnny]] ([[User talk:Johnny|talk]]) 16:04, 14 June 2024 (UTC) Reissued SSL certificate.  Key is to delete and readd CNAME without host name.
* --[[User:Johnny|Johnny]] ([[User talk:Johnny|talk]]) 14:39, 5 June 2024 (UTC) Created [[Archive]] page and redirected all 404s on mywiki there.  Too much political activity.
* --[[User:Johnny|Johnny]] ([[User talk:Johnny|talk]]) 16:41, 6 February 2024 (EST) [[Block IP Range]]
* --[[User:Johnny|Johnny]] ([[User talk:Johnny|talk]]) 11:27, 6 February 2024 (EST) Turned off port forwarding on port 143 to close another malware entry point.
* --[[User:Johnny|Johnny]] ([[User talk:Johnny|talk]]) 10:45, 28 October 2023 (EDT) Upgrading iPhone to 17.1 introduced bug [https://bugs.webkit.org/show_bug.cgi?id=261414 261414] which prevents core page from playing music on iPhone.
** Upgrading to 17.1 fixed my problem.
** [https://discussions.apple.com/thread/255235567 Discussion with Apple Support]
* --[[User:Johnny|Johnny]] ([[User talk:Johnny|talk]]) 20:46, 24 October 2023 (EDT) Remove bluetooth and wifi from wunder and mywiki <ref>[https://github.com/raspberrypi/firmware/blob/master/boot/overlays/README Overlays README Raspberry PI]</ref>
** Added two lines to /boot/firmware/config.txt (mywiki) usercfg.txt(wunder)
*** dtoverlay=disable-wifi
*** dtoverlay=disable-bt
* --[[User:Johnny|Johnny]] ([[User talk:Johnny|talk]]) 16:52, 22 October 2023 (EDT) mywiki sudo systemctl edit --full systemd-networkd-wait-online.service because wifi required to be online.  Configured for any interface and made eth0 a required one.  Trying that.
* --[[User:Johnny|Johnny]] ([[User talk:Johnny|talk]]) 08:34, 20 October 2023 (EDT) systemd-networkd-wait-online set to only wait on eth0 on mywiki.
* cifs does not work for Buffalo NAS on upgraded linux (23.04) reported bug. Changed to version 2 aqnd now all works.
* --[[User:Johnny|Johnny]] ([[User talk:Johnny|talk]]) 10:51, 23 August 2022 (EDT) johnny has this problem [https://bugs.kde.org/show_bug.cgi?id=435113 Mouse Reset Dropping Customizations].  Current version of plasmashell (plasmashell --version) is 5.24.6.  This is supposed to be fixed on 5.24.7.
* --[[User:Johnny|Johnny]] ([[User talk:Johnny|talk]]) 10:51, 23 August 2022 (EDT) johnny has this problem [https://bugs.kde.org/show_bug.cgi?id=435113 Mouse Reset Dropping Customizations].  Current version of plasmashell (plasmashell --version) is 5.24.6.  This is supposed to be fixed on 5.24.7.
* This site is pretty quiesced.  The backend Ubuntu Service streams have stopped.  Still working though so until I get up the energy to upgrad I'm going to just leave it.  The reason I'm writing to entry is a private wiki I run started to fail with upgrades to PHP 8 and MySql 8.  Had to backoff PHP 8 to 7.4 as particularly Semantic MediaWiki is incomatible with PHP 8.  Still had a problem display revisions with the site until I used the MySQL Command '''CREATE INDEX page_timestamp ON revision (rev_timestamp,rev_actor);''' to create the non-existent Index page_timestamp.  Revisions started to be displayed once I did that.  I blame the failure on MySql *.0 FORCE INDEX optimization.
* This site is pretty quiesced.  The backend Ubuntu Service streams have stopped.  Still working though so until I get up the energy to upgrad I'm going to just leave it.  The reason I'm writing to entry is a private wiki I run started to fail with upgrades to PHP 8 and MySql 8.  Had to backoff PHP 8 to 7.4 as particularly Semantic MediaWiki is incomatible with PHP 8.  Still had a problem display revisions with the site until I used the MySQL Command '''CREATE INDEX page_timestamp ON revision (rev_timestamp,rev_actor);''' to create the non-existent Index page_timestamp.  Revisions started to be displayed once I did that.  I blame the failure on MySql *.0 FORCE INDEX optimization.

Latest revision as of 03:28, 8 October 2024

  • --Johnny (talk) 21:55, 7 October 2024 (UTC) Changed line 78 .bashrc to color none from color auto to correct directory display. That did not fix it. Had to edit .dircolors other writable https://unix.stackexchange.com/questions/577873/how-to-change-font-colors-for-directories-with-write-permissions-in-ls .
  • --Johnny (talk) 16:04, 14 June 2024 (UTC) Reissued SSL certificate. Key is to delete and readd CNAME without host name.
  • --Johnny (talk) 14:39, 5 June 2024 (UTC) Created Archive page and redirected all 404s on mywiki there. Too much political activity.
  • --Johnny (talk) 16:41, 6 February 2024 (EST) Block IP Range
  • --Johnny (talk) 11:27, 6 February 2024 (EST) Turned off port forwarding on port 143 to close another malware entry point.
  • --Johnny (talk) 10:45, 28 October 2023 (EDT) Upgrading iPhone to 17.1 introduced bug 261414 which prevents core page from playing music on iPhone.
  • --Johnny (talk) 20:46, 24 October 2023 (EDT) Remove bluetooth and wifi from wunder and mywiki [1]
    • Added two lines to /boot/firmware/config.txt (mywiki) usercfg.txt(wunder)
      • dtoverlay=disable-wifi
      • dtoverlay=disable-bt
  • --Johnny (talk) 16:52, 22 October 2023 (EDT) mywiki sudo systemctl edit --full systemd-networkd-wait-online.service because wifi required to be online. Configured for any interface and made eth0 a required one. Trying that.
  • --Johnny (talk) 08:34, 20 October 2023 (EDT) systemd-networkd-wait-online set to only wait on eth0 on mywiki.
  • cifs does not work for Buffalo NAS on upgraded linux (23.04) reported bug. Changed to version 2 aqnd now all works.
  • --Johnny (talk) 10:51, 23 August 2022 (EDT) johnny has this problem Mouse Reset Dropping Customizations. Current version of plasmashell (plasmashell --version) is 5.24.6. This is supposed to be fixed on 5.24.7.
  • This site is pretty quiesced. The backend Ubuntu Service streams have stopped. Still working though so until I get up the energy to upgrad I'm going to just leave it. The reason I'm writing to entry is a private wiki I run started to fail with upgrades to PHP 8 and MySql 8. Had to backoff PHP 8 to 7.4 as particularly Semantic MediaWiki is incomatible with PHP 8. Still had a problem display revisions with the site until I used the MySQL Command CREATE INDEX page_timestamp ON revision (rev_timestamp,rev_actor); to create the non-existent Index page_timestamp. Revisions started to be displayed once I did that. I blame the failure on MySql *.0 FORCE INDEX optimization.
  • --Johnny (talk) 22:31, 3 February 2021 (EST) Upgrade, end of year, disk failure and over site in backup procedures caused a long recovery process but we're back. The upgrade to mediawiki 1.35 increased the minimum length of password and introduced the actor table which conspired to break the link between Johnny and his revisions. My backup procedure for mysqldump dumped directly to backup file so when the disk broke in that backup it corrupted the backup so I had to recover twice. I directly modified two sql tables user changed johnny id to 2 and actor aligned johnny with 2. Copy mysqldump now if successful so I'll always have one good copy.
WE'RE BACK
  • --Johnny 16:08, 28 October 2020 (EDT) Problem CreateClass and CreateProperty circumvented.
  • Upgraded version of Ubuntu to 20.04 and it's eating my lunch on things that should work. AppArmor and Snap are the culprits. To correc snap issue this command after package upgrades.
sudo apparmor_parser -r /etc/apparmor.d/*snap-confine*
  • --Johnny 16:37, 30 September 2020 (EDT) Finish upgrade to Ubuntu LTS 20.0.4
    • Deprecated MySQL parameters (Cache) in upgrading from version 5 to 8 caused MySQL to abend on startup
    • Proxies had to be reconfigured
      • Tor for http request proxy
      • Squid for acl for localnet.
    • Had to reinstall snapd Applications would not run.
    • Configure php
      • Install php-curl
      • Change php.ini parameters
        • Eliminate error notices and warnings cli and apache2
        • Increase execution time from 30 to 300 seconds apache2
        • Increase max memory from 128M to 512M apache2
        • Max File Size to 50M
  • --Johnny 07:51, 16 January 2020 (EST) Strange URL containing 'A=0 or '0=A in web server logs mwssl blocking 'A=0 which is a bot testing for SQL injection vulnerabilities by closing a query with apostrophe, then setting a variable. There are also similar injects that deal with shell commands and/or file path traversals. Whether it's a "good bot" or a bad bot is unknown, but if the inject works, you have bigger issues to deal with. There's a 99% chance your site is not generating these style links and there is nothing you can do to stop them from crafting those urls unless you block the request(s) with a simple regex string or a more complex WAF such as ModSecurity.
  • --Johnny 08:02, 15 November 2019 (EST) In cli and apache2 set session.gc_maxlifetime = 7200 was 1440 for php session. Timeout run last night of SuperPAC update.
  • --Johnny 23:15, 27 February 2019 (EST) Update of Java broke Eclipse. Downloaded new Eclipse Version.
  • --Johnny 08:23, 11 February 2019 (EST) Upgrade to Ubuntu 18.04 over the weekend and it dragged along PHP 7.2 which attempted to correct an error on count() when it's executed against a data variable that is not set to be countable. It returns a warning message. This has broken a lot of Semantic Wiki code and is showing error messages. I've turned off error reporting in Apache and MediaWiki and am waiting on a fix. Using php count without warnings php 7.2 Upgraded to Semantic Mediwiki 3 we'll see if that fixes this.
  • --Johnny 14:15, 31 January 2019 (EST) Enabled Apache mod-speling to correct single capitilization error.
  • --Johnny 09:57, 29 January 2019 (EST) Remove System Log from Category:Info as while each Information System will have a System Log that log will be unique and not exportable.
  • --Johnny 00:01, 6 December 2018 (EST) Update TwoFace to block IPs trying to use it to break in.
  • --Johnny 00:10, 29 August 2018 (EDT) Have been struggling getting encoded pages store. Set Curl option in Included lib LIB_http to curl_setopt( $ch, CURLOPT_ENCODING, "" ); and that seemd to fix it. We'll see if it broke anything else.
  • --Johnny 09:06, 28 August 2018 (EDT) Struggling with MPD Startup after moving music to external drive. Drive can only be access from one user due to formatting and so cannot use daemon to start. Tried including in .profile but cannot stat drive there so commented out. Currently not starting need to see how that works with house music.
  • --Johnny 09:03, 30 July 2018 (EDT) In CLI php.ini moved to E_ERROR reporting to get out of undefined variable reporting.
  • --Johnny 09:51, 30 April 2018 (EDT) MediaWiki 1.30.0 deprecated many old functions breaking at least 2 Extensions.
    • MobileFrontend Error from line 1230 of /var/www/mywiki/extensions/MobileFrontend/includes/MobileFrontend.hooks.php: Call to undefined method OutputPage::enableTOC() (I commented out and it's working fine for now. May get TOC in Mobile View which is less than ideal but better than not working. OutputPage was deprecated.
    • EmailToWiki edit in EmailToWiki.php was using $Article->doEdit which is also deprecated. Inserted the following code.
      • $wikipage = new WikiPage($title);
      • $content = new WikitextContent( $content );
      • $edit_summary = "Article created by EmailToWiki Mediawiki extension";
      • $wikipage->doEditContent( $content, $edit_summary, $flags );
  • --Johnny 12:42, 26 April 2018 (EDT) Need to correct https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/2453 Semantic Mediawiki Delete Article Job Generation Problem
  • --Johnny 10:48, 9 February 2018 (EST) set $wgJobRunRate=0
  • --Johnny 21:16, 5 February 2018 (EST) Added signature button to main Namespace.
  • --Johnny 21:03, 5 February 2018 (EST) switched /etc/awstats/conf to treat links as https.
  • --Johnny 10:55, 5 February 2018 (EST) Double php execution timeout time. disabled xdebug sudo phpenmod xdebug to enable.
  • --Johnny 08:09, 14 January 2018 (EST) set maxsize = 209715200 in /etc/default/apport java memory failure.
  • --Johnny 12:33, 3 July 2017 (EDT) Made some basic changes
    • Redirect Login 403 (Forbidden) to ServiceRequest.html
    • Redid home page to bring up to date and clean-up
    • Turned on watchlist notifications $wgEnotifWatchlist for mywiki.
  • --Johnny 00:05, 17 February 2017 (EST) Changed line wrap length in Thunderbird to 5000. Edit>Preferences>Config Editor Find 'wrap'
  • --Johnny 10:20, 2 November 2016 (EDT) Tried to fix Plex Edit line Location /etc/systemd/system/plexmediaserver.service saved file /etc/systemd/system/plexmediaserver.service.20161102
  • --Johnny 09:30, 1 October 2016 (EDT) Blocked Yandex ips
  • --Johnny 08:58, 13 September 2016 (EDT) Set php error_reporting E_ERROR in APACHE2 and /var/www/mywiki/maintenance/runJobs.php while disabling xdebug in php for MediaWiki warning errors. To turn xdebug off and on in cli use phpdismod/phpenmod xdebug.
  • --Johnny 10:03, 11 September 2016 (EDT) Corrected automysqlbackup warning messages. /usr/local/bin/automysqlbackup.
  • --Johnny 23:42, 5 September 2016 (EDT) changed localhost gedit /usr/local/bin/automysqlbackup. Xdebug currently disabled.
  • --Johnny 00:40, 31 August 2016 (EDT) Changed /etc/cron.d/anacron to start under systemctl/systemd instead of upstart which was generating a 3:30AM error email to mutt.
  • --Johnny 09:46, 25 August 2016 (EDT) Graphviz not working on airforce site. Error
  • --Johnny 15:54, 13 July 2016 (EDT) Changed Apache Logging to clean-up Gallery errors in Log.
  • --Johnny 08:28, 26 June 2016 (EDT) Increased Output Buffering in /etc/php5/apache2/php.ini to 8192 from 4096
  • --Johnny 11:56, 19 June 2016 (EDT) Backleveled /var/lib/wunder/extensions/Cite/CiteDataModule.php to use wfmessage Code Used for compatibility reasons.