Dev Notes
How-tos and fixes for developer tools.
Docker error during connect: daemon down or wrong DOCKER_HOST?
It's not always that Docker is down. When docker ps or docker run comes back with "Unable to connect to the Docker daemon" or "error during connect", the…
Error Building Trees in Git: Permissions, Bamboo Cache, or Stash
Git stopped your commit, stash, or Bamboo build on "fatal: git-write-tree: error building trees". That last line names no file and no reason, only that th…
Fix Docker ‘address already in use’: lsof, stop, or remap -p
If docker-compose up just killed your Postgres or Elasticsearch container with "bind: address already in use" or "driver failed programming external conne…
SQLModel Update Existing Record in FastAPI: PATCH with exclude_unset
A partial request wiped your stored fields to None . Or your update model insists on every field. Or .dict() or .model_dump() throws an AttributeError. On…
Home Assistant Update HTTP 504 Behind Nginx: Use Internal IP or SSH
It probably didn't fail. You click update in Home Assistant, the page hangs, and nginx hands you a 504 Gateway Time-out instead of a new version. Accordin…
Roundcube 1.7.6 ‘Class Pdo\Mysql not found’ on PHP 8.3: Fix
It isn't your pdo_mysql extension. If your Roundcube 1.7.6 upgrade on PHP 8.3 dies with Class "Pdo\Mysql" not found , the target vendor/ may be missing sy…
Restrict DRF Endpoints: IsAuthenticatedOrReadOnly + Owner Checks
Your DRF snippets API either lets anyone edit anything, or it just rejected a POST with "Authentication credentials were not provided." Both have the same…
yt-dlp 403 Forbidden with Deno: -F works, download fails
yt-dlp is current, Deno shows up as detected, -F lists formats normally, and the download still dies with HTTP Error 403: Forbidden. Don't reinstall anyth…
EF Core Keys Get IDENTITY, Not Sequences? Fix with UseKeySequences
If your EF Core model targets SQL Server, you expect sequence-generated keys, and you find IDENTITY instead, you're seeing SQL Server's documented default…