We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27704
    • 21 Posts
    Hello together,

    I'm facing a problem trying to install downloaded packages. Download of the packages is working fine, but the install process is not working. After clicking on the "Install"-button the console-window is opening and there is written "Console running..." and then nothing more happens. Even no error shows up.

    MODX Version: MODX Revolution 2.4.2-pl (traditional)
    PHP Version: 5.5.32
    Database Version: 10.0.24-MariaDB
    mySQL Version: mysqlnd 5.0.11-dev

    sql.safe_mode = off

    Meanwhile I tried different ways, that I found in the MODX-forums to solve my problem. No success anyway.


    1. check the entry in 'path' in the database table 'workspaces', which is: {core_path}
    2. set the system setting for 'archive_with' to "yes"
    3. change the rights in the packages folder: I set everything to 777

    All this didn't change anything.

    I suggest that there is a problem with the server configuration, because with another installation of the same MODX-version on another server I have no problems installing packages.

    But now I'm running out of ideas.

    Is anybody able to help? Thanks in advance!

    Smartsoul

    [ed. note: Smartsoul last edited this post 8 years ago.]
    • The downloaded package does show up in the core/packages/ directory, along with its unzipped folder? Does anything show up in the core/cache/logs/ error log, or the server's error logs?
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 27704
        • 21 Posts
        Thank you for your answer!

        The package is always in the core/packages/ folder and also the unzipped package-folder is in there.

        core/cache/logs/error.log is an empty file.

        The error report of the backend doesn't show anything.
        • If it were a permissions problem I would expect an error popup to say so, but you might want to double-check your group's assigned Policy, if you aren't an Administrator and Sudo user.

          Other than that, the only thing I can think of is a bad installation, you might want to try installing again in upgrade mode using the install.php script here https://github.com/sottwell/installer

          And delete the core/cache/ directory, and make sure your browser cache and cookies are cleared.
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 3749
            • 24,544 Posts
            I doubt if this is your problem, but try reloading the MODX page after downloading and before installing the package. Also, look in the Elements tree to see if anything was actually installed. Sometimes the console fails but the install is completed properly.

            It's also possible that it's an issue with one of your browser addons or a leftover browser cookie.
              Did I help you? Buy me a beer
              Get my Book: MODX:The Official Guide
              MODX info for everyone: http://bobsguides.com/modx.html
              My MODX Extras
              Bob's Guides is now hosted at A2 MODX Hosting
              • 27704
              • 21 Posts
              Quote from: sottwell at Mar 16, 2016, 05:36 PM
              ... but you might want to double-check your group's assigned Policy, if you aren't an Administrator and Sudo user.
              I'm Administrator of the web.

              Quote from: sottwell at Mar 16, 2016, 05:36 PM
              And delete the core/cache/ directory, ...
              Delete the cache Folder or only all subfolders and files inside?
                • 27704
                • 21 Posts
                Thank you for the answer.
                Quote from: BobRay at Mar 16, 2016, 07:05 PM
                I doubt if this is your problem, but try reloading the MODX page after downloading and before installing the package. Also, look in the Elements tree to see if anything was actually installed. Sometimes the console fails but the install is completed properly.
                I did all this, but no effect.
                Quote from: BobRay at Mar 16, 2016, 07:05 PM
                It's also possible that it's an issue with one of your browser addons or a leftover browser cookie.
                I cleared all cookies and the browser cache as well. No effect either.

                ???

                  • 27704
                  • 21 Posts
                  Some additional information ...

                  Yesterday I forgot to tell, that when I'm clicking on "Install" in the Package Administration, I'm coming to a page where normally you can find details of the package like e.g. 'Changelog' etc., but here I only have an entry in the field for 'License' The others are empty.

                  And ...
                  When I'm deleting the package via "Package Administration" the console is working fine.

                  Only when I'm trying to install any package the console window opens and stops showing "Console running ..."
                    • 3749
                    • 24,544 Posts
                    Have you tried disabling the browser addons or using another browser?

                    Is there anything useful in the MODX Error log?
                      Did I help you? Buy me a beer
                      Get my Book: MODX:The Official Guide
                      MODX info for everyone: http://bobsguides.com/modx.html
                      My MODX Extras
                      Bob's Guides is now hosted at A2 MODX Hosting
                      • 27704
                      • 21 Posts
                      Quote from: BobRay at Mar 17, 2016, 07:19 PM
                      Have you tried disabling the browser addons or using another browser?

                      Is there anything useful in the MODX Error log?

                      Thanks for the advice. I was thinking of that and forgot it again during the day.

                      Normally I'm using Firefox and now I opened the manager in IE and there I got an error in the console ...
                      Syntax error:
                      Forbidden
                      You don't have permission to access /_modx/connectors/index.php on this server.
                      Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

                      The rights of /_modx/connectors/index.php is set to 0644.