OJS installation on Windows with plugin deployment

  • Application Version - OJS 3.1.2
  • Description of issue
    Window 10 installation and plugin upload support.

We have installed xampp .3.2.4 This installed appropriate .7.4 PHP and MySQL
OJS is working perfectly. The issue is limited to uploading plugin I created a plugin with tar.gz while upload I get the issue of file type not supported & tar support needed.

I updated my config.inc.php with local tar.exe. with 3 options.

tar = C:\tools\Git\usr\bin\tar.exe
Or
tar = …/…/…/Git/usr/bin/tar.exe
or
tar = …\…\…\Git\usr\bin\tar.exe

While uploading I am getting following error . I do see gzip.exe exist at C:\tools\Git\usr\bin

Error with C:\tools\Git\usr\bin\tar.exe
tar (grandchild): gzip: Cannot exec: No such file or directory
tar (grandchild): Error is not recoverable: exiting now
tar (child): Cannot connect to C: resolve failed
/usr/bin/tar: Child returned status 128
/usr/bin/tar: Error is not recoverable: exiting now

I am aware: could be an issue here for tar but not sure how OJS handle tar executable when it is not part of PHP installation

Just wonder anyone has knowledge of using OJS with custom plugin deployment on Windows. If yes how tar component installed and specified.

Do we install tar separately for 64 bit windows and which version?.

Hi @teecellc

Sorry for short answer since I have limited time. Please, could you look at that discussion because it looks very similar to your issue,
Regards,

1 Like

Thanks for your input. Let me try these options.