Skip to main content

Frequently Asked Questions

Find answers to common questions about BugPin, the self-hosted visual bug reporting tool. Topics cover installation, upgrading, the widget and screen recording, deployment behind a reverse proxy, authentication, integrations, and the database.

General​

What is the difference between the Community and Enterprise Edition? #

The Community Edition is the complete bug reporting product: the widget, the Admin Console, reports, screen recording, two-factor authentication, and the GitHub integration.

The Enterprise Edition adds S3 storage, custom branding and white-labeling, webhooks, API tokens, and custom email templates. Pages in this documentation mark those features with "(Enterprise Edition)". See BugPin Editions for the full comparison.

Which databases does BugPin support? Can I run several instances? #

BugPin uses SQLite only. The database is a single file, bugpin.db, in the data directory, so there is no database server to install or maintain.

BugPin is built to run as a single instance. Do not start two servers on the same data directory, and keep the data directory on a local disk rather than a network share.

Does BugPin check for updates automatically? #

Yes. When an administrator uses the Admin Console, BugPin asks the GitHub API for the latest BugPin release, about once a day, and shows a banner when a newer version exists. The request names the running BugPin version and carries no data about your instance, users, or reports.

Turn it off under Settings → General with Check for updates. BugPin never installs updates by itself. See Upgrading BugPin.

Installation​

How do I check if BugPin is running? #

Run one of the following commands depending on your installation method:

# Docker
docker ps | grep bugpin

# systemd
sudo systemctl status bugpin

# Any installation
curl http://localhost:7300/health

If the Docker container shows Up ... (healthy) or the health endpoint returns a response, BugPin is running. See Health Checks for more details.

Why can't I access the Admin Console? #

There are several things to check:

  1. Server is running: Verify BugPin is running using the health check above
  2. Port is accessible: Make sure nothing else is using port 7300 and check your firewall settings
  3. Check logs: Run docker logs bugpin (Docker) or sudo journalctl -u bugpin -n 50 (systemd) and look for errors. See Logging for detailed debugging
Why is my Docker container stuck in a restart loop? #

This usually means the application is crashing on startup due to a permission error. Check the logs:

docker logs bugpin

If you see EACCES: permission denied, open '/data/.secret', the container runs as user bun (UID 1000) but the host ./data directory is owned by root.

Fix it by setting the correct ownership:

sudo chown -R 1000:1000 ./data
docker compose up -d
tip

To avoid this on fresh installs, always set permissions before starting the container:

mkdir -p data
sudo chown -R 1000:1000 data
docker compose up -d

Alternatively, use a named volume instead of a bind mount. Docker manages permissions automatically. See Docker Installation.

If the log instead says This database was changed by a newer BugPin version, see the question about that message.

How do I fix "Permission denied" or "Unable to write to database" errors? #

Check and fix volume permissions:

docker exec bugpin ls -la /data
# Should show bugpin.db with write permissions

# If not, fix permissions:
sudo chown -R 1000:1000 ./data

See File Permissions for more details.

What do I do when port 7300 is already in use? #

Find what is using the port:

sudo lsof -i :7300

With Docker, either stop that process or publish BugPin on another host port in docker-compose.yml:

ports:
- "8080:7300" # Use port 8080 instead

See Custom Port. A Bun or systemd installation always listens on port 7300, so free the port there, or put a reverse proxy in front to serve BugPin on another port.

Does the Docker image run on ARM, such as Apple Silicon or a Raspberry Pi? #

The image is published for linux/amd64 only. On an ARM host, Docker needs emulation to run it, which is slower and not available on every system. A container that fails to start with exec format error is the typical sign.

On ARM servers, use the Bun installation instead, which runs natively.

Upgrading​

How do I upgrade BugPin? #

Back up the data directory, then pull the new image (Docker) or the new code (Bun and systemd) and restart. BugPin updates its database automatically on startup.

See Upgrading BugPin for the steps for each installation method, what to check first, and how to pick which releases a Docker installation follows.

How do I roll back to the previous version? #

Restore the previous BugPin version and the backup taken before the upgrade together. Switching back only the image or the code does not work, because the newer version has already updated the database.

See Rolling Back.

What does "This database was changed by a newer BugPin version" mean? #

You started an older BugPin version on a data directory that a newer version has already used. Starting with 1.3.0, BugPin refuses to start in that case instead of running with a database it does not understand.

Either start the newer version again, or stop BugPin and restore the backup taken before the upgrade. See When an Older Version Refuses to Start.

What do the address warnings at the top of the Admin Console mean? #

BugPin compares the address in your browser with the Application URL under Settings → General and with the address it derives from the request. A warning appears when they differ, usually because the Application URL is outdated or the reverse proxy does not pass the original host and protocol.

See Address Warnings in the Admin Console for each warning and its fix.

What does the warning about an unsupported widget version mean? #

A site embeds the widget through the @arantic/bugpin-widget npm package in a version that is too old for your server. Reports from that site may fail.

Upgrade the package in that app and redeploy it:

npm install @arantic/bugpin-widget@latest

Sites that load widget.js from your BugPin server always get the matching widget and are not affected. See Also Upgrade the npm Widget.

Widget​

Why is the BugPin widget not appearing on my website? #

Check these in order:

  1. Script is loaded: Open browser DevTools → Network tab and look for the widget.js request (should return status 200)
  2. Browser console: Open DevTools → Console and look for BugPin-related errors (blocked script, Content Security Policy, script loading errors)
  3. API key is correct: Ensure the data-api-key attribute matches your project's API key exactly, with no typos or extra spaces
  4. Script URL is correct: Ensure the src attribute points to your BugPin server (e.g., https://bugpin.example.com/widget.js)
  5. Project is active: The widget does not appear while its project is paused. Check the project's status under Projects

See Embed the Widget for setup instructions.

Why am I getting an "Invalid API key" error? #

The API key doesn't match any project. To fix this:

  1. Go to Projects in the Admin Console
  2. Copy the project's API key again
  3. Update your widget configuration
  4. Clear browser cache and reload the page

If the key was regenerated, every site that embeds the widget needs the new key.

Why is the widget not sending reports? #

Open DevTools → Network tab, submit a report, and look at the POST request to /api/widget/submit. The status code tells you where to look:

  1. 403 with "Origin not allowed": The project only accepts reports from whitelisted domains. Go to Projects → Select project → Settings → Whitelists and add your website's domain. See Domain Whitelisting
  2. 403 with "Project is not active": The project is paused. Activate it under Projects
  3. 401: The API key is wrong. See the question above
  4. 429 (Too Many Requests): The rate limit was reached. Adjust Requests per Minute per IP under Security → General in the Admin Console (default: 10 submissions per minute per client address and project). See Rate Limiting
  5. No request, or a failed one: Look for JavaScript errors, a Content Security Policy that blocks the request, or network problems

If the widget can't reach the server, it saves the report and sends it automatically later, and tells the reporter so. If it says the upload was rejected and the attachments may be too large, the server was reachable but something on the way, usually a reverse proxy body size limit, refused the request. See Upload Size Limits.

What happens to the widget when I pause a project? #

The widget no longer appears on sites that use that project's API key, and the server rejects reports for it. Nothing is deleted: existing reports stay available in the Admin Console.

To reactivate it, go to Projects, find the project with the status Paused, and click Activate.

How do I customize the widget button and colors? #

The widget supports extensive customization through data attributes or the Admin Console.

Using data attributes:

<script
src="https://bugpin.example.com/widget.js"
data-api-key="your-api-key"
data-position="bottom-left"
data-button-text="Send Feedback"
data-theme="dark"
></script>

Available attributes include data-position (bottom-right, bottom-left, top-right, top-left), data-button-text, data-theme (auto, light, dark), and data-language.

Using the Admin Console:

Set the defaults for all projects under Widget → Button and Widget → Dialog: button shape, icon, colors for light and dark mode, tooltip, hover effects, and more. To override them for one project, go to Projects → Select project → Settings and open the Widget Button or Widget Dialog tab.

See the Widget Configuration Reference for all available options including colors, button appearance, and feature toggles.

How do I open the widget programmatically? #

Use the JavaScript API to control the widget from your own code:

// Open the bug report dialog
BugPin.open();

// Close the bug report dialog
BugPin.close();

You can also initialize the widget programmatically instead of using data attributes:

await BugPin.init({
apiKey: "your-api-key",
serverUrl: "https://bugpin.example.com",
position: "bottom-right",
theme: "dark",
});

This is useful for opening the dialog from your own button or a keyboard shortcut. See JavaScript API and Programmatic Initialization for details.

What file types and sizes are supported for attachments? #

Users can attach images and videos to their bug reports:

TypeAccepted FormatsMax Size
ImagesPNG, JPG/JPEG, GIF, WebP10 MB per file by default (set under Widget → Screenshot)
VideosMP4, WebM, MOV50 MB per file by default (1–100 MB, set under Widget → Recording)
ScreenshotsAutomatic capture10 MB by default (set under Widget → Screenshot)

Users can attach multiple files by dragging and dropping or using the file picker. Unsupported formats or oversized files are rejected with an error message. See Screenshot Settings for capture configuration.

What data is automatically captured in bug reports? #

When a user submits a report, BugPin captures the following metadata alongside the user's description and screenshots:

  • Browser info: Name, version, and user agent
  • Device info: Device type (desktop, tablet, mobile), OS, and OS version
  • Page context: Current URL, page title, referrer, and page load time
  • Viewport: Width, height, device pixel ratio, and screen orientation
  • Console output: JavaScript errors, warnings, and log messages with source and line number
  • Network errors: Failed HTTP requests with URL, method, status code, and status text
  • User activity trail: Recent interactions (clicks, input, navigation) with timestamps
  • Environment: Timestamp and timezone

Storage keys (the names of cookies, localStorage, and sessionStorage entries, never their values) are only captured when you turn that on. It is off by default.

Console output, network errors, the activity trail, and storage keys can be switched on or off per project under Projects → Select project → Settings → Diagnostics. No passwords, cookie values, or storage contents are captured. See also EU Privacy Mode.

Screen Recording​

Why is there no option to record the screen in the widget? #

Screen recording is off by default. Turn on Enable Screen Recording under Widget → Recording in the Admin Console, or for one project under Projects → Select project → Settings → Recording.

Recording also needs a page served over HTTPS (or localhost) and a browser that supports screen sharing. See Browser Support.

What does "Video uploads are paused for this project" mean? #

The project reached its daily video limit. The limit counts all video data accepted for a project during the previous 24 hours, so uploads work again as older videos fall out of that window. Reporters can still submit the report without the video.

Raise Daily Video Upload Limit (MB) under Widget → Recording, or set it to 0 to disable the limit. See Screen Recording.

Deployment​

Why is the widget not loading on user websites (CORS error)? #

This is typically caused by one of these issues:

IssueSolution
Missing HTTPSEnable HTTPS on both BugPin server and user website
Mixed content blockingEnsure BugPin uses HTTPS, not HTTP
Reverse proxy stripping headersVerify CORS headers pass through (Reverse Proxy Setup)
Firewall blockingEnsure port 443 is accessible from user's network
Invalid SSL certificateUse a valid SSL certificate (Let's Encrypt recommended)

Verify CORS headers are present:

curl -I https://bugpin.example.com/widget.js | grep -i "access-control"

Expected: access-control-allow-origin: *

The domain whitelist of a project is a separate check. It answers with 403, not with a CORS error. See the next question.

Why are users getting 403 Forbidden when submitting reports? #

Either the project's domain whitelist is blocking their website, or the project is paused.

For the whitelist:

  1. Go to Projects → Select project
  2. Click Settings and open the Whitelists tab
  3. Add the domain to the whitelist (e.g., example.com)

Note: example.com automatically allows *.example.com subdomains. See Domain Whitelisting for more details.

For a paused project, click Activate under Projects.

How do I fix Content Security Policy (CSP) conflicts with the widget? #

Websites that use a Content Security Policy must allow the widget in it. Add these directives to the existing policy, with your BugPin server's address:

script-src 'self' https://bugpin.example.com;
connect-src 'self' https://bugpin.example.com;
style-src 'self' 'unsafe-inline';
img-src 'self' data:;
media-src 'self' data: blob:;
  • script-src: Allows widget.js to load
  • connect-src: Allows API requests to the BugPin server
  • style-src: Allows the inline styles the widget uses
  • img-src: Allows screenshots captured as data URLs
  • media-src: Allows video recordings and uploads

See Content Security Policy for how to set them as an HTTP header or meta tag and how to merge them with an existing policy.

Why do reports with large screenshots or videos fail to upload? #

Most often a reverse proxy in front of BugPin limits the request size or closes slow uploads. BugPin itself accepts request bodies up to 256 MB. The widget then says the upload is too large for the server, or that it was rejected.

Raise the body size limit and the timeouts in the proxy. See Upload Size Limits.

Why do all users hit the rate limit at the same time? #

BugPin does not trust the reverse proxy, so every request appears to come from the proxy's address and all visitors share one rate limit. This happens when TRUST_PROXY=false is set behind a proxy, as in the quick-start docker-compose.yml, or when the proxy connects from a public address.

Set TRUST_PROXY=auto for a proxy on the same host or Docker network, or TRUST_PROXY=true for a proxy with a public address. See All Users Share One Rate Limit.

Reports​

Why are reports not showing in the Admin Console? #

Check the following:

  1. Filters: Clear the project, status, priority, and search filters on the Reports page
  2. The report arrived: Submit a test report and watch the request in the browser's Network tab. See Why is the widget not sending reports?
  3. Database permissions: Run docker exec bugpin ls -la /data/bugpin.db and ensure it has write permissions
  4. Server logs: Run docker logs bugpin --tail 100 and look for errors. See Logging for detailed debugging
Why are screenshots not displaying? #

This is caused by file storage issues, incorrect paths, or S3 misconfiguration.

For local storage:

# Verify uploads directory exists and is writable
docker exec bugpin ls -la /data/uploads/screenshots

For S3 storage (Enterprise Edition):

  • Verify S3 credentials under Settings → Storage
  • Check bucket permissions
  • Verify the bucket is in the correct region
  • Test S3 connection with AWS CLI
Why can't I delete reports? #

Only Admin users can delete reports. Editors and Viewers do not have delete permissions. Ask an administrator to check your role under Users in the Admin Console. See User Roles for a full permissions overview.

Authentication​

What are the default login credentials for BugPin? #

The initial credentials are:

You can set your own with the ADMIN_EMAIL and ADMIN_PASSWORD environment variables before the first start. The initial password works only once: BugPin asks you to choose a new password right after the first login. See the Quick Start Guide for initial setup.

How do I reset a forgotten password? #

Run the password reset command on the server:

# Docker
docker exec -it bugpin bun run reset-password [email protected]

# Bun and systemd, from the installation directory
cd /opt/bugpin
sudo -u bugpin bun run reset-password [email protected]

This prints a temporary password. It works for one login, after which BugPin asks for a new password.

How do I sign in after losing my two-factor device? #

Use one of your recovery codes: on the second sign-in step, click Use a recovery code. Without recovery codes, ask an administrator to reset two-factor authentication on the Users page, or run this command on the server:

# Docker
docker exec -it bugpin bun run reset-two-factor [email protected]

# Bun and systemd, from the installation directory
cd /opt/bugpin
sudo -u bugpin bun run reset-two-factor [email protected]

Both ways remove the user's authenticator app, passkeys and recovery codes and sign the user out of all sessions. See Two-Factor Authentication and Passkeys.

Why does my passkey not work? #

A passkey only works on the address it was created on, and browsers allow passkeys only on HTTPS sites and on localhost. If BugPin answers "Passkeys only work on the address BugPin is configured for", the address in your browser does not match the Application URL under Settings → General, often because the reverse proxy rewrites the Host header.

Set the Application URL to the public address. After moving BugPin to a new domain, users need to add new passkeys. See Passkey Requirements.

Why does my session keep expiring? #

The session duration may be too short. To increase it:

  1. Go to Security → General in the Admin Console
  2. Increase Session Duration (Days) (default is 7 days)

If you're getting "Unauthorized" errors, try logging out and back in, or clear your browser cookies. See Session Duration for configuration details.

How do I invite new users? #

Admins can invite users through the Admin Console:

  1. Go to Users in the Admin Console
  2. Click Invite User
  3. Enter the user's name and email address and select a role (Admin, Editor, or Viewer)
  4. The user receives an email with an invitation link

The invitation needs SMTP to be configured under Settings → SMTP and the Application URL to be set under Settings → General, otherwise the email is not sent or its link does not work. The invitation link expires after 7 days by default. You can adjust this (1–30 days) under Security → General. See Invitation Expiration for configuration details and User Roles for role descriptions.

How do I resend an expired invitation? #

If an invitation has expired before the user accepted it:

  1. Go to Users in the Admin Console
  2. Find the pending user in the list
  3. Click the Resend invitation button

This generates a new invitation link with a fresh expiration date and sends a new email to the user.

Integrations​

Why is the GitHub integration not working? #

Check the following:

  1. Token permissions: A classic Personal Access Token needs the repo scope (public_repo is enough for public repositories). A fine-grained token needs Issues: Read and write for the repository. See Required Permissions
  2. Test connection: Go to Projects → Select project → Integrations, edit the GitHub integration, and click Test Connection
  3. Repository access: Ensure the repository exists, the token has access, and the repository is not archived
  4. Automatic sync: Two-way sync needs a public Application URL, because GitHub must reach your server. See Webhook Requirements
  5. Logs: Run docker logs bugpin | grep -i github for GitHub-specific errors

See the GitHub Integration Guide for detailed setup instructions.

Why are email notifications not sending? #

Check these in order:

  1. SMTP configuration: Go to Settings → SMTP and verify host, port (usually 587 for TLS, 465 for SSL), username, password, and encryption method
  2. Test SMTP: Click Send Test Email in the SMTP settings and check server logs for errors
  3. Spam folder: Emails might be filtered as spam; add the BugPin sender address to your safe senders list
  4. Email provider settings: Some providers (Gmail, Outlook) require app-specific passwords or have restrictions on third-party access

Reverse Proxy​

How do I fix CORS errors when using a reverse proxy? #

Don't strip or override CORS headers in your reverse proxy. BugPin handles CORS automatically.

Nginx: Don't add proxy_hide_header directives:

# DON'T do this:
# proxy_hide_header Access-Control-Allow-Origin;

# Headers should pass through:
proxy_pass http://localhost:7300;

Traefik: Don't add header modification middleware. BugPin handles CORS automatically.

Verify headers:

curl -I https://bugpin.example.com/widget.js | grep -i access-control

Expected: access-control-allow-origin: *

See the Reverse Proxy Setup Guide for full configuration examples for Nginx, Traefik, Caddy, and Apache.

How do I set up SSL certificates for BugPin? #

Use Let's Encrypt with Certbot:

# Nginx
sudo certbot --nginx -d bugpin.example.com

# Apache
sudo certbot --apache -d bugpin.example.com

# Standalone
sudo certbot certonly --standalone -d bugpin.example.com

For Traefik, verify Let's Encrypt configuration in traefik.yml. See Reverse Proxy Setup for SSL configuration examples per proxy.

What causes a 502 Bad Gateway error? #

BugPin is either not running or the reverse proxy can't connect to it. Check:

  1. BugPin is running:

    docker ps | grep bugpin
    curl http://localhost:7300/health
  2. Proxy configuration is correct: Nginx: check proxy_pass http://localhost:7300; Apache: check ProxyPass directive; Traefik: check service port in labels

  3. Proxy logs:

    # Nginx
    sudo tail -f /var/log/nginx/error.log

    # Apache
    sudo tail -f /var/log/apache2/error.log

    # Traefik
    docker logs traefik

See Reverse Proxy Troubleshooting for more solutions.

Performance​

Why is the dashboard loading slowly? #

This can be caused by a large database, slow queries, or insufficient resources.

  1. Check database size:
    docker exec bugpin du -sh /data/bugpin.db
  2. Configure data retention: Go to Settings → General and reduce Data Retention (days) (default: 90) to automatically clean up old reports
  3. Check resource usage:
    docker stats bugpin
    Consider increasing Docker resource limits if needed.

See Performance Tuning for optimization tips.

Why are screenshot uploads slow? #

Check the following:

  1. Screenshot size limit: Reduce Max. Screenshot Size (MB) under Widget → Screenshot (default: 10 MB per screenshot). See Screenshot Settings
  2. Use S3 for storage (Enterprise Edition): Configure S3 under Settings → Storage to offload storage to AWS S3, MinIO, or a compatible service
  3. Network bandwidth: Check upload bandwidth between client and BugPin server

Database​

What causes "Database is locked" or "SQLITE_BUSY" errors? #

Another process has the database file open while BugPin tries to write to it. BugPin already waits several seconds for short locks, so a persistent error usually has one of these causes:

  • A second BugPin instance runs on the same data directory. Run exactly one
  • A backup or copy tool reads the database while BugPin is running. Stop BugPin for backups. See Backup and Restore
  • The data directory is on a network share such as NFS or SMB, where SQLite's file locking is unreliable. Keep it on a local disk

If none of these apply, restart BugPin and check the logs for the first error before the lock message.

How do I recover from database corruption? #

If you see "Database disk image is malformed" errors, stop BugPin and keep a copy of the damaged data directory before changing anything.

Restore from backup (recommended). This is the reliable way. See Restore.

Without a backup, attempt a repair. The BugPin image does not contain the sqlite3 tool, so run it on the host against the data directory. This example is for a bind mount:

docker compose stop bugpin

# Keep the damaged files
cp -a ./data ./data.damaged

# Write everything SQLite can still read into a new database
sqlite3 ./data/bugpin.db ".recover" | sqlite3 ./data/bugpin-recovered.db

# Replace the damaged database and remove its journal files
mv ./data/bugpin-recovered.db ./data/bugpin.db
rm -f ./data/bugpin.db-wal ./data/bugpin.db-shm
sudo chown -R 1000:1000 ./data

docker compose start bugpin

A repair can be incomplete. Check your reports and users afterwards, and set up regular backups.

How do I back up and restore my BugPin database? #

Back up the whole data directory with BugPin stopped, not only the database file. It contains:

  • bugpin.db: The SQLite database
  • .secret: The key that encrypts authenticator app secrets. Back it up with the database
  • uploads/: Screenshots, videos, and file attachments
docker compose stop bugpin
tar -czf bugpin-backup-$(date +%Y%m%d).tar.gz ./data
docker compose start bugpin

See Backup and Restore for named volumes, Bun and systemd installations, restoring, and moving BugPin to another server.

tip

Set up a cron job or backup service to automate regular backups, and keep a copy outside the server.

Getting Additional Help​

If you can't find the answer to your question:

  1. Check logs: View server logs to diagnose issues:

    # Docker
    docker logs bugpin --tail 100 --follow

    # systemd
    sudo journalctl -u bugpin -n 100 -f

    See Logging for log analysis tips and common patterns.

  2. Search documentation: Use the search bar to find relevant docs

  3. GitHub Issues: Search existing issues or create a new one

  4. When reporting issues, include:

    • BugPin version (shown under About in the Admin Console footer)
    • Installation method (Docker, Bun, systemd)
    • Browser and version (for widget issues)
    • Relevant error messages from logs
    • Steps to reproduce

We use cookies for analytics to improve our website. More information in our Privacy Policy.