We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11798
    • 43 Posts
    Good morning,

    today, I tried to install the gallery package into an existing installation, that has been moved to a new webspace a while ago.
    This is not a server, so unfortunately, I cannot check the server logs.

    The weird thing is: I can find the transport package inside the packages folder, but when I click "view details" the fields are empty.
    (Readme, Licencse...)
    Installation doesn't work either. I tried some of the fixes I could find here on the forum. But none worked so far:

    View-Details: Empty Fields

    MODX-Version: MODX Revolution 2.2.4-pl (traditional)
    PHP Version: 5.3.8
    Database type / version: mysql / 5.0.91-log

    allow_url_fopen: On
    magic_quotes_gpc: Off
    safe_mode: Off
    safe_mode_gid: Off

    Force PCLZip Archives: set to "Yes"

    exists in folder:
    /core/packages/gallery-1.5.2-pl.transport.zip

    rights set to:
    core: 777
    packages: 777

    installation message:

    Console running...
    Attempting to install package with signature: gallery-1.5.2-pl
    Package found...now preparing to install.
    Target directory is either not a directory or writable: /core/packages/
    Could not transfer package gallery-1.5.2-pl.transport.zip to /core/packages/.
    Could not install package with signature: gallery-1.5.2-pl

    Any ideas would be hightly appreciated. Many thanks in advance. [ed. note: Hardoman last edited this post 13 years, 10 months ago.]
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      This is not a server, so unfortunately, I cannot check the server logs.
      That is quite impossible. You cannot have a website without a web server and a physical server with an OS for it to run on.

      Depending on the server configuration, 777 may not be allowed; it may need to be 755 or 775.
        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
        • 11798
        • 43 Posts
        Hi Susan,

        thanks for your reply. Of course, it's a web-server. I had better written, it's not my server just a webspace, so I have no root access and cannot check the local log-files.
        Thanks for your hint, regarding the rights. I just tried it with 775. But that did not change anything. 755 was the default after installation. I should prolly try to install the whole site again.

        Attachment: 'View Details' in the admin interface.



          • 10208 ☆ A M B ☆
          • 1,780 Posts
          This is what happened last time I moved a site. The packages moved properly, yet could not be reinstalled, or installed (if they weren't installed before).

          There's some kind of path that the package are looking for that they're not finding due to the move. The only way I found to fix it was to uninstall the packages, completely. Make sure the transport.zip file is gone from packages. Then download the package again, and reinstall. You'll have to do this for all installed packages since they won't update in the future.

          I wish I knew where the packages are looking for this path, so it could be set after a move.
            Frogabog- MODX Websites in Portland Oregon
            "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
            Having server issues? These guys have MODX Hosting perfected - SkyToaster
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            It could be in the database in its namespace settings. That needs to be fixed when running the setup script.
              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
              • 11798
              • 43 Posts
              Thanks for your hints! I'll check the namespace settings first. It would be nice, if I could avoid reinstalling the site that way.
                • 28042 ☆ A M B ☆
                • 24,524 Posts
                You don't need to reinstall the site, just the packages. If you need to do that, uninstall them, then remove them, then re-install them, all from Package Manager.
                  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
                  • 10208 ☆ A M B ☆
                  • 1,780 Posts
                  I never did find any namespace problems with the packages that were weird. Couple of sites did this to me. One was actually moved, and one was a db dump and fresh reinstall, then import the dumped db.
                    Frogabog- MODX Websites in Portland Oregon
                    "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
                    Having server issues? These guys have MODX Hosting perfected - SkyToaster
                    • 28042 ☆ A M B ☆
                    • 24,524 Posts
                    I've had it happen twice for no reason at all that I could discern; the extra just quit working until I completely removed it and re-installed it.
                      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
                      • 10208 ☆ A M B ☆
                      • 1,780 Posts
                      Only one extra? And no move or change prior? Interesting.

                      For me, all the previous packages in both installations were affected. Didn't matter if it was installed or not.

                      So far, uninstalling and reinstalling hasn't affected any prior settings. It takes a good deep clearing of the cache and manager reload to bring MIGX back properly, but everything else hasn't been an issue. I was a little worried about Articles, but it too pops back up with an accurate container and articles grid.
                        Frogabog- MODX Websites in Portland Oregon
                        "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
                        Having server issues? These guys have MODX Hosting perfected - SkyToaster