We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 53234
    • 3 Posts
    Greetings, community! Please, help MODX newbie to resolve unusual issue.
    I made clean VM Virtualbox installation of Ubuntu server 16.04.1 with LEMP. Full update. LEMP config made using this man https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-in-ubuntu-16-04.
    After that, creation of database in mysql:
    CREATE DATABASE modx DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
    CREATE USER modx@localhost IDENTIFIED BY '******';
    GRANT ALL PRIVILEGES ON modx.* TO modx@localhost;
    flush privileges;
    

    Then
    wget https://modx.com/download/direct?id=modx-2.5.5-pl.zip
    unzip direct?id=modx-2.5.5-pl.zip
    cp -r direct?id=modx-2.5.5-pl/* /var/www/modx
    nano /var/www/modx/core/config/config.inc.php
    chown -R www-data:www-data /var/www/modx
    chmod -R 777 /var/www/modx
    

    So, it's very basic server config to start modx.
    Finally, I run setup and successfully pass MODX installation steps without any errors (images attached).
    But. Because this was not first attempt and had different issues previously, I checked installation log file in /var/www/modx/core/cache/logs/install.config.2017-02-15T16.32.13.log
    And there it is
    [2017-02-15 16:32:14] (ERROR @ /var/www/modx/core/xpdo/transport/xpdoobjectvehicle.class.php : 227) Could not copy /var/www/modx/core/packages/core/modContext/0f1d07e326a66e5d5dc0fd03577a74bf/0/ to /var/www/modx/index.php
    [2017-02-15 16:32:14] (ERROR @ /var/www/modx/core/xpdo/transport/xpdoobjectvehicle.class.php : 227) Could not copy /var/www/modx/core/packages/core/modContext/0f1d07e326a66e5d5dc0fd03577a74bf/1/ to /var/www/modx/ht.access
    [2017-02-15 16:32:14] (ERROR @ /var/www/modx/core/xpdo/transport/xpdoobjectvehicle.class.php : 227) Could not copy /var/www/modx/core/packages/core/modContext/334fb36c4a91cc03578b6a02b912e717/0/ to /var/www/modx/manager/assets
    [2017-02-15 16:32:14] (ERROR @ /var/www/modx/core/xpdo/transport/xpdoobjectvehicle.class.php : 227) Could not copy /var/www/modx/core/packages/core/modContext/334fb36c4a91cc03578b6a02b912e717/1/ to /var/www/modx/manager/controllers
    [2017-02-15 16:32:14] (ERROR @ /var/www/modx/core/xpdo/transport/xpdoobjectvehicle.class.php : 227) Could not copy /var/www/modx/core/packages/core/modContext/334fb36c4a91cc03578b6a02b912e717/2/ to /var/www/modx/manager/templates
    [2017-02-15 16:32:14] (ERROR @ /var/www/modx/core/xpdo/transport/xpdoobjectvehicle.class.php : 227) Could not copy /var/www/modx/core/packages/core/modContext/334fb36c4a91cc03578b6a02b912e717/3/ to /var/www/modx/manager/min
    [2017-02-15 16:32:14] (ERROR @ /var/www/modx/core/xpdo/transport/xpdoobjectvehicle.class.php : 227) Could not copy /var/www/modx/core/packages/core/modContext/334fb36c4a91cc03578b6a02b912e717/4/ to /var/www/modx/manager/ht.access
    [2017-02-15 16:32:14] (ERROR @ /var/www/modx/core/xpdo/transport/xpdoobjectvehicle.class.php : 227) Could not copy /var/www/modx/core/packages/core/modContext/334fb36c4a91cc03578b6a02b912e717/5/ to /var/www/modx/manager/index.php
    [2017-02-15 16:32:14] (ERROR @ /var/www/modx/core/xpdo/transport/xpdofilevehicle.class.php : 40) Could not install files from /var/www/modx/core/packages/core/xPDOFileVehicle/43791ccb20dfeb232b1676f6a4ed2a79/ to /var/www/modx/connectors/
    [2017-02-15 16:32:14] (ERROR @ /var/www/modx/core/xpdo/transport/xpdofilevehicle.class.php : 40) Could not install files from /var/www/modx/core/packages/core/xPDOFileVehicle/366c44609ce38a5d983f19c61789a9aa/ to /var/www/modx/connectors/
    [2017-02-15 16:32:14] (ERROR @ /var/www/modx/core/xpdo/transport/xpdofilevehicle.class.php : 40) Could not install files from /var/www/modx/core/packages/core/xPDOFileVehicle/e3dd8c18189007fd441e2fe3a17b8aea/ to /var/www/modx/connectors/
    [2017-02-15 16:32:14] (ERROR @ /var/www/modx/core/xpdo/transport/xpdofilevehicle.class.php : 40) Could not install files from /var/www/modx/core/packages/core/xPDOFileVehicle/670c1945258cbc8f99968b4db51b3a1a/ to /var/www/modx/connectors/
    

    No errors in nginx and mysql logs.
    So, I have no idea what's wrong and what to do with this error, thus installation looks like successfully completed! I tried to make different changes in config (permissions, db charset and collation etc) but same result.
    I afraid of unexpected bugs and errors in future development related to this issue.
    ---
    UPD: Tried 2.5.4 instead of 2.5.5, same errors... [ed. note: radix0 last edited this post 7 years, 1 month ago.]
      • 22840
      • 1,572 Posts
        • 53234
        • 3 Posts
        Quote from: paulp at Feb 15, 2017, 05:48 PM
        This might help

        https://www.digitalocean.com/community/tutorials/how-to-install-modx-on-a-vps-running-ubuntu-12-04
        Thanks, Paulp. But I read this article before. It's for php5 and apache, I'm with nginx and php7.0. I added 'date.timezone' value in php.ini, tried different files permissions but no changes in result. Problem still persists.
          • 53637
          • 1 Posts
          Hi, radix0, did you solve this issue?
            • 44195
            • 293 Posts
            Hi! I know this post is old but looks like you've got permission problems on your server judging by those errors.
              I'm lead developer at Digital Penguin Creative Studio in Hong Kong. https://www.digitalpenguin.hk
              Check out the MODX tutorial series on my blog at https://www.hkwebdeveloper.com