Giter VIP home page Giter VIP logo

Comments (6)

roele avatar roele commented on July 18, 2024 1

Running the command outside of gitify reveals the issue...

  ❯ php -d date.timezone=Europe/Zurich setup/index.php --installmode=new --config=config.xml --core_path=core/
MODX Setup cannot continue.
MODX requires the PHP gd extension Your PHP configuration at version 8.3.3 does not appear to have this extension enabled.

from gitify.

Mark-H avatar Mark-H commented on July 18, 2024

If you look inside the core/cache/logs directory of your container, that should have a setup log that might explain why the installation is failing.

My guess is that it's not related to Gitify but perhaps MODX can't get to the database or there's some file permission issue preventing it.

from gitify.

roele avatar roele commented on July 18, 2024

In my case core/cache is empty, so does not even get that far. Also argument -vvv does not seem to work either and just prints the usage.

from gitify.

Mark-H avatar Mark-H commented on July 18, 2024

So it can't even write the setup log? That would definitely be an error condition.

from gitify.

roele avatar roele commented on July 18, 2024

Crawling to the code i found that modx:install should create a config.xml file which is not there, hence no setup.
Seems file is getting removed (also in the error case) that is not the cause.

from gitify.

roele avatar roele commented on July 18, 2024

Ran into further issues using the latest MariaDB which seems to conflict with PHP DB driver charset values. So i downgraded to version 11.2.

[2024-02-21 21:38:07] (ERROR in xPDO\xPDOConnection::connect @ /var/www/html/core/vendor/xpdo/xpdo/src/xPDO/xPDOConnection.php : 89) SQLSTATE[HY000] [2054] Server sent charset (0) unknown to the client. Please, report to the developers
[2024-02-21 21:38:07] (ERROR in xPDO\xPDOConnection::connect @ /var/www/html/core/vendor/xpdo/xpdo/src/xPDO/xPDOConnection.php : 89) SQLSTATE[HY000] [2054] Server sent charset (0) unknown to the client. Please, report to the developers
[2024-02-21 21:38:07] (ERROR in xPDO\xPDO::getValue @ /var/www/html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 1117) No valid PDOStatement provided to getValue
[2024-02-21 21:38:07] (ERROR in xPDO\xPDOConnection::connect @ /var/www/html/core/vendor/xpdo/xpdo/src/xPDO/xPDOConnection.php : 89) SQLSTATE[HY000] [2054] Server sent charset (0) unknown to the client. Please, report to the developers
[2024-02-21 21:38:07] (ERROR @ /var/www/html/setup/includes/request/modinstallclirequest.class.php : 289) Could not connect to database server: SQLSTATE[HY000] [2054] Server sent charset (0) unknown to the client. Please, report to the developers

also see https://stackoverflow.com/questions/78036671/mariadb-11-3-2-php-server-sent-charset-0-unknown-to-the-client-please-rep

from gitify.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.