I used the docker-compose file available in the git repo.
When running ‘docker-compose up’ I am able to go the site and see the login screen showing LBL_MINT4_AUTH_LOGIN_TITLE, ERROR! LBL_MINT4_AUTH_LOGIN_ERROR
After examining the docker logs I noticed the installation has failed.
First error:
At installing system core I see the error “chmod: cannot read directory ‘./legacy’: Permission denied”
followed by a HTML page.
The installation continues and after Setting Up file permissions is see the same error.
At the Reindexing Elastic stage i get a bunch of PHP warnings, followed by a fatal php error:
PHP Fatal error: Uncaught Error: Call to a member function convert() on null in /var/www/MintHCM/legacy/modules/OAuth2Tokens/OAuth2Tokens.php:134
Error: MintHCM installation failed – please check logs
This topic was modified 1 week, 3 days ago by peteres.
This topic was modified 1 week, 3 days ago by peteres.
I took a look at the repo and noticed the docker installation always pulls the latest code from github.
Maybe it is better to start using release branches and configure the docker setup in such a way you can specify which version you want to install.
That way if the master branch is failing for some reason, you’re always able to go ahead and install a previous version.
PHP Fatal error: Uncaught Error: Call to a member function convert() on null in /var/www/MintHCM/legacy/modules/OAuth2Tokens/OAuth2Tokens.php:134
after some digging around if found out this error occurs because the $db is null indicating the database is not connected.
I mentioned there is a html page in the install log, indeed asking for a database name.
I have a DB_NAME in my .env file and the content of that var also ends up in configMint4 file. I wonder why this is not used by the installer
Finally found the issue: Database connection could not be made..
However, this means the install command is buggy and should have stopped at the database connection step. It didnt detect the database/database server wasnt available
This reply was modified 1 week, 3 days ago by peteres.
That’s strange — I installed it twice yesterday using Docker for Windows without any issues. The installation completed successfully both times. I agree that the process should have stopped earlier if something was wrong, but I’m not sure why the database connection failed.
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Cookie settingsRead MoreACCEPT
Privacy & Cookies Policy
Privacy Overview
This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.