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

Inability to configure the application on the server. #68

Open
sktm01 opened this issue May 20, 2024 · 9 comments
Open

Inability to configure the application on the server. #68

sktm01 opened this issue May 20, 2024 · 9 comments

Comments

@sktm01
Copy link

sktm01 commented May 20, 2024

Hi, I did everything that was in the documentation to install your application on the server, but when entering URL the login screen is displayed, where the installation was not carried out before.
2024-05-20_18h46_34

@MintHCM-admin
Copy link
Collaborator

Hi! Could you check if any errors appear in the browser's console? Also, please check the php.log and the /legacy/minthcm.log directory. Let us know if you find any errors there.

@sktm01
Copy link
Author

sktm01 commented May 22, 2024

Hello, I also tried to reinstall everything, with no results and switched to OrangeHRM, but your application has potential. Tonight I will set up the machine again and configure it once again. If the problem persists, I will attach the logs.

@sktm01
Copy link
Author

sktm01 commented May 23, 2024

Hi,
After installing the latest version, I have the following errors in the browser and apache2 errors, unfortunately I cannot find the mintHCM logs in the /legacy/minthcm.log directory
2024-05-23_07h18_16
2024-05-23_07h18_22
2024-05-23_07h18_27
2024-05-23_07h18_30
2024-05-23_07h18_34
2024-05-23_07h18_43
2024-05-23_07h18_51
2024-05-23_07h20_30

@MintHCM-admin
Copy link
Collaborator

Please tell us which version of PHP you are using and what type of environment (CentOS, Ubuntu, etc.).

To enable the installation process, you need to set up the .htaccess file correctly. The index.php script does the following steps to help with installation:
Creates the .htaccess file.
Moves the index.html file.
Removes the index.php file.

You can follow the same steps manually.
For detailed instructions, check this file: https://github.com/minthcm/minthcm/blob/master/index.php

@sktm01
Copy link
Author

sktm01 commented May 23, 2024

I use PHP 7.4 on linux ubuntu.
Can you send me sample file .htaccess :)

@MintHCM-admin
Copy link
Collaborator

Options +SymLinksIfOwnerMatch RewriteEngine On

RewriteRule ^api/(.*?)$ install/index.php [L]

RewriteRule ^assets/(.*?)$ assets/$1 [L]
RewriteRule ^favicon.ico$ favicon.ico [L]
RewriteRule ^bg.jpg$ bg.jpg [L]

PHP 7.4 should also work, but we've upgraded Mint to PHP 8.0, so you could try with that.

@sktm01 sktm01 closed this as completed May 26, 2024
@sktm01
Copy link
Author

sktm01 commented Jul 25, 2024

Hi, I went back to the project to reinstall it, but the problem is exactly the same.
Everything was done according to the instructions: https://minthcm.org/support/minthcm-installation-guide/
the .htaccess file has been created.

I was never asked to provide db data or set an admin login and password.

Below are the versions:
php: 8.0.3
os: Ubuntu 20.04.6 LTS
apache2: Apache/2.4.41
db: mysql Ver 8.0.37
2024-07-25_12h39_27

@sktm01 sktm01 reopened this Jul 25, 2024
@sktm01
Copy link
Author

sktm01 commented Jul 25, 2024

However, I managed to do everything, but I can't run elasticsearch.

@MintHCM-admin
Copy link
Collaborator

Are you saying that you did not fill in the database access details during the installation process because the installer did not ask for them? You wrote, "I managed to do everything, but I can't run Elasticsearch." So, I assume you entered the database information and the password for the admin user.

To be sure, can you confirm that your database exists and contains tables like users, candidates, meetings, etc.? Elasticsearch is not necessary for logging in.

Are you still encountering errors like “Error with Permissions-Policy header”? I suppose this error might be caused by one of your browser plugins. Can you try logging into Mint using a browser without plugins?

If possible, allowing us to check your MintHCM instance would be very helpful.

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

2 participants