hi *,
i just had to install a new osTicket on a new server and stuck in a problem i cant remember how i solved id a few years ago.
here are the facts:
* brand new installation of 1.10.1 in a blank sub-domain (support.mydomain.tld)
* blank mySQL Database
* PHP 7.0.22-0ubuntu0.16.04.1 (cli) ( NTS )
* hosted on public provider (1blu.de)
* imap and smtp set up and running in "auto-cron"-mode
while i can't run local cron-job i have to call rcron.php from external cron-daemon.
i set up an API-Key with:
"Status" = active
"IP Address" = 178.254.0.??? {which is official IP of Apache-Server}
"API Key" = 9DEED0B318146D4113DE0708EBXXXXXX
"Can Create Tickets" = checked
"Can Execute Cron" = checked
in file "support.mydomain.tld/rcron.php" i set:
$config = array(
'url'=>'
http://support.mydomain.tld/api/tasks/cron',
'key'=>'9DEED0B318146D4113DE0708EBXXXXXX'
);
when i call (from external client anywhere out there) "
http://support.mydomain.tld/rcron.php" i got "
HTTP/1.1 404 Not Found Date: Tue, 26 Sep 2017 14:21:25 GMT Server: Apache Transfer-Encoding: chunked Content-Type: text/html; charset=UTF-8 No input file specified."
when i call "php rcron.php" from local ssh i got the same:
HTTP/1.1 404 Not Found
Date: Tue, 26 Sep 2017 14:22:48 GMT
Server: Apache
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8
No input file specified.when i call "
http://support.mydomain.tld/api/cron.php" is sais "
cron.php only supports local cron calls - use http -> api/tasks/cron" as it should
when i call "
http://support.mydomain.tld/api/tasks/cron" there is a "
No input file specified."
No other file was changed, no language-pack, no plugins, clean and brand new installation.
I think i had to change something last time but i can't remember what it was.
Please forgive my bad english and write me all your ideas...
andreas