Install question

My first install. I have the installation document from the Help system. I’m at the part where you should be able to open a browser and finish the installation. http://mbgocs.mobot.org/ocs is the URL and nothing happens. I was expecting an on screen wizard to guide me through the rest of the OCS installation. I need a hint on the next move in the install.

Debian 7, Apache2.2, PHP 5.4.45, MySql 5.5.57
Thanks

Hi @Mike,

Check your PHP error log for details.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi Alec,

Do you offer installation services for a fee? I can get you remote access into the server. We need OCS installed on a new server, and the data migrated from MySql on the old server to the new server.

I read that the PHP log file is the Apache2 error log. Here’s the output from that logfile. I don’t think this is what you are asking for but I’m learning here.

Thanks Mike

var/log/apache2# more error.log
[Sun Sep 03 06:25:02 2017] [notice] Apache/2.2.22 (Debian) configured – resuming normal operations
[Sun Sep 03 14:50:55 2017] [notice] caught SIGTERM, shutting down
[Sun Sep 03 14:51:00 2017] [notice] Apache/2.2.22 (Debian) configured – resuming normal operations
[Sun Sep 03 14:51:08 2017] [notice] caught SIGTERM, shutting down
[Sun Sep 03 14:51:09 2017] [notice] Apache/2.2.22 (Debian) PHP/5.4.45-0+deb7u11 configured – resuming normal operations
[Sun Sep 03 14:51:12 2017] [notice] Graceful restart requested, doing restart
[Sun Sep 03 14:51:12 2017] [notice] Apache/2.2.22 (Debian) PHP/5.4.45-0+deb7u11 configured – resuming normal operations
[Sun Sep 03 14:52:04 2017] [notice] caught SIGTERM, shutting down
[Sun Sep 03 14:52:05 2017] [notice] Apache/2.2.22 (Debian) PHP/5.4.45-0+deb7u11 configured – resuming normal operations
[Sun Sep 03 14:55:29 2017] [error] [client 172.16.75.199] File does not exist: /var/www/favicon.ico, referer: http://172.16.17.203/info.php
[Sun Sep 03 15:05:08 2017] [notice] caught SIGTERM, shutting down
[Sun Sep 03 15:05:35 2017] [notice] Apache/2.2.22 (Debian) PHP/5.4.45-0+deb7u11 configured – resuming normal operations
[Sun Sep 03 16:30:27 2017] [notice] Graceful restart requested, doing restart
[Sun Sep 03 16:30:27 2017] [notice] Apache/2.2.22 (Debian) PHP/5.4.45-0+deb7u11 configured – resuming normal operations

Hi @Mike

I’ve tryed access the URL you provided but it looks like a subdomain not active. I’ve openned a terminal and gave a ping command, result bellow:

 israel$ ping mbgocs.mobot.org
ping: cannot resolve mbgocs.mobot.org: Unknown host

So , my guess is that is not a OCS install issue, but a DNS one. Could you check with your IT support if the subdomain is correctly set ? I also tested your main domain, just in case, and it is ok (result bellow):

israel$ ping mobot.org
PING mobot.org (192.104.39.71): 56 data bytes

Best
Israel

Thanks for the feedback. The server is not available to the outside at the point. So you can’t ping it. I cannot get the install wizard to launch. I’m finally getting xxx.xxx.xxx.xxx/ocs/index.php/install when I key in xxx.xxx.xxx.xxx/ocs. What am I missing or overlooking to get the install wizard to launch?
At the moment all the files in xxx.xxx.xxx.xxx/ocs are owned by root and the file permissions are set to 777. I’m just trying to get something going. Later on I’ll change the owner and group to www-data and set the file permissions to 644.

Hi @Mike

Did you check Apache error log ? It should exhibit some info to you about this issue you are facing.

Hi -

Thanks for the tip, the log file does have information about OCS, and where I’m going wrong. Not had a chance to go through it yet.

Snip from the log file.

[Sun Sep 03 18:35:43 2017] [error] [client xxx.xxx.xxx.xxx] ocs2 has produced an error\n Message: USER ERROR: Smarty error: unable to write to $compile_dir ‘/var/www/ocs/cache/t_compile’. Be sure $compile_dir is writable by the web server user.\n In file: /var/www/ocs/lib/pkp/lib/smarty/Smarty.class.php\n At line: 1093\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.4.45-0+deb7u11\n Apache Version: Apache/2.2.22 (Debian)\n DB Driver: mysql, referer: http://mbgocs.mobot.org/ocs/index.php

Did you set the write permission to $compile_dir now? Did it work?

Yes, thanks so much, I now have the OCS install page up.