BTCPay Server Docker users must enable Tor during next update

Administrators utilizing the standard Docker deployment for Bitcoin payment platform BTCPay Server need to manually enable Tor during their upcoming setup or update if they wish to preserve onion network connectivity. This modification separates Tor from the default bundled packages, transitioning a formerly automatic feature into a conscious administrative configuration decision.

BTCPay outlined this update in an announcement on Oct. 5 tied to version 2.4.5, while the official GitHub release documentation marks the software launch on Oct. 6. The shift applies to current installations whenever they undergo their next Docker setup or update.

Related Reading

Malicious bots are actively probing exposed Bitcoin payment servers to steal master administrative keys

This adjustment is significant for Docker users who depend on Tor—such as access through a server’s onion address—and who previously obtained it via the main BTCPay Server fragment. Fragments serve as the configuration blocks utilized to build the Docker stack.

BTCPay recommends that administrators check these deployment updates prior to applying them. Once updated to version 2.4.5, the command specified to activate Tor is:

sudo btcpay-fragments add opt-add-tor

Tor continues to be supported, and BTCPay notes that existing data remains intact within current Tor volumes. Although stored data is preserved, maintaining onion access still requires adding and executing Tor within the deployment architecture.

Related Reading

Bitcoin Core’s privacy fix reaches v32 code while the v31 patch remains open

Official BTCPay Server documentation explains that the optional opt-add-tor fragment incorporates hidden services along with targeted onion connectivity. Operators can check their current settings using btcpay-fragments show, a command that leaves configurations unmodified while displaying saved additional and excluded fragments together with the active fragments derived from the most recent generated manifest.

Commands that modify fragments require root permissions and immediately trigger a setup reapplication.

Private services need separate exceptions

The release notes for version 2.4.5 additionally highlight a breaking change affecting outbound HTTP requests: destinations on private networks are now blocked by default for Lightning connections, LNURL calls, invoice notification URLs, and webhooks. This security measure is designed to block server-side request forgery (SSRF).

With this safeguard active, operators who intentionally rely on private services must explicitly whitelist required destinations through ssrfexceptions.

According to BTCPay’s administrator documentation, users should restart the application and test the relevant integration following any modification to this setting.

Related Reading

Lightning Labs discloses critical bug marking canceled invoices paid, risking free product delivery

Leave a Reply

Your email address will not be published. Required fields are marked *