----------------
$ git status
Refresh index: 100% (21186/21186), done.
On branch MOODLE_39_STABLE
Your branch is up to date with 'origin/MOODLE_39_STABLE'.
Changes not staged for commit:
(use "git add ..." to update what will be committed)
(use "git checkout -- ..." to discard changes in working directory)
modified: lib/dml/mysqli_native_moodle_database.php
Untracked files:
(use "git add ..." to include in what will be committed)
lib/dml/mysqli_native_moodle_database.php.bak-2020-10-04
no changes added to commit (use "git add" and/or "git commit -a")
-------------------
So the only file modified is the one I had to patch to fix this bug:
https://tracker.moodle.org/browse/MDL-69196
I looked at where I patched the code and it looks clean. Plus that code only executes once, setting up to create DB tables, and is already over and done with at this point.
NOTE that purge_caches.php did NOT resolve this. It generated a perms error because when I ran it from CLI I had to sudo and initially forgot to add the option
-u www-data
and the purge code apparently modifies the directory perms to match the user calling the code so it was setting them to root not www-data.
Still have the same header already sent error, presumably from whatever generates the "==" chars.
Unless someone has something else to try with the current stalled-out install, I will have to nuke everything and start over.