BTCpayserver
-
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
-
@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@timconsidine I'm sure this is totally safe but would still prefer not to enter creds on a third party domain
Where is the repo?found it: https://git.cloudron.io/timconsidine/cloudron-customapp-installer
I see that it requires docker to do the manual setup, is there a public image available?
This tool really ought to be on the main app store, it looks really handy!!
-
@timconsidine I'm sure this is totally safe but would still prefer not to enter creds on a third party domain
Where is the repo?found it: https://git.cloudron.io/timconsidine/cloudron-customapp-installer
I see that it requires docker to do the manual setup, is there a public image available?
This tool really ought to be on the main app store, it looks really handy!!
@nostrdev yes there is a public docker image
tcmbp132021/cloudron-customapp-installer:vX.Y.ZI’m away at present so please check hub.docker.com for the correct version number.
Totally understand about credentials sensitivity.
You can check the code in the repo to see nothing is stored. And no metrics captured.
But feel free to manually use cloudron install —image tcmbp132021/cloudron-customapp-installer:vX.Y.Z after cloning the repo to have access to CloudronManifest.jsonThe hosted installer is purely a service, direct install is available.
I guess you could set up a special purpose Cloudron user and disable or change password after using it.
-
@timconsidine I'm sure this is totally safe but would still prefer not to enter creds on a third party domain
Where is the repo?found it: https://git.cloudron.io/timconsidine/cloudron-customapp-installer
I see that it requires docker to do the manual setup, is there a public image available?
This tool really ought to be on the main app store, it looks really handy!!