Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify NBXplorer connection string settings #1471

Merged
merged 1 commit into from
Dec 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions docs/Deployment/ManualDeploymentExtended.md
Original file line number Diff line number Diff line change
Expand Up @@ -840,13 +840,6 @@ Updating could break things. Be careful on a live system.
~$ sudo systemctl start nbxplorer
```

##### Migration

With BTCPay Server v1.5 we [improved NBXplorer by switching to Postgres](https://blog.btcpayserver.org/nbxplorer-postgres/).
If you are still using the DBTrie based version, please consider [migrating NBXplorer](https://github.com/dgarage/NBXplorer/blob/master/docs/Postgres-Migration.md).

Afterwards you need to set `BTCPAY_EXPLORERPOSTGRES` to the same connection string as NBXplorer.

## BTCPay Server

Like NBXplorer the BTCPay Server application is also .NET Core. The install steps assume .NET Core was previosuly installed.
Expand Down Expand Up @@ -906,6 +899,8 @@ explorer.postgres=User ID=nbxplorer;Password=urpassword;Application Name=nbxplor
~$ sudo chmod 644 /etc/btcpay/btcpay.config
```

Alternatively, you can start BTCPay Server using a configuration file, environment variables (`BTCPAY_EXPLORERPOSTGRES` and `BTCPAY_POSTGRES`), or command-line arguments (`--explorerpostgres` and `--postgres`).

##### 4. Create a systemd service

An example **systemd service** file is shown below. Adjust the paths, User and Group accordingly.
Expand Down
Loading