BTCpayserver
-
Ok - pushed both repos to the playground (seemed the most suitable place) and raised first PR (looks like push to main is not possible, nor is merging)
https://git.cloudron.io/playground/btcpayserver/-/merge_requests/1
-
BTC Pay Server - what is the latest? We need it!
@timconsidine, is this application on your radar?
-
BTC Pay Server - what is the latest? We need it!
@timconsidine, is this application on your radar?
@LoudLemur I’m lacking decent internet for a week but will look when I can.
If @vladimir.d is on the case, I’ve every confidence he will do a great job -
This post is deleted!
-
We updated the btcpayserver repo today to use the latest version (2.2.0) and fixed a CSP issue in the nginx.conf
@nostrdev I added btcpayserver to the list of custom apps that can be deployed using https://ccai.appx.uk.
It installed fine, but I am getting a blank screen when I first visit the domain and am routed to /register.
Cloudron logs for the installed app show :
ug 24 22:07:24 fail: Microsoft.AspNetCore.Server.Kestrel: Connection id "0HNF3A7ITPD1Q", Request id "0HNF3A7ITPD1Q:00000001": An unhandled exception was thrown by the application. Aug 24 22:07:24 --- End of inner exception stack trace --- Aug 24 22:07:24 --- End of stack trace from previous location --- Aug 24 22:07:24 --- End of stack trace from previous location --- Aug 24 22:07:24 --- End of stack trace from previous location --- Aug 24 22:07:24 --- End of stack trace from previous location --- Aug 24 22:07:24 ---> System.IO.IOException: The configured user limit (128) on the number of inotify instances has been reached, or the per-process limit on the number of open file descriptors has been reached.
Any thoughts ?
-
We suspect this is an issue with the host machine
You can test by running the following (will reset on next boot):
sudo sysctl fs.inotify.max_user_instances=512 # Or higher, e.g., 1024 sudo sysctl fs.inotify.max_user_watches=524288 # Increase this too if needed
For permanent fix:
- Edit or create
/etc/sysctl.conf
insert / update:
fs.inotify.max_user_instances=512 fs.inotify.max_user_watches=524288
Then apply:
sudo sysctl -p
- Edit or create
-
That web app looks cool! Is it self-hostable? Thanks for adding btcpay..
Remember that BTCPay also requires BTC Core (or Knots), or at least access to an instance somewhere
@nostrdev said in BTCpayserver:
That web app looks cool! Is it self-hostable?
Yes, if you're referring to CCAI
You can actually use the deployed version at https://ccai.appx.uk to install CCAI onto your own Cloudron server.
Or you do it manually (docker build, docker push, cloudrin install) by cloning the repo -
We suspect this is an issue with the host machine
You can test by running the following (will reset on next boot):
sudo sysctl fs.inotify.max_user_instances=512 # Or higher, e.g., 1024 sudo sysctl fs.inotify.max_user_watches=524288 # Increase this too if needed
For permanent fix:
- Edit or create
/etc/sysctl.conf
insert / update:
fs.inotify.max_user_instances=512 fs.inotify.max_user_watches=524288
Then apply:
sudo sysctl -p
@nostrdev said in BTCpayserver:
We suspect this is an issue with the host machine
Thank you.
Will investigate - Edit or create