Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ICTFAX Community 6.0 #97

Open
kmorber opened this issue Oct 31, 2024 · 10 comments
Open

ICTFAX Community 6.0 #97

kmorber opened this issue Oct 31, 2024 · 10 comments

Comments

@kmorber
Copy link

kmorber commented Oct 31, 2024

Hello,

i read that Version 6.0 has been released, where can i download this version?

Best regrads

@java007md
Copy link

java007md commented Nov 25, 2024

From the installation guidance at: https://ictfax.org/ictfax-installation-guide/, it looks like the first option "Rocky Linux 8 ICTFax 6.0" installs 6.0. The github source code does not appear to be updated though - that would be nice to see.

Edit: Upon further investigation, I was unable to successfully install via either of the Rocky Linux 8 tabs on the installation guide. I suspect updates to the referenced links, signatures, etc., are needed to proceed. Will continue looking, but it's not a simple cut and paste process from the guide.

@WITMAC-N
Copy link

WITMAC-N commented Dec 4, 2024

Just wanted to chime in. ICTFax 6.0 is completely unusable in its current state on Rocky 8. I can't imagine it would work on anything else either. Installing isn't a huge pain, but the software just doesn't work. Fix one issue for another to arise. ICTFax 5.0 also doesn't seem to be buildable to due the closed-source dependencies.

@ICTKashif
Copy link
Contributor

Just wanted to chime in. ICTFax 6.0 is completely unusable in its current state on Rocky 8. I can't imagine it would work on anything else either. Installing isn't a huge pain, but the software just doesn't work. Fix one issue for another to arise. ICTFax 5.0 also doesn't seem to be buildable to due the closed-source dependencies.

Can you please share the details of facing issue, we will check and fix it accordingly.

@WITMAC-N
Copy link

WITMAC-N commented Dec 4, 2024

Here is what I've come across with 6.0 so far.
I did get further than some of these issues, but getting one thing "fixed" broke others. So the information I've gathered below is from a fresh install on Rocky Linux 8.

OS: Rocky Linux v8.10
firewalld disabled
selinux permissive/disabled
Install under root. No user account. (tried it both ways, all commands need sudo anyways).

UI/Web page (basic observations):

When attempting to click on Send/Receiving it sends me back to the Dashboard page, Every time.
When clicking around, it will randomly send me to the dashboard page. Eventually, I'm not able to click around at all and it just loads the Dashboard page over and over. Restarting httpd fixes this until I start clicking around again.

Can't sign in as "user" account only admin.
#67 references this.
ICTKashif commented on Oct 29, 2022
#root_user > mysql ictfax
#mysql_cli > insert role_permission (role_id, permission_id) values (1,74);

However, when I did this, a user could access/view the "Administration" drop-down.

Installation issues (least to most severe):

Line 10 can be removed from /usr/ictcore/db/ictfax.sql

pecl install imagick
Results in a bunch of errors.
This is more so just curiosity, under what circumstances will this work?

sudo yum install -y php-imagick
results in no errors

These seem like the main errors/issues or at least a starting place.
The error in /var/log/httpd/error_log happens every time I click on a category (contacts, fax documents).
The errors in /usr/ictcore/log/ictcore.log fire when logging in and often continue while that user is logged in. They stop if nobody is logged in.

==> /usr/ictcore/log/ictcore.log <==
[2024-12-04 20:51:23] [2967] [WARNING] Session read found zero rows
[2024-12-04 20:51:28] [2968] [WARNING] session_write_close(): Cannot call session save handler in a recursive manner in /usr/ictcore/core/lib/Session.php on line 97
[2024-12-04 20:51:28] [2968] [WARNING] session_write_close(): Failed to write session data using user defined save handler. (session.save_path: /var/lib/php/session, handler: write) in /usr/ictcore/core/lib/Session.php on line 97
[2024-12-04 20:51:28] [2968] [WARNING] Session read found zero rows
[2024-12-04 20:51:33] [2996] [WARNING] session_write_close(): Cannot call session save handler in a recursive manner in /usr/ictcore/core/lib/Session.php on line 97
[2024-12-04 20:51:33] [2996] [WARNING] session_write_close(): Failed to write session data using user defined save handler. (session.save_path: /var/lib/php/session, handler: write) in /usr/ictcore/core/lib/Session.php on line 97
[2024-12-04 20:51:33] [2996] [WARNING] Session read found zero rows
[2024-12-04 20:51:38] [2971] [WARNING] session_write_close(): Cannot call session save handler in a recursive manner in /usr/ictcore/core/lib/Session.php on line 97
[2024-12-04 20:51:38] [2971] [WARNING] session_write_close(): Failed to write session data using user defined save handler. (session.save_path: /var/lib/php/session, handler: write) in /usr/ictcore/core/lib/Session.php on line 97
[2024-12-04 20:51:38] [2971] [WARNING] Session read found zero rows

==> /var/log/httpd/error_log <==
[Wed Dec 04 14:50:57.358039 2024] [php:error] [pid 2967] [client 10.10.5.20:7017] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://10.10.5.10/ictfax
[Wed Dec 04 14:50:57.364105 2024] [php:error] [pid 2968] [client 10.10.5.20:7008] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://10.10.5.10/ictfax
[Wed Dec 04 14:51:03.613859 2024] [php:error] [pid 2971] [client 10.10.5.20:7018] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://10.10.5.10/ictfax
[Wed Dec 04 14:51:08.616982 2024] [php:error] [pid 2966] [client 10.10.5.20:7019] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://10.10.5.10/ictfax
[Wed Dec 04 14:51:13.621833 2024] [php:error] [pid 3091] [client 10.10.5.20:7022] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://10.10.5.10/ictfax
[Wed Dec 04 14:51:18.629147 2024] [php:error] [pid 3097] [client 10.10.5.20:7023] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://10.10.5.10/ictfax
[Wed Dec 04 14:51:23.635775 2024] [php:error] [pid 2967] [client 10.10.5.20:7024] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://10.10.5.10/ictfax
[Wed Dec 04 14:51:28.638996 2024] [php:error] [pid 2968] [client 10.10.5.20:7025] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://10.10.5.10/ictfax
[Wed Dec 04 14:51:33.648469 2024] [php:error] [pid 2996] [client 10.10.5.20:7026] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://10.10.5.10/ictfax
[Wed Dec 04 14:51:38.652261 2024] [php:error] [pid 2971] [client 10.10.5.20:7027] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://10.10.5.10/ictfax

@WITMAC-N
Copy link

WITMAC-N commented Dec 4, 2024

I just noticed the Installation Guide has been updated.
I figure Rocky 8 is similar enough, but I'll take a look at Rocky 9 so we can get on the same page.

@WITMAC-N
Copy link

WITMAC-N commented Dec 5, 2024

Exact same issues on Rocky 9.
No gpg error when installing ictcore files now.
Is there anything missing from the install guide? I noticed some small stuff like adding the PHP repo is missing.
yum install https://rpms.remirepo.net/enterprise/remi-release-9.rpm

@ICTKashif
Copy link
Contributor

If you are encountering issues with the GPG key while installing ICTFax using the yum command, you can use the --nogpgcheck option with yum. This is due to a third-party repository.

yum install ictcore --nogpgcheck

in case of same issue, share the error logs

@WITMAC-N
Copy link

WITMAC-N commented Dec 6, 2024

Yup, that was what I was using to install on Rocky 8. Rocky 9 imported the gpg key without issue.

@NiklasDor
Copy link

Got the same problem with the redirect to the dashboard no matter where I click

@java007md
Copy link

Got the same problem with the redirect to the dashboard no matter where I click

I finally managed to get the installation completed, but after successfully adding a trunk entry, like @NiklasDor, subsequent clicks quickly loop back, and redirect to the dashboard. Error logs similar to those reported by @WITMAC-N are observed.

Happy to do some additional testing if @ICTKashif or others have suggestions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants