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

Cannot login with [email protected] on new install #93

Open
rw180800 opened this issue Jul 23, 2024 · 7 comments
Open

Cannot login with [email protected] on new install #93

rw180800 opened this issue Jul 23, 2024 · 7 comments

Comments

@rw180800
Copy link

rw180800 commented Jul 23, 2024

Followed all steps with no errors.. https://ictfax.org/ictfax-installation-guide/ Centos Stream 8 (there are a few areas that have context mistakes in the instructions).

Now when I go to login:
Oh snap!

Login/Email combination is not correct, please try again.

Can I reset a password in mysql cli? I can see the admin and user account there.

@rw180800
Copy link
Author

Found out how to add a user:

INSERT INTO usr(username, passwd, first_name, last_name, email, phone, active, created_by) VALUES ('name', MD5('password'), 'name', 'NULL', '[email protected]', 'NULL', 1, 1);
SELECT @USRID := LAST_INSERT_ID();
SELECT @roleId := role_id FROM role WHERE name='admin';
INSERT INTO user_role VALUES (@roleId, @USRID);
SELECT @roleId := role_id FROM role WHERE name='user';
INSERT INTO user_role VALUES (@roleId, @USRID);

But I cannot login with with any of the user accounts.

@rw180800
Copy link
Author

rw180800 commented Jul 23, 2024

similar to ictfax web login #23

ICTKashif commented [on Sep 27, 2019]
Please make sure database information correctly entered in theses file

/etc/ictcore.conf and /etc/odbc.ini


/etc/odbc.ini is blank.

/etc/ictcore.conf looks fine on my system,

[db]
host = localhost
port = 3306
user = ictfaxuser
pass = password
name = ictfax
type = mysql

@ictvision
Copy link

Following are the reasons for login issue

  1. ictcore.log not writable / readable
  2. disable selinux
  3. disable firewall
  4. Check the username and password from database (you can update the password via this command update usr set passwd=md5('helloAdmin') where usr_id=1
  5. make sure database correctly configured in the /etc/ictcore.conf file

@rw180800
Copy link
Author

seems it was the disable selinux - status said permissive, the config was enabled. I edited the config to SELINUX=disabled and can login. thanks.

@rw180800
Copy link
Author

rw180800 commented Aug 5, 2024 via email

@rw180800
Copy link
Author

Are there any working installation instructions? So far on any OS installs are failing. I can see there is a V6 now .. but no install instructions. Current links are for Centos 7, AWS Linux 2 and Rocky Linux 8. Before this the link had Centos Stream 8 etc.

All I want to do is install it on an AWS server and send and receive faxes.

@java007md
Copy link

java007md commented Jan 12, 2025

seems it was the disable selinux - status said permissive, the config was enabled. I edited the config to SELINUX=disabled and can login. thanks.

Same situation with Rocky9 install. Could not login with default credentials. Modifying /etc/sysconfig/selinux to:

SELINUX=disabled

permitted login. Not the preferred fix, but it worked, at least for permitting logins.

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

3 participants