Closed bingomate closed 6 years ago
Thanks for pointing out the mistake. However other then changing this line you also need to allow write permission on /usr/ictcore/log. It will allow ICTCore to reveal actual error under this directly.
Please provide us error logs from /usr/ictcore/log directory for further help
So the permissions on the log file seem to have r/w permissions and I see other log entries in there
[root@osboxes log]# ls -la
total 20
drwxrwsr-x+ 2 ictcore ictcore 43 Jun 21 17:10 .
drwxr-xr-x. 13 ictcore ictcore 270 Jun 21 17:09 ..
-rw-rw-r--. 1 ictcore ictcore 71 Feb 13 05:22 .gitignore
-rw-rw-r--. 1 ictcore ictcore 15142 Jun 21 19:06 ictcore.log
You were supposed to find and share the error from thous entries
tail ictcore.log
Thanks for the responses. I figured out what I was doing wrong. I was using email format for username instead of just entering the username without domain
POST to /api/authenticate yield a 500 internal server error. Using applicaton/json as Content-Type and the following formatted JSON
Apache logs are showing:
I followed the installation guide from http://www.ictdialer.org/installation-guide running on CentOS 7 (64) and referenced the API guide from https://github.com/ictinnovations/ictcore/blob/master/docs/ApiGuide.md
On a side note, I checked the generate_token() method from /ictcore/core/User.php and noticed it was looking for a private key on a path that doesn't seem to exist
Should /usr/ictbroadcast/etc/ssh/ib_node be actually pointing to /usr/ictcore/etc/ssh/ib_node ?
Would very much appreciate the help. Cheers!