No Branch/Tag Specified
Labels
Clear labels
monitoring
bug
design
dev environment
docs
duplicate
enhancement
feature
good first issue
idea
invalid
kredits-1
kredits-2
kredits-3
on hold
ops
question
security
ui/ux
wontfix
service
discourse
Kosmos Community Forums
Infrastructure metrics, alerts, notifications, etc.
service
accounts
Kosmos Accounts
service
drone-ci
Kosmos Drone CI
service
email
mail.kosmos.org
service
garage
S3-compatible object storage
service
gitea
Kosmos Gitea
service
ipfs
Kosmos IPFS
service
lightning
Lightning address, lndhub, etc.
service
mastodon
kosmos.social
service
nostr
Relays, Blossom server, etc.
service
postgres
Database cluster
service
remotestorage
Portable data storage for the Web
service
wiki
Kosmos Wiki
service
xmpp
Kosmos Chat
Something is not working
Graphic/visual design
Config, builds, CI, deployment, etc.
Documentation
This issue or pull request already exists
Improving existing functionality
New functionality
Dive in, and start contributing
Something to consider
Not a bug
Small contribution
Medium contribution
Large contribution
Currently not actionable
Manual IT ops activities
Looking for an answer
release
major
release
minor
release
patch
All your base are belong to us
User interface, process design, etc.
This won't be fixed
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: kosmos/chef#83
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
See #82 for more details. They are currently pinned to a specific version.
The apt preferences files you created are being ignored because of their name (apt thinks .7 is the extension, so they would need to end with .pref). Here's the manpage
The mysql packages were updated again on Saturday (
/var/log/unattended-upgrades/unattended-upgrades-dpkg.log), but this time the mysql service did not restart, so nothing brokeI'm trying to make sense of the logs from Friday when it broke after the update (
/var/log/mysql/error.log.3.gz), however there are no errors in them, just the daemon shutting down right after startingOn andromeda there is a
/etc/systemd/system/mysql.servicefile that was created by Chef, on a fresh VM the service is provided by the package and is located at/lib/systemd/system/mysql.service. So it looks like an issue caused by past versions of the mysql cookbookInstalling the
mysql-server-5.7package again and disabling the/etc/systemd/system/mysql.serviceservice should do the trick. I'm going to announce on IRC/XMPP that the wiki might go down for a bitI have managed to update mysql-server-5.7, after stopping
/etc/systemd/system/mysql.service, moving it, runningsystemctl daemon-reload.I had to temporarily add the UNIX socket
/run/mysql/mysqld.pidto the/var/www/mediawiki-1.32.0/LocalSettings.php, because the config in/etc/mysqlwas also generated by an old version of the mysql cookbook, and that set the UNIX socket to the non-standard/run/mysql/mysqld.pid. The one set by the mysql package is/var/run/mysqld/mysqld.sock, that is a default known by Mediawiki and other apps. So now the final step is to restore the initial config from the packagesThis is all done and working now.
I have restored the content of
/etc/mysql, restarted the service, and restored the mysql config in/var/www/mediawiki-1.32.0/LocalSettings.phpto what it was before (removed the:/run/mysql/mysqld.pidsuffix from the$wgDBserverdefinition, setting it back to "localhost"). Also removed the valid (libmysqlclient20 & libmysqlclient-dev) and invalid (all the mysql-*-5.7) apt preferences