PromptPipe enforces a lock at {STATE_DIR}/promptpipe.lock. If another instance is running, startup will fail with a lock error.
Steps:
- Ensure no other PromptPipe process is running.
- If the lock is stale, remove it:
rm /var/lib/promptpipe/promptpipe.lockUse the following flags during login:
--qr-output /path/to/qr.txtto write a QR code to a file.--numeric-codeto output a numeric login code instead of QR.
GenAI prompts require OPENAI_API_KEY. If missing:
POST /schedulewithtype=genaireturns400(“GenAI client not configured”).POST /sendwithtype=genaiwill fail to generate content.
The WhatsApp client warns if the WhatsApp SQLite DSN does not enable foreign keys. Prefer:
file:/path/to/whatsmeow.db?_foreign_keys=on
schedule.timezone and conversation enrollment/update timezone values must be valid IANA names (e.g., America/Toronto).
POST /conversation/participantsandPUT /conversation/participants/{id}return400for invalid timezones.POST /schedulereturns500(“Failed to schedule job”) when the schedule timezone is invalid.