ictfax icon indicating copy to clipboard operation
ictfax copied to clipboard

ICTFAX site will not load after running yum update

Open syntaxsystems opened this issue 4 years ago • 18 comments

Everything seemed to be working ok after installing on centos 7 I then ran yum update, and installed the latest packages.

Now I only get a blue window with an image in the middle that won't load

root still works and I get the APACHE page..

HELP!

syntaxsystems avatar Oct 11 '21 22:10 syntaxsystems

I'm also having this issue with a new install.

Tried both the install script and manually following the install guide, and end up at the same blank blue page with the unopened image.

Upon further inspection, it appears that the server is assuming all the assets are hosted at the root of the URL http://servername.tld instead of http://servername.tld/ictfax

dubyatp avatar Oct 12 '21 19:10 dubyatp

Please share the Apache error log, so that we can guide you better

fizaict avatar Oct 13 '21 11:10 fizaict

I am also having this problem, fresh install of CentOS, tried both the script and the install guide (after reinstalling OS). Apache config has not been edited. httpd.zip

erunaheru avatar Oct 23 '21 07:10 erunaheru

I was able to temporarily fix by adding this to ictfax.conf:

RewriteEngine On RewriteRule ^/ictfax - [L,NC] RewriteRule ^/api - [L,NC] RewriteRule (.*) /ictfax$1 [L,R=301]

erunaheru avatar Oct 23 '21 18:10 erunaheru

I also have this problem on a new install (for testing the solution) but i don't understand where i've to put this correction. Regards.

uaccalogo avatar Oct 29 '21 07:10 uaccalogo

resolved, the file to modify is placed in /etc/httpd/conf.d/ictfax.conf

uaccalogo avatar Oct 29 '21 09:10 uaccalogo

To be clear, this does not fix the underlying problem, it just masks it. I'm also evaluating and I would strongly recommend not using the workaround on a production install.

erunaheru avatar Oct 29 '21 11:10 erunaheru

To be clear, this does not fix the underlying problem, it just masks it. I'm also evaluating and I would strongly recommend not using the workaround on a production install.

Please share the facing issue, we will help you and fix them accordingly

ICTKashif avatar Oct 29 '21 11:10 ICTKashif

I was able to temporarily fix by adding this to ictfax.conf:

RewriteEngine On RewriteRule ^/ictfax - [L,NC] RewriteRule ^/api - [L,NC] RewriteRule (.*) /ictfax$1 [L,R=301]

You need to update the apache configuration, like following and then restart the apache service

vi /etc/httpd/conf/httpd.conf

# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "/usr/ictfax"

#
# Relax access to content within /var/www.
#
<Directory "/var/www">
    AllowOverride None
    # Allow open access:
    Require all granted
</Directory>

# Further relax access to the default document root:
<Directory "/usr/ictfax">

ICTKashif avatar Oct 29 '21 11:10 ICTKashif

To be clear, this does not fix the underlying problem, it just masks it. I'm also evaluating and I would strongly recommend not using the workaround on a production install.

Please share the facing issue, we will help you and fix them accordingly

The underlying issue was that relative URLs were being interpreted relative to the root.

Admittedly, this feels like a client issue, but I saw it in multiple browsers and have not seen problems with other applications. I will try the suggested solution sometime this weekend.

erunaheru avatar Oct 29 '21 13:10 erunaheru

if you still face the issue, then please share the SSH access of your server at https://service.ictinnovations.com/submitticket.php we will check and update you

ICTKashif avatar Oct 29 '21 19:10 ICTKashif

I was able to temporarily fix by adding this to ictfax.conf: RewriteEngine On RewriteRule ^/ictfax - [L,NC] RewriteRule ^/api - [L,NC] RewriteRule (.*) /ictfax$1 [L,R=301]

You need to update the apache configuration, like following and then restart the apache service

vi /etc/httpd/conf/httpd.conf

# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "/usr/ictfax"

#
# Relax access to content within /var/www.
#
<Directory "/var/www">
    AllowOverride None
    # Allow open access:
    Require all granted
</Directory>

# Further relax access to the default document root:
<Directory "/usr/ictfax">

I have confirmed this works on my end, but now i'm facing the same exact problem occurring in #67

dubyatp avatar Nov 01 '21 17:11 dubyatp

I went in and changed the base href in the url. This still leads me down the road to every page displaying as the dashboard though.

<base href="/ictfax/"

d1g1t4ld00m avatar Nov 11 '21 22:11 d1g1t4ld00m

Any updates on this issue? We are wanting to deploy this out and we are attempting to test the software before purchase.

ortizdr avatar Feb 18 '22 22:02 ortizdr

I went in and changed the base href in the url. This still leads me down the road to every page displaying as the dashboard though.

<base href="/ictfax/"

Please configure the base URL like and then try again

ictvision avatar Feb 19 '22 13:02 ictvision

Where is this changed?

ortizdr avatar Feb 24 '22 21:02 ortizdr

Where is this changed?

You can change or remove the base URL tag from /usr/ictfax/index.html file.

ICTKashif avatar Feb 25 '22 06:02 ICTKashif

hello,

index.html now looks so, but it does not work:

ICTFax Loading...

kmorber avatar Apr 09 '24 18:04 kmorber