Tom
Followup: Monitored backup, found / fixed issue with upload to backblaze. Code cleanup and enhancement. Removed unnecessary files that were inflating size of backups.
Followup: Monitored backup, found / fixed issue with upload to backblaze. Code cleanup and enhancement. Removed unnecessary files that were inflating size of backups.
Enhanced backup scripts and tested them. Added SQL dump to the main backup and also code to send archives to backblaze. Fixed backblaze uploads on hetzner2 and purged old failed backups from backblaze.
Marcin call: thumbnail problem. Did much investigation with ChatGPT, came across problem with backup integrity. Rewrote scripts and permissions to fix the issue. Installed syslog. Got cron working.
Discussed website problems with Marcin. Updated all extensions in Docker. Search and found similar problems.
Switched DNS to H2, copied logs, switched it back to H3, pasted logs. Reset wordpress container.
Set up docker config on H3, started containers, restored Mediawiki from database backup, verified all machines working and available. Wrote new backup script to include all of docker and added cron job to automate daily backups. Switched DNS for "wiki" to the H3 wiki.
Working with Ubuntu 24.04 / docker rootless / https config and hit a stopping point with Ubuntu's apparmor kernels. Switched to Debian 12 and it all installed and configured easily. Started upload and configuration of docker.
Decision made to switch OS. Settled on Ubuntu 24.04. Verified backups, started server reload. Started uploads to server.
Continued attempting "rootless" docker install on server, ran into UDEV problems, then other problems due to operating system issues. Checked system backups to cloud, copied files from server to my laptop. Updating letsencrypt certs.
Rebooted H3 and got it going. Restored the "rootful" docker services. Created new database backup, retention and restore scripts and cron schedules. Tested the full backup and documented it all in Tom Log below.
Continued work in early morning, throughout the day - with ChatGPT. It delved into network firewall rules and ended up putting the server unresponsive. I notified Marcin, switched "wiki" back to H2 and went to bed, very tired.
Marcin: Security assessment for Docker servers. Started switch to "rootless" environment, ended up trashing database. Search for most current version.
Updated and enabled the “WikiEdit” extension.
Modified backup script to include everything for the docker installation. Updated and enabled the “WikiEdit” extension, per Marcin.
Modified backup script to include everything for the docker installation. Updated and enabled the “WikiEdit” extension, per Marcin.
Switched DNS and made the new Mediawiki service the primary. Reclaimed some disk space, fixed Iframe extenison, ParserFuncitons extension and "File Upload" feature. Tweaked the docker-backup script and used it to make a backup of the docker containers.
Started upgrade of Mediawiki upgrade Version 1.7 incrementally to version 1.39. This process mostly affected the database. Each upgrade required installing the newer software and performing any necessary database upgrades - from upgrade scripts, packaged with the new version.
Got the certificate issue worked out - apparently, the docker can't process symbolic links and had to use "hard" file references.
Hours of dialog with ChatGPT trying to implement some security features, but ran into problems that went past midnight. Will continue tomorrow.
Created secure passwords for the database root, wiki and wordpress users. Put them in environment variables, updated the passwords in the database and tested for functionality.