docs(drupal-core): fix seed cache description and service setup instructions#146
Merged
Conversation
- Remove incorrect "database installed via ddev drush si" line; the seed cache is a simple git checkout with no DDEV project, database, or vendor files - Fix "ddev composer install" → "composer install" in cache-hit description - Add reinstall reminder to update-drupal-cache so the deployed copy in /usr/local/bin/ gets updated after script changes Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The migration instructions copied from PR #145 were incomplete: - Missing timer file install (drupal-cache-updater.timer) - Missing User=YOURUSER substitution in the service file - Missing systemctl enable --now drupal-cache-updater.timer Without these, the hourly auto-update never runs. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
WorkingDirectory=%h fails with "Permission denied" when the timer fires (even though a manual sudo systemctl start succeeds). The script uses only absolute paths, so the working directory is irrelevant. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes inaccurate and incomplete seed cache documentation introduced in #145, plus a service file bug that prevents the timer from working.
Description fixes:
ddev drush si" — the seed cache has no DDEV project, no database, no vendor files; it is a simple git checkoutddev composer install→composer installin the cache-hit descriptionMigration step fixes (the steps in #145 were incomplete — the timer never ran):
drupal-cache-updater.timer(was missing entirely)sedto substituteUser=YOURUSERplaceholder in the service file (without this, the service fails to start)systemctl enable --now drupal-cache-updater.timer(without this, the hourly update is never scheduled)Service file fix:
WorkingDirectory=%h→WorkingDirectory=/tmp—%hcauses "Permission denied" when the timer fires. The script uses only absolute paths so the working directory is irrelevant.Script fix:
update-drupal-cacheso the deployed/usr/local/bin/copy must be updated manually after script changesRequired admin action on each server
Run these steps to fix the installed service and get the timer working:
🤖 Generated with Claude Code