Automatic Update Script For Self-Hosted (Updated)

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.

Nothing in the Laravel logs? Or nothing in the Apache logs?

Hello.

Has version 4.3 been released already ? I use Automatic Update Script For Self-Hosted but it does say i’m already using last version (4.2.2)

Thanks

Matthieu

Not yet, hopefully in about a week.

Hi.

Does the update script work on windows servers?

Br,
Dali

Unfortunately, no. There’s too much Linux-specific syntax for it to work even if you have bash for Windows.

Best bet for Windows users would be if someone made a PowerShell script, but that’s completely out of my wheelhouse.