Docs Self-hosting
Troubleshooting
Find the cause of common problems with the domains, the widget, the API, the emails and the Docker stack.
Run the doctor
fp:doctor checks the database, the migrations, the queue, the scheduler, the storage link, the mail settings and the domain values. For each problem, it gives the fix.
docker exec feedbackpilgrim php artisan fp:doctor
- Add
--fixto apply the safe fixes, for example a missing storage link. - Add
--jsonto get one JSON object for a script or an AI agent. - Run
fp:status --jsonfor a short summary of the instance.
Read the log
With the Docker image, the log goes to the container log:
docker logs --tail 100 feedbackpilgrim
With Docker Compose, read the log of the web service:
docker compose logs web
Without Docker, the default LOG_STACK=daily writes the log to storage/logs.
The installer stops
The installer prints an Error: line and a Fix: line. Do the fix, then run the installer again. The full log is in /tmp/feedbackpilgrim-install.log.
| Error | Cause |
|---|---|
Docker is not installed. |
Install Docker with curl -fsSL https://get.docker.com | sh. |
Your user cannot use Docker. |
Run the installer with sudo, or add your user to the docker group. |
Port 80 is in use. |
Another web server uses the port. Stop it, or read Reverse proxy and TLS. |
The container stopped. |
Read docker logs feedbackpilgrim. |
The setup page asks for the setup URL
The page "Find the setup URL" shows when you open /setup without the correct token. The token is in the setup URL. Run docker logs feedbackpilgrim or php artisan fp:setup-url, then open the URL from the output.
If the token in the URL is not correct, APP_KEY changed after the log printed the URL. Run fp:setup-url again.
The public site of a project returns 404
- Make sure that the DNS has a wildcard record for
APP_DOMAIN, for example*.feedback.example.com. - Make sure that the reverse proxy sends the wildcard to the app, with the original
Hostheader. - Make sure that
APP_DOMAINis the parent of the project host. Foracme.feedback.example.com,APP_DOMAINisfeedback.example.com. - Make sure that the subdomain is the slug of a project, and is not reserved.
- Make sure that the project has at least one active user. If every user of the project is deactivated, the public site returns 404.
The dashboard does not load, or /setup sends you to the wrong host
The dashboard routes answer only on the host of APP_URL. Make sure that APP_URL has the host that you open in the browser.
The Public Site link does not sign you in
The public site reads the dashboard session through the cookie domain.
- Make sure that
SESSION_DOMAINstarts with a dot, for example.feedback.example.com. - If
APP_URLuseshttps, make sure thatSESSION_SECURE_COOKIEistrue. - For local work on
http, setSESSION_DOMAIN=nullandSESSION_SECURE_COOKIE=false.
Links use http instead of https
- Make sure that
APP_URLstarts withhttps://. - Make sure that the reverse proxy sends
X-Forwarded-Proto.
The widget gets 401, 403 or 422
| Status | Cause | Fix |
|---|---|---|
401 |
The data-client value is not a publishable key of a project, or every user of the project is deactivated. |
Copy the publishable key from Settings > Embed Widget. |
403 |
The userHash is wrong, or it is missing and verification is required. |
Make the hash from the lowercase, trimmed email with the current identity secret. |
422 |
The call has no contact email. | Send contact.email. |
Read The embeddable widget.
The widget does not sign in an existing user
Without a valid userHash, the widget does not sign in a contact that exists already. Send userHash. Read Identity verification.
The API or the MCP server returns 401
- Make sure that you send the full token, with the part before the
|. - Make sure that you send
Accept: application/json. - Make sure that the user of the token is active, and is still a member of the project.
- Make sure that nobody deleted the token in Settings > API Tokens.
Emails do not arrive
- Make sure that the queue worker runs. Run
php artisan fp:statusand read the queue heartbeat. - Look for failed jobs with
php artisan queue:failed. - Make sure that the
MAIL_*values are correct. Read Mail.
Webhooks or Slack messages do not arrive
- Make sure that the queue worker runs.
- Open Settings > Webhooks and read the delivery log of the webhook.
- Make sure that the webhook is active and has the event.
- If the receiver refuses the requests with
401, make sure that it verifiesX-FeedbackPilgrim-Signature-V2with the timestamp. Read Verify the signature.
The weekly report does not arrive
- Make sure that the scheduler runs. With Docker, look at the
schedulerservice. - Run
php artisan schedule:list. The list must showfp:weekly. - Remember that the time is 09:00 UTC on Monday.
A change in .env has no effect
The app caches the configuration. With docker run, remove the container and start it again with the new values. With Docker Compose, run docker compose up -d. Without Docker, run php artisan optimize, then php artisan queue:restart.
The container is not healthy
- Read
docker logs feedbackpilgrim, ordocker compose logs webwith Compose. - If the log shows a database error, make sure that
DB_PASSWORDin.envis the password of themysqlvolume. MySQL sets the password only when it creates the volume. - Open
/upon the host. It must return status 200.
An uploaded file returns 404
The app serves uploads through the link public/storage. Create the link:
php artisan fp:install --prepare