Another thing to try would be adding set -x to the script just below #!/bin/bash -ue.
#!/bin/bash -ue
#Invoice Ninja Self-Hosted Automatic Update - USE AT YOUR OWN RISK
would become
#!/bin/bash -ue
set -x
#Invoice Ninja Self-Hosted Automatic Update - USE AT YOUR OWN RISK
That will print all the commands being issued to stdout in addition to the results, so we can see exactly where it’s kicking out.
Then you can paste the output, starting with the line where you ran the script. Just be sure to enclose it with code tags so the forum software doesn’t mangle it.
ok, So I went back to the beginning and did the whole process from an ubuntu linux computer and it went fine without a single problem. However, when I go the the IP address of the invoice ninja server I just get a error 500. nothing in the log files.