- In _riverside_pt_rebuild(): proactively TRUNCATE the semaphore table at the very start of every rebuild. This eliminates the common 'duplicate key value violates unique constraint "semaphore____pkey"' errors for 'state:Drupal\Core\Cache\CacheCollector' and 'cron' that appear in postgres logs. - In entrypoint.sh: add TRUNCATE semaphore at strategic points (right after site:install, before module enables, before/after riverside:rebuild, before final drush cr). Wrapped with || true so they never break the startup script. - Added a note in CLAUDE.md under the rebuild section explaining the errors and the quick manual fix. These are harmless (Drupal's DbLockBackend usually recovers) but very noisy in the container logs during the default full rebuild path. |
||
|---|---|---|
| .. | ||
| riverside_pt | ||
| .DS_Store | ||