solved tifig software error in the System Check.

pch
@pch
5 years ago
328 posts
Hello JR Team

I have uploaded the following files in binary mode:

convert
epeg
ffmpeg
id3v2
jpegoptim
sox
wget
tifig

Everything is showing green in the System Check except "tifig". It says:

tifig: executable : modules/jrSystemTools/tools/tifig is not working correctly.

Then I tried the short answer found in these forum posts:

https://www.jamroom.net/the-jamroom-network/documentation/howto/4641/howto-use-a-different-ffmpeg-binary
https://www.jamroom.net/the-jamroom-network/forum/new_posts/26187/configurable-jamroom-binary-executable
https://www.jamroom.net/the-jamroom-network/forum/installation-and-configuration/30060/ffmpeg-question-how-to-use-a-different-ffmpeg-binary
https://www.jamroom.net/the-jamroom-network/forum/using-jamroom/61572/modules-not-working

in /data/config/config.php I added this line:

$_conf['jrCore_tifig_binary'] = '/usr/bin/tifig';

But nothing happened. I still have this tifig error: modules/jrSystemTools/tools/tifig is not working correctly

Please help. Any other solution?

Thanks
updated by @pch: 12/05/19 06:09:15AM
michael
@michael
5 years ago
7,717 posts
is that
/usr/bin/tifig
the correct location for that binary on your server?

Setting that in config.php is only going to do anything if it is the correct path to the binary on your server.
pch
@pch
5 years ago
328 posts
Hi Michael. Thanks for the reply.

Well, I can't find the location of the tifig on the server. How to know whether it is even enable or not and how to enable/install it on the server? I have root access through SSH.

Is there any other solution to fix this tifig error in the JR System Check apart from adding this line to /data/config/config.php?

Thanks.
brian
@brian
5 years ago
10,148 posts
pch:
Hi Michael. Thanks for the reply.

Well, I can't find the location of the tifig on the server. How to know whether it is even enable or not and how to enable/install it on the server? I have root access through SSH.

Is there any other solution to fix this tifig error in the JR System Check apart from adding this line to /data/config/config.php?

Thanks.

No - that is how it is done. It sounds like (for whatever reason) your server does not like that binary. You would need to have your hosting provider install tifig at the server level:

https://github.com/monostream/tifig

and once that has been compiled and placed in /usr/local/bin (or wherever) then you can update the config.php file:

$_conf['jrSystemTools_tifig_binary'] = '/usr/local/bin/tifig';

Note that tifig is ONLY used to convert HEIC and HEIF images from iPhone X (and newer) to JPG - it's not even needed most of the time since the iPhone will convert to JPG for uploading by default - it's only used if the user chooses to upload the raw photo.

Let me know if that helps.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

updated by @brian: 08/08/19 04:27:33PM
pch
@pch
5 years ago
328 posts
Hi Brian,

Thank you for your very informative reply. Although, it is not really needed most of the time, I will ask the hosting provider to install it for me. It's always good to see JR pass all the system checks.

You said then I can update the config.php file with the following line:

$_conf['jrSystemTools_tifig_binary'] = '/usr/local/bin/tifig';

Should it be the line you provided or:

$_conf['jrCore_tifig_binary'] = '/usr/bin/tifig';

as suggested in the documentation? (See my first post above)
pch
@pch
5 years ago
328 posts
Hi Brian,

I have contacted my Hosting Provider to install the tifig for me. They charged me $75 to install it + $35 for another installation (tifig + ffmpeg). Total: $110. They said that tifig needs ffmpeg to work.

Since you said in your previous post that tifig is not even needed most of the time, I decided not to install it and save money. :)

BTW, why are you still including it into the JR System checklist if it is not even needed most of the time and most Hosting Providers do charge to install it? The failure warning status in the system check is kinda misleading. (It's just a thought).

Thanks
updated by @pch: 09/03/19 01:46:19PM
michael
@michael
5 years ago
7,717 posts
Most hosting providers don't charge to install it. Its there for those that need to use it. We have Jamroom Hosting as our solution to having the server setup right from the beginning ;)

Jamroom Hosting
https://www.jamroom.net/hosting

With the hosting you get to use all the modules we make on as many sites as you want to make, so if you're really into building sites with jamroom it quickly becomes cheaper than the alternatives.
brian
@brian
5 years ago
10,148 posts
pch:
Should it be the line you provided or:

$_conf['jrCore_tifig_binary'] = '/usr/bin/tifig';

as suggested in the documentation? (See my first post above)

I will get the documentation updated - we recently moved all the binaries to the System Tools module, so the correct way is jrSystemTools_tifig_binary.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
pch
@pch
5 years ago
328 posts
@michael and @brian

Thanks :)

Tags