opencats / OpenCATS

Applicant Tracking System (maintained code base)
http://www.opencats.org
Other
530 stars 246 forks source link

Problem with installation - antiword, pdftotext, html2text and unrtf executable binaries does not exist #386

Closed shantadam closed 6 years ago

shantadam commented 6 years ago

Expected behavior and actual behavior.

OpenCATS installation's step 4 should pass, as such:

Steps to reproduce the problem.

What version of opencats are you running?

Release or downloaded from Git?

WAMP or LAMP?

What version of PHP and MySQL are you running

attach appropriate error logs. Please attach [apache/mysql] error/access logs as needed.

cptr13 commented 6 years ago

What's your hosting environment?

shantadam commented 6 years ago

P.S.: Sentora panel is installed to manage the server.

cptr13 commented 6 years ago

OK. But you're self hosting? On a laptop or server, not a shared hosting environment like go daddy?

On Sat, Oct 6, 2018, 9:04 AM shantadam notifications@github.com wrote:

  • CentOS release 6.10 (Final)
  • MySQL 14.14 Distrib 5.1.73
  • PHP 5.3.3 (cli)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/opencats/OpenCATS/issues/386#issuecomment-427576283, or mute the thread https://github.com/notifications/unsubscribe-auth/ASpgGT0ILlPozVJIP0O2c_dBqWHZwrjpks5uiLhygaJpZM4XLWTo .

cptr13 commented 6 years ago

Did you install the resume indexing tools?

Install resume indexing tools $ sudo wget ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/Kenzy:/modified:/C7/CentOS_7/x86_64/antiword-0.37-20.1.x86_64.rpm $ sudo rpm -ivh antiword-0.37-20.1.x86_64.rpm $ sudo wget http://dl.fedoraproject.org/pub/epel/7/x86_64/h/html2text-1.3.2a-14.el7.x86_64.rpm $ sudo rpm -ivh html2text-1.3.2a-14.el7.x86_64.rpm $ sudo yum install poppler poppler-utils unrtf If you want to remove the files after you have installed them then do: * $ sudo rm antiword-0.37-20.1.x86_64.rpm html2text-1.3.2a-14.el7.x86_64.rpm

RussH commented 6 years ago

Php 5.3.3 isn't a supported version, and you seem to have some unusual configuration in PHP as the errors aren't letting you search in /usr

.. So fix both of them, install the parsing tools and try again!

shantadam commented 6 years ago

State I'm running-in:

shantadam commented 6 years ago

I went ahead and updated my php to 5.6.

shantadam commented 6 years ago

Resolution:

shantadam commented 6 years ago

Specifying PHP's open_basedir under Apache's httpd-vhost.conf worked.

screen shot 2018-10-06 at 12 17 15 pm
shantadam commented 6 years ago

My observations:

My suggestions:

shantadam commented 6 years ago

Furthermore, I noticed that documentation is missing installation instructions to ask users: (This is for Linux users.)

RussH commented 6 years ago

Hi @shamtadam, composer is only required if you don't download the full package from the release. If you don't use the full release package and download 'source' or download directly from the GitHub repo then you will need to run composer.

Full (no composer needed) https://github.com/opencats/OpenCATS/releases/download/0.9.4-2/opencats-0.9.4-2-full.zip

Source(for docker, requires composer) https://github.com/opencats/OpenCATS/archive/0.9.4-2.zip

RussH commented 6 years ago

Glad you resolved the issue by fixing your permissions issue