Debian 9 problems...

Read 3771 times
hello, I have serious problems with the new debian 9 version.
Centova cast refuses to install successfully...
1. bad substituion warning
2. ssl certificate problem
3. failed to start centova cast. reason 127.0.0.1:2199 refuse....
missing systemd definitions, start, stop, restart ...
Please for ideas and solutions ...
Thanks
Last Edit: September 13, 2017, 12:19:25 pm by adri
Hello adri,

This issues are the result of using an incompatible Linux shell (i.e not BASH, which is required by all Centova Cast's scripts).

You will need to make sure that BASH is installed on your system, and that the root user's default shell is set to /bin/bash in /etc/passwd.

Also make sure that you are logging in as root, and not as other pseudo administrative account such as "admin".

Finally, you can type "echo $BASH" to make sure that the environmental variable for BASH has been correctly set to /bin/bash.


Regards.
root@FoxBG:/bin# echo $BASH
/bin/bash

there is no problem with this.
There is a problem creating certificate.pem

Attempting to start web: cc-web nginx: [emerg] BIO_new_file("/usr/local/centovacast/etc/ssl/certificate.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/usr/local/centovacast/etc/ssl/certificate.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
- failed

Attempting to notify web control panel of software update ...
Connecting to 127.0.0.1:2199. failed: Connection refused.                     
  > Download error details:                                                   
  > --2017-09-14 18:09:02--  http://127.0.0.1:2199/api.php
  > Connecting to 127.0.0.1:2199... failed: Connection refused.
Error contacting your web control panel
Liquidsoap was installed successfully but could not be enabled in Centova Cast
Updating permissions ...
Installation successful

/usr/local/centovacast/lib/bashfunc: line 57: APP_.: bad substitution
Last Edit: September 14, 2017, 08:26:35 am by adri