Documentation
On this page

❓ FAQ

I Forgot the Administrator Password

Deleting the database and restarting resets the administrator to admin/admin and erases all application data in the database.

docker compose down
rm ./.data/cups-web.db
docker compose up -d

A Printer Does Not Appear in the Web App

  1. Check that CUPS lists the printer at http://localhost:631.
  2. Confirm that the printer is set to Shared.
  3. Restart the container with docker compose restart cups.

A USB Printer Does Not Appear After It Is Powered On

The current docker-compose.yml supports hot-plugging by mounting /dev/bus/usb and using device_cgroup_rules with privileged: true. On x86 the cgroup rule is usually sufficient, so you can omit privileged mode if the hardware works with it disabled.

AirPrint or LAN Printer Discovery Fails

AirPrint advertisements and CUPS discovery of dnssd://xxx._ipp._tcp.local use mDNS multicast on UDP 5353. Docker bridge networking does not pass this LAN multicast between the host and container by default. The default Compose configuration uses network_mode: host so Avahi in the container can advertise and discover printers on the LAN. Issue #107

  1. Use the current Compose setup with network_mode: host, without ports: or a /run/dbus/system_bus_socket mount. The old D-Bus bind mount could prevent the container's D-Bus or Avahi from starting on hosts without Avahi. Issue #94
  2. Inspect startup warnings with docker logs cups | grep -i 'dbus\|avahi'.
  3. If the host runs Avahi, check for a conflict on UDP 5353. Its separate D-Bus bus prevents it from advertising for the instance in the container. In case of a conflict, stop host Avahi with sudo systemctl disable --now avahi-daemon and restart the container.
  4. Check your router or access point for multicast filtering. Retest using the same access point.

Check Avahi inside the container:

# List LAN services such as _ipp._tcp or _pdl-datastream._tcp.
docker exec cups avahi-browse -art
# Resolve the .local name through libnss-mdns.
docker exec cups getent hosts CUPS.local

Installed Drivers Disappear

Confirm the driver persistence mount in docker-compose.yml:

volumes:
  - ./.drivers:/opt/cups-drivers/data

CUPS Web restores drivers from .drivers on container recreation. Deleting that directory removes the snapshots for all manually installed drivers. Reinstall those drivers from Drivers.

Uploaded .ppd files are restored individually. An uploaded .deb is archived and reinstalled through dpkg -i unless the same or a newer version is already present. The UI lists installed packages.

Driver Installation Is Still Running

The installation runs in the background. The progress card updates every two seconds and shows live logs.

  • Canon CAPT, HP foo2zjs firmware, and arm64 Epson ESC/P-R 2 compile from source. A build can take more than ten minutes on small ARM hosts.
  • Let the current job finish while the log is advancing. Refreshing the page can clear the live log, and additional attempts will be rejected.
  • Follow the log separately with docker compose logs -f cups.
  • Background jobs time out after 30 minutes. The page waits up to 35 minutes and shows an error if the operation times out.

A Driver Job Is Already Running

The apt and dpkg global lock allows only one installation, removal, or one-click setup job at a time. Debian package uploads are blocked during the job. Retry when the current job finishes.

The Install Button Is Disabled

Hover over the button to see the reason.

  • Unsupported architecture. Some vendors only publish binaries for specific platforms. The Epson China-market driver is amd64 only, Canon UFR II supports amd64 and arm64, and Gutenprint has no armhf package in the project. Try a bundled or driverless/IPP Everywhere driver that supports your printer.
  • Missing installation script. A standalone binary or a trimmed image may omit the driver scripts from the standard image.

Printing Fails in Proxmox VE LXC With an AppArmor Denial

Use security_opt: [apparmor:unconfined] in the service. The current Compose file includes it. Enable Nesting and Keyctl for the Proxmox LXC container.

Office or OFD Conversion Fails

  • The conversion timeout is 60 seconds. Large or complex documents can exceed it.
  • Verify the original file opens correctly. If needed, export it to PDF on your computer and upload that copy.
  • Check docker compose logs -f cups.

Chinese Documents Have Layout Problems or Report Missing Fonts

CUPS Web bundles open-source Source Han Serif and Source Han Sans. Documents that use commercial fonts such as FangSong_GB2312, KaiTi_GB2312, or Founder XiaoBiaoSong can show wrong line breaks, overlapping characters, or layout shifts when those fonts are missing. With preflight blocking enabled, the service stops submission and lists missing families.

  1. Upload in the web UI. As an administrator, open Fonts (/#/fonts) and upload the appropriate .ttf, .otf, or .ttc files. CUPS Web reads the real family names and reloads the fonts immediately.
  2. Use the Docker volume for bulk setup. Place fonts in ./.data/fonts on the host, mapped to /data/fonts in the container. Refresh the font cache or restart the container to synchronize files and patch Ghostscript font mappings.
  3. Allow substitution for a temporary print. Enable font fallback in Fonts to use the bundled Source Han fonts when originals are unavailable.

View Logs

docker compose logs -f cups