Skip to content

troubleshooting

github-actions[bot] edited this page Dec 1, 2026 · 9 revisions

🩺 Troubleshooting

← All documentation

🐘 The server can't connect to the database

Check DATABASE_URL, including its start (postgres://, mysql://, mariadb:// or sqlite://). In Docker Compose the host is the service name (db), not localhost. The server tries to connect once when it starts and exits if the database isn't ready, so start the database first, or use restart: unless-stopped and the depends_on health check from Installation.

πŸ“‚ PostgreSQL 18 won't start with an old volume

A volume made by PostgreSQL 17 or older, mounted at /var/lib/postgresql/data, does not work with PostgreSQL 18. Mount the volume at /var/lib/postgresql. To keep old data, dump it with the old version (pg_dump) and restore it into the new one.

πŸ”— The link parser fills in almost nothing

  • The store probably blocked the request. The form shows a warning when it did. Try the manufacturer's own product page, or fill in the form by hand.
  • A link to a server on your own network is refused unless you set SCRAPER_ALLOW_PRIVATE_HOSTS=true.
  • Pick an AI model in Settings β€Ί AI (one on your own server, or Claude) to fill the gaps on pages that the parser can reach but can't fully read.

🧱 Rollcall started with an empty inventory after changing DATABASE_URL

Each database keeps its own data. Pointing DATABASE_URL at another database, or at another kind (say from PostgreSQL to SQLite), starts with empty tables; nothing is copied over. Point it back to see your data again.

πŸ—„οΈ MySQL or MariaDB: "Incorrect string value" or garbled names

The database was created with a character set other than utf8mb4. Create it again with CREATE DATABASE rollcall CHARACTER SET utf8mb4, or change it with ALTER DATABASE rollcall CHARACTER SET utf8mb4 before Rollcall first starts.

πŸ”’ SQLite: "unable to open database file"

The folder for the file must exist and be writable by the server. In Docker, put the file in /app/data, which the image hands to its user (UID 10001, or PUID) when it starts: DATABASE_URL=sqlite:///app/data/rollcall.db.

πŸ” Locked out

Another admin can reset your password in Settings β€Ί Accounts. If there's no one else, run docker compose exec rollcall rollcall reset-password USERNAME. It prints a new random password, signs the account out everywhere, and revokes its API tokens.

🚦 "Too many failed sign-ins"

After 10 failed sign-ins from one address in 15 minutes, Rollcall stops checking passwords from that address until the 15 minutes are up. Wait, or restart Rollcall to clear the count. Behind a reverse proxy, make sure the proxy sets X-Forwarded-For; otherwise everyone shares the proxy's address (see reverse proxy).

🌐 "An admin has turned off local network addresses for non-admins"

An admin turned off Let everyone connect to addresses on the local network in Settings β€Ί Accounts. Ask an admin to turn it on, to set up the printer or channel for you, or use a public address.

🧾 The slicer script says HTTP 401

The script needs an API token. Create one under Settings β€Ί Your account and add --token with it to the script's line in the slicer, or set ROLLCALL_TOKEN.

πŸ”Œ A Bambu Lab printer won't connect

The printer card on Printers and equipment says why:

  • Refused the access code: the code changes when you turn LAN mode off and on. Copy it again from the printer's network settings.
  • Can't reach the printer or refused the connection: check the IP address, that Rollcall's server is on the same network, and that nothing blocks ports 8883 and 990. On newer firmware, turn on LAN Only mode and Developer Mode on the printer.
  • Couldn't download the print: Rollcall reads each print's file from the printer's storage. Check that the printer has its SD card (or internal storage) in, and that Developer Mode is on.
  • Couldn't find the filament used by "…" in the printer's copy of it: Rollcall couldn't find or read the print's file on the printer. It looks for the path the printer reports, then a file named like the print in cache/, the root and the folders in the root, then the newest print file. The log line before it, no print file for …, lists what each folder holds; include it if you open an issue.
  • The printer doesn't share "…"'s file, so it's on the Prints page waiting for the grams it used: the printer has no copy of the print's file Rollcall can read (common on printers without an SD card, and for prints started on the screen or from MakerWorld). The print is logged with the slots and spools it used; enter its grams on the Prints page to take them off the spool.
  • A print isn't on the Prints page: look in the log for lines about that printer, such as grep printer data/logs/rollcall.*.log. Rollcall logs a print it saw start; one that started while Rollcall was stopped is left out.

πŸ”Œ A Klipper printer won't connect

The printer card on Printers and equipment says why:

  • Turned Rollcall away: Moonraker wants an API key, or the one saved is wrong. Copy it again from the Mainsail or Fluidd settings, or add Rollcall's address (or its Docker network) to trusted_clients under [authorization] in moonraker.conf.
  • Can't reach Moonraker: check the address and port. Moonraker listens on 7125; if only port 80 is open, add :80 to the address. Rollcall's server must reach the printer on your network.
  • Print history is off: add a [history] section to moonraker.conf and restart Moonraker.
  • Couldn't find the filament used: the slicer didn't write the grams into the G-code. OrcaSlicer, PrusaSlicer and SuperSlicer write them by default; other slicers may not.

πŸ”Œ A Prusa printer won't connect

The printer card on Printers and equipment says why:

  • Refused the password: check the user name (usually maker) and password under Settings β€Ί Network β€Ί PrusaLink on the printer. For an older PrusaLink with an API key, leave the user name empty and enter the key as the password.
  • Can't reach the printer: check that PrusaLink is turned on, that the IP address is right, and that Rollcall's server is on the same network.
  • PrusaLink is too old: Rollcall uses PrusaLink's /api/v1 API. Update the printer's firmware, or PrusaLink on a Raspberry Pi.
  • Couldn't find the filament used: the print file doesn't say how much filament it needs. Slice it with PrusaSlicer.

πŸ”„ Pages don't update by themselves

Live updates come over one long-lived request to /api/events. A reverse proxy that buffers responses or closes idle requests stops them. Rollcall sends X-Accel-Buffering: no, which nginx honors, and a keep-alive every 15 seconds. For other proxies, turn off response buffering for /api/events and allow requests to stay open for at least a minute. Reverse proxy has working setups for the common ones. Pages still show changes when you reload them.

πŸͺ² Still stuck?

Open an issue with the server log: the files in logs/ in the data volume, or docker compose logs rollcall.

Clone this wiki locally