Upgrading a Drupal 8 site, and needed PHP7.4 to get it running locally. So I just got that working in Drupal-Flake (https://drupal.org/project/drupal_flake). #drupal #nix
Wild stuff! https://www.pentestpartners.com/security-blog/exploiting-copilot-ai-for-sharepoint/ #AI #Security
New blog post: Sustainable Business and AI https://www.freelock.com/blog/john-locke/2025-05/sustainable-business-and-ai #Drupal #AI #OpenSource
Looks like MastoFeed.com forget to renew their domain registration. Anybody have a quick easy way to embed a #Mastodon timeline on a website?
New blog post: Containerless Dev environments for Drupal development with Nix https://www.freelock.com/blog/john-locke/2025-05/containerless-dev-environments-drupal-development-nix #DrupalCon #Nix
Gotta love #NixOS... A #Prometheus update broke a bunch of panes on our #Grafana monitoring screens.
I checked out an older flake.lock and switched to that configuration, and all my metrics are back as they were before!
@laird Yeah the metrics in the queries all come up with "Empty query result".
I verified the metrics are still showing up in the target exporters -- but Prometheus seems to be ignoring them?
These metrics in particular:
node_network_transmit_bytes_total
node_filesystem_avail_bytes
node_filesystem_size_bytes
container_memory_usage_bytes
So after upgrading #Prometheus from 3.1.0 to 3.3.0 (nixpkgs), suddenly my Grafana dashboard is missing data for several panes related to network traffic and disk usage. I see the underlying metrics are still visible in the node exporter data, but not in Prometheus. Not seeing anything obvious in the change logs -- what am I missing?
New blog post: Ask Freelock: Do I need a Web Application Firewall? https://www.freelock.com/blog/john-locke/2025-04/ask-freelock-do-i-need-web-application-firewall #WordPress #Drupal #WAF #Security
Solved a really thorny, frustrating issue -- a conflict between #Drupal's #ECA module and Inline Entity Form module. https://www.drupal.org/project/eca/issues/3469697 . If you've had trouble adding multiple items to an inline entity form field, this might be why...
Made a ton of improvements to https://drupal.org/project/drupal_flake -
- start-config now installs your existing site from configuration
- xdrush triggers an xdebug session from drush
- update-flake makes it easy to get new features in the future
- Composer now visible to PHP, so Project Browser and auto updates work
- Updates to include block to avoid conflicts with other environments
Check it out! In some ways this is easier/faster than #ddev ! #drupal #nix
@CheRosach It's missing Snow Crash/Neil Stephenson...
💙 I’m speaking at DrupalCon Atlanta! 💙
Join me and 1000+ of Drupal enthusiasts, developers, and industry leaders for an unforgettable experience. Let’s make #DrupalConAtlanta the best one yet!
https://events.drupal.org/atlanta2025
Got a #Nix flake for Drupal working -- it downloads, configures, and installs the latest Drupal CMS and runs it in Nginx, MariaDB, PHP-FPM... with 1 single command.
Takes about 3.5 minutes to spin up (at least after a lot has been cached), with 3 minutes of that just the Drupal install.
If you have Nix installed, I'd love some feedback -- you can try it out with
nix run github:freelock/drupal-flake#demo
... especially interested in whether it works on Mac, Windows...
Jon Stewart's guest brought up #Matrix today on the Weekly Show podcast - https://youtu.be/jsHoX9ZpA_M?si=uYHyoImNxd05QebL&t=2973 . The whole episode is important for anyone who cares about democracy. Well worth the listen.
@Linux_Is_Best @felyashono #Matrix does both encrypted and non-encrypted messaging