Updated pocketbase errors.

This commit is contained in:
2026-09-06 07:18:40 +00:00
parent c80c2b0b12
commit 424a2b016a
3 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -25,7 +25,9 @@ PB_PID=$!
# when records already exist or no superuser env is provided)
(
sleep 2
if node scripts/pb-seed.mjs; then
if [ ! -f scripts/pb-seed.mjs ]; then
echo "[entrypoint] WARNING: scripts/pb-seed.mjs missing from image — the image was built from a stale checkout; rebuild it"
elif node scripts/pb-seed.mjs; then
echo "[entrypoint] pocketbase seed complete"
else
echo "[entrypoint] pocketbase seed skipped/failed — site falls back to bundled defaults"