Error attempting to add new domain ssl
sple.sh: 95: sple.sh: Syntax error: "(" unexpected
I have a couple domains with SSL certs already. I'm trying to add another app SSL and am seeing the error above. I'm using the latest sple.sh
Any help would be appreciated!
Same here!
Same here now
I don't have this issue.., though I am using an older version of this script. Are you running it as root?
bash ./sple.sh
Depending on the way your executing the script, this could be the cause..
I log in as the root user on the server and run ./sple.sh. However if you are running it by the following command sh sple.sh. Then you will likely receive the error mentioned above (as sh does not handle array creation).
When you use ./sple.sh it executes with /bin/bash as specified on the first line with #! But when you use sh sple.sh it executes in sh, not bash.
Hopefully that solves the issue 👍
A believe this issue is already listed here: https://github.com/lesaff/serverpilot-letsencrypt/issues/13