LBL_MINT4_AUTH_LOGIN_TITLE / Installation Error

Home Forums Installing MintHCM LBL_MINT4_AUTH_LOGIN_TITLE / Installation Error

Tagged: 

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #2418
    ksarg
    Participant

    Hi All,

    I’ve on attempt 3 now and I’m not sure where to look. I am trying to install version 4.0.2 on Ubuntu Server.

    I’m using:

    Server version: Apache/2.4.41 (Ubuntu)
    MySQL Ver 15.1 Distrib 10.3.39-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
    PHP 7.4.3-4ubuntu2.20 (cli) (built: Feb 21 2024 13:54:34) ( NTS )
    Elasticsearch version: 7.17.19

    Every time I install, the tables are created, all system checks are green, I set the permissions for www user to access the directory and when I go to load the login page, this is the first error on the Network log:

    Request URL:
    https://fiscalbridgepartners.info/hrm/api/init
    Request Method:
    GET
    Status Code:
    500 Internal Server Error
    Remote Address:
    95.217.159.100:443
    Referrer Policy:
    strict-origin-when-cross-origin

    I can see in a previous blog that there were discussions over this and an update was made in an earlier version to fix the bug but there was no solid solution on how to solve.

    Anyone able to help?

    #2436

    Have you checked your PHP error logs? They might shed some light on what’s causing the problem. Once you have that information, it’ll be easier for the community to help troubleshoot and find a solution.

    #2533
    julfrianus sitepujulfrianus sitepu
    Participant

    i have the same problem (i think)

    Apahce/2.4.52
    MySQL 8.0.36-0ubuntu0.22.04.1 for Linux on x86_64
    PHP 8.0.30
    Elasticsearch 8.13.4

    root@ubuntu-server:~# sudo tail -f /var/log/apache2/error.log
    [Sat May 25 09:52:24.633175 2024] [core:notice] [pid 19593] AH00094: Command line: ‘/usr/sbin/apache2’
    [Sat May 25 09:53:15.086678 2024] [mpm_prefork:notice] [pid 19593] AH00170: caught SIGWINCH, shutting down gracefully
    [Sat May 25 09:53:15.158820 2024] [mpm_prefork:notice] [pid 19612] AH00163: Apache/2.4.52 (Ubuntu) configured — resuming normal operations
    [Sat May 25 09:53:15.158866 2024] [core:notice] [pid 19612] AH00094: Command line: ‘/usr/sbin/apache2’
    [Sat May 25 09:54:28.093671 2024] [mpm_prefork:notice] [pid 19612] AH00170: caught SIGWINCH, shutting down gracefully
    [Sat May 25 09:54:28.163922 2024] [mpm_prefork:notice] [pid 19638] AH00163: Apache/2.4.52 (Ubuntu) configured — resuming normal operations
    [Sat May 25 09:54:28.163999 2024] [core:notice] [pid 19638] AH00094: Command line: ‘/usr/sbin/apache2’
    [Sat May 25 10:11:41.624066 2024] [mpm_prefork:notice] [pid 19638] AH00170: caught SIGWINCH, shutting down gracefully
    [Sat May 25 10:12:00.736620 2024] [mpm_prefork:notice] [pid 891] AH00163: Apache/2.4.52 (Ubuntu) configured — resuming normal operations
    [Sat May 25 10:12:00.756921 2024] [core:notice] [pid 891] AH00094: Command line: ‘/usr/sbin/apache2’

    mintHCM
    this link will bring you to picture i capture after trying to access mintHCM first time

    I hope this information can help you to figure out your problem

    #2546

    Hello! Have you followed the installation guide? You can find it here: https://minthcm.org/support/minthcm-installation-guide/
    Also, please check the log files of minthcm, PHP, and database. Do you see any errors there?

    Remember, that 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

    #2547
    julfrianus sitepujulfrianus sitepu
    Participant

    Hi Michal, I’ll try according to your guide & give you an update as soon as possible

    #2694
    RobinDev03
    Participant

    Hey,

    I’ve the same issue. The installation process worked without any errors. When I try to log in with the Admin-Account, I get an error: “ERROR! LBL_MINT4_AUTH_LOGIN_ERROR”. After checking the browser console, I saw, that the api-Route “api/login” returns a 500-Error-Code.
    MariaDB and ElasticSearch are reachable.

    Regards
    Robin Wolff

    #2696

    Hello Robin,

    Could you please provide us with details about your PHP, MySQL, Elasticsearch, and Apache environment? Additionally, could you check your php.log and minthcm.log files and share any errors you may find?

    #2721
    Shahmir AliShahmir Ali
    Participant

    Hey,

    I’ve the same issue. The installation process was working fine until Reindexing ElasticSearch then it popped up with an “ERROR” stating installation has finished instead of the “SUCCESS” i’m supposed to be seeing. When I try to log in with the Admin-Account, I get an error: “ERROR! LBL_MINT4_AUTH_LOGIN_ERROR”. After checking the browser console,the error i saw was related install/assets/status.json file

    #2727

    Hi Shahmir!
    Can you check if you’re using the correct version of Elasticsearch? Also, did the records get indexed properly?

    It looks like something might have gone wrong with Elasticsearch, since the installer reached the record indexing step, which is the last part of the installation.

    #2739
    Anonymous
    Inactive

    Hello Michal.

    I ran this using the Docker-Compose file. This didn’t require utilizing separate components; this was your own Dockerfile. And the exact same error message appeared as everyone above each and every time I attempted install via Docker Compose:

    “ERROR! LBL_MINT4_AUTH_LOGIN_ERROR”

    I had edited the .env file with updated User and Pass components, but I was unable to login. And when I looked at my Docker logs, apparently the Docker installation was failing from the get-go anyway:

    #12 /var/www/MintHCM/legacy/MintCLI/vendor/symfony/console/Application.php(301): Symfony\Component\Console\Application->doRunCommand()
    #13 /var/www/MintHCM/legacy/MintCLI/vendor/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun()
    #14 /var/www/MintHCM/MintCLI(12): Symfony\Component\Console\Application->run()
    #15 {main}
      thrown in /var/www/MintHCM/legacy/modules/OAuth2Tokens/OAuth2Tokens.php on line 134
    
    Fatal error: Uncaught Error: Call to a member function convert() on null in /var/www/MintHCM/legacy/modules/OAuth2Tokens/OAuth2Tokens.php:134
    Stack trace:
    #0 /var/www/MintHCM/legacy/modules/OAuth2Tokens/metadata/SearchFields.php(67): OAuth2Tokens::getNowDateString()
    #1 /var/www/MintHCM/legacy/lib/Search/SearchModules.php(244): require('...')
    #2 /var/www/MintHCM/legacy/lib/Search/SearchModules.php(328): SuiteCRM\Search\SearchModules::buildCache()
    #3 /var/www/MintHCM/legacy/lib/Search/SearchModules.php(92): SuiteCRM\Search\SearchModules::getAllModules()
    #4 /var/www/MintHCM/legacy/lib/Search/SearchWrapper.php(185): SuiteCRM\Search\SearchModules::getEnabledModules()
    #5 /var/www/MintHCM/legacy/lib/Search/Index/AbstractIndexer.php(86): SuiteCRM\Search\SearchWrapper::getModules()
    #6 /var/www/MintHCM/legacy/lib/Search/ElasticSearch/ElasticSearchIndexer.php(95): SuiteCRM\Search\Index\AbstractIndexer->__construct()
    #7 /var/www/MintHCM/legacy/MintCLI/src/Services/ElasticsearchService.php(39): SuiteCRM\Search\ElasticSearch\ElasticSearchIndexer->__construct()
    #8 /var/www/MintHCM/legacy/MintCLI/src/Installer/Installer.php(124): MintHCM\MintCLI\Services\ElasticsearchService->reindexElastic()
    #9 /var/www/MintHCM/legacy/MintCLI/src/Commands/Install.php(94): MintHCM\MintCLI\Installer\Installer->reindexElastic()
    #10 /var/www/MintHCM/legacy/MintCLI/vendor/symfony/console/Command/Command.php(298): MintHCM\MintCLI\Commands\Install->execute()
    #11 /var/www/MintHCM/legacy/MintCLI/vendor/symfony/console/Application.php(1040): Symfony\Component\Console\Command\Command->run()
    #12 /var/www/MintHCM/legacy/MintCLI/vendor/symfony/console/Application.php(301): Symfony\Component\Console\Application->doRunCommand()
    #13 /var/www/MintHCM/legacy/MintCLI/vendor/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun()
    #14 /var/www/MintHCM/MintCLI(12): Symfony\Component\Console\Application->run()
    #15 {main}
      thrown in /var/www/MintHCM/legacy/modules/OAuth2Tokens/OAuth2Tokens.php on line 134
    <strong>Error: MintHCM installation failed - please check logs</strong>

    I’ll put the relevant logs in a Pastebin for you:

    https://pastebin.com/8ekaR0JP
    https://pastebin.com/juxCvKhf
    https://pastebin.com/K9yLhHiJ

    #2729
    aMMgYrP
    Participant

    Hi, hoping to add my voice here as I believe that I have the same issue.
    I successfully completed install by forcing the install script using #/install, but after a successful install the #/auth/login page presents with “bugged” LBL_MINT4_AUTH_LOGIN_TITLE login window.

    I am running
    Ubuntu 24.04 LTS
    MariaDB 10.11.8
    ElasticSearch 7.9.3
    PHP 8.0.30

    My access.log looks fairly normal, but my error log has repeating errors pointing to SugarBean.php

    [Mon Oct 07 20:52:03.169880 2024] [php:warn] [pid 27458] [client 192.168.13.16:49865] PHP Warning: Undefined array key “module” in /var/www/html/minthcm-4.0.6/legacy/data/SugarBean.php on line 554, referer: http://hr.foo.net/
    [Mon Oct 07 20:52:03.169895 2024] [php:warn] [pid 27458] [client 192.168.13.16:49865] PHP Warning: Undefined array key “record” in /var/www/html/minthcm-4.0.6/legacy/data/SugarBean.php on line 555, referer: http://hr.foo.net/

    #2728
    aMMgYrP
    Participant

    I think I’ve run into the same issue:

    Ubuntu 24.04 LTS
    PHP 8.0.30
    ElasticSearch 7.9.3
    SQL 10.11.8-MariaDB

    I managed to get through the installation process, but now whenever I attempt to login as admin I get to the same “bugged” LBL_MINT4_AUTH_LOGIN_TITLE login screen.

    Php logs show this:

    [Mon Oct 07 20:43:35.054116 2024] [php:warn] [pid 27461] [client 192.168.13.16:49419] PHP Warning: Undefined array key “module” in /var/www/html/minthcm-4.0.6/legacy/data/SugarBean.php on line 554, referer: http://server.url/
    [Mon Oct 07 20:43:35.054120 2024] [php:warn] [pid 27461] [client 192.168.13.16:49419] PHP Warning: Undefined array key “record” in /var/www/html/minthcm-4.0.6/legacy/data/SugarBean.php on line 555, referer: http://server.url/

    #2768

    Hello! I need to ask a few questions to help me troubleshoot this issue:

    Are you using the latest version of Docker?
    Did you follow the instructions carefully?
    Did you change anything in docker-compose.yml besides the login and password?

    In the web logs, I see an issue with operations on files in the tmp directory—perhaps the web user doesn’t have the necessary permissions in this environment?

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.