We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36562
    • 94 Posts
    Been tinkering around with this now and i don't seem to get it to work. And i am not too familiar with nginx either which doesn't help.

    I get to the setup screen and everything works fine until this screen : http://modx.app/setup/index.php?action=install

    After i click next the URL changes to http://modx.app/setup/index.php?action=complete and i get a 500 modx error.

    This indicates that there might be permission issues. So i verified that folders are 755 and files are 644. But can't get it to work.

    Does any one have any advice?
      --------------------------------------
      www.williamastrom.se
      • 36562
      • 94 Posts
      From the nginx log:

      2016/04/13 08:51:49 [error] 25683#25683: *365 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: primary in /home/vagrant/Code/modx.dev/public/core/xpdo/om/mysql/xpdomanager.class.php on line 462
      PHP message: PHP Notice: Undefined index: unique in /home/vagrant/Code/modx.dev/public/core/xpdo/om/mysql/xpdomanager.class.php on line 462" while reading response header from upstream, client: 192.168.10.1, server: modx.app, request: "GET /setup/index.php?action=install HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host: "modx.app", referrer: "http://modx.app/setup/index.php?action=summary"
        --------------------------------------
        www.williamastrom.se
        • 44195
        • 293 Posts
        I develop using MODX and Scotch-Box without any dramas if that helps...
        https://box.scotch.io/
          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
          • 36562
          • 94 Posts
          Thanks Murray,

          Unfortunately i am out to get it to work with Homestead because it would be a cleaner setup of my local stuff. But thanks anyway.

          By the way, there is also this box you can use: https://github.com/silentworks/modx-devops
            --------------------------------------
            www.williamastrom.se
            • 42892
            • 44 Posts
            I just started to build up my own Vagrant setup. It sets you up easily with ubuntu 16.04 xenial, apache2, mysql, php7, phpmyadmin and of course with modx 2.5.1.

            Check it out to get an impression, it's super easy wink
            https://github.com/tjventurini/modxvm