peteres

Forum Replies Created

  • Author
    Posts
  • 27/02/2025 at 13:23 #2838

    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 year, 8 months ago by peteres.
    27/02/2025 at 12:55 #2837

    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

    27/02/2025 at 11:51 #2836

    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.