Open alexnoxx opened 3 years ago
The support for BTCPAYGEN_SUBNAME
isn't complete in the setup script.
Using export BTCPAYGEN_SUBNAME="nodobtcpay"
means the generated docker-compose file should be named docker-compose.nodobtcpay.yml
, yet the output lists:
BTCPAY_DOCKER_COMPOSE=/root/BTCPayServer/btcpayserver-docker/Generated/docker-compose.generated.yml
then the generator has it right:
Generating /app/Generated/docker-compose.nodobtcpay.yml
The incorrect filename ends up also in /etc/profile.d/btcpay-env.sh
and things go wrong.
The fix might be something like subname.txt
Thanks for the reply. I understand that one of the solutions is not to put the subname to use the default generator and the other solution is by modifying the parameters located in the file: /btcpay-env.sh?.
In the case of placing a value of subname, the generator would enter the "else" of the conditional applying the instruction:
+ BTCPAY_DOCKER_COMPOSE="$(pwd)/Generated/docker-compose.${BTCPAY_SUBNAME:-generated}.yml"
So the new path should be:
BTCPAY_DOCKER_COMPOSE=/root/BTCPayServer/btcpayserver-docker/Generated/docker-compose.nodobtcpay.yml
Why is this route not updated and the default route is still displayed? Should I replace it with the following path ?:
BTCPAY_DOCKER_COMPOSE=/app/Generated/docker-compose.nodobtcpay.yml
Thanks
Hello guys, I am installing BTCPayserver on a virtual machine with centos 8.
When I run the following statement:
I get the following error:
what could be happening?
Regards,
Alex