We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 721
    • 26 Posts
    Hello!
    I can’t install any packages.
    Folders exists, but they empty.
    Whats wrong?
    Thanks!

    [2010-02-21 22:22:22] (ERROR @ /connectors/workspace/packages.php) Could not unpack package /www/docs/core/packages/formit-1.0-rc1.transport.zip to /www/docs/core/packages/. SIG:
    [2010-02-21 22:22:22] (ERROR @ /connectors/workspace/packages.php) Could not unpack package /www/docs/core/packages/gallery-0.1-alpha2.transport.zip to /www/docs/core/packages/. SIG:
    [2010-02-21 22:22:35] (ERROR @ /connectors/workspace/packages.php) Could not unpack package /www/docs/core/packages/ditto-3.0-alpha2.transport.zip to /www/docs/core/packages/. SIG:
    [2010-02-21 22:22:35] (ERROR @ /connectors/workspace/packages.php) Could not unpack package /www/docs/core/packages/formit-1.0-rc1.transport.zip to /www/docs/core/packages/. SIG:
    [2010-02-21 22:22:35] (ERROR @ /connectors/workspace/packages.php) Could not unpack package /www/docs/core/packages/gallery-0.1-alpha2.transport.zip to /www/docs/core/packages/. SIG:





    -rw-r--r-- 1 www-data www-data 23106 Фев 21 22:25 breadcrumbs-1.1-beta3.transport.zip
    -rw-r--r-- 1 www-data www-data 32036 Фев 21 22:29 clarity-1.0-rc1.transport.zip
    drwxr-xr-x 19 www-data www-data 4096 Фев 21 16:32 core
    -rw-r--r-- 1 www-data www-data 4669719 Дек 15 10:06 core.transport.zip
    -rw-r--r-- 1 www-data www-data 168668 Фев 21 22:22 ditto-3.0-alpha2.transport.zip
    drwxr-xr-x 4 www-data www-data 61 Фев 22 01:55 firstchildredirect-2.2-beta2
    -rw-r--r-- 1 www-data www-data 19131 Фев 21 22:25 firstchildredirect-2.2-beta2.transport.zip
    drwxr-xr-x 2 www-data www-data 6 Фев 22 01:50 formit-1.0-rc1
    -rw-r--r-- 1 www-data www-data 34249 Фев 21 22:22 formit-1.0-rc1.transport.zip
    -rw-r--r-- 1 www-data www-data 406157 Фев 21 22:21 gallery-0.1-alpha2.transport.zip
    drwxr-xr-x 2 www-data www-data 6 Фев 22 01:50 getresources-1.0.0-ga
    -rw-r--r-- 1 www-data www-data 23428 Фев 21 22:22 getresources-1.0.0-ga.transport.zip
    drwxr-xr-x 2 www-data www-data 6 Фев 22 01:50 googlesitemap-1.1-beta1
    -rw-r--r-- 1 www-data www-data 21469 Фев 21 22:24 googlesitemap-1.1-beta1.transport.zip
    -rw-r--r-- 1 www-data www-data 17967 Фев 21 22:27 if-1.0-rc1.transport.zip
    -rw-r--r-- 1 www-data www-data 69 Авг 1 2007 index.html
    -rw-r--r-- 1 www-data www-data 57677 Фев 21 22:26 login-1.0-rc2.transport.zip
    drwxr-xr-x 2 www-data www-data 6 Фев 22 01:50 starrating-2.0-beta2
    -rw-r--r-- 1 www-data www-data 15776 Фев 21 22:23 starrating-2.0-beta2.transport.zip
    drwxr-xr-x 2 www-data www-data 6 Фев 22 01:50 tinymce-3.2.7.0-beta4
    -rw-r--r-- 1 www-data www-data 757291 Фев 21 22:24 tinymce-3.2.7.0-beta4.transport.zip
    drwxr-xr-x 2 www-data www-data 6 Фев 22 01:50 ultimateparent-1.4-beta2
    -rw-r--r-- 1 www-data www-data 4581 Фев 21 22:25 ultimateparent-1.4-beta2.transport.zip
    -rw-r--r-- 1 www-data www-data 89072 Фев 21 22:25 wayfinder-2.1.1-beta4.transport.zip

      • 3749
      • 24,544 Posts
      Make sure your /www/docs/core/packages/ dir is writable.
        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
        • 721
        • 26 Posts
        folder is writable
        drwxr-xr-x 10 www-data www-data 4096 Фев 22 01:50 package

        and for example

        drwxr-xr-x 4 www-data www-data 61 Фев 22 01:55 firstchildredirect-2.2-beta2
        -rw-r--r-- 1 www-data www-data 19131 Фев 21 22:25 firstchildredirect-2.2-beta2.transport.zip

        firstchildredirect-2.2-beta2 - this folder create MODx from archive, not me


        phpinfo()
        PHP Version => 5.2.11-2

          • 22303 MODX Staff
          • 10,725 Posts
          Quote from: aix at Feb 22, 2010, 03:21 AM

          folder is writable
          drwxr-xr-x 10 www-data www-data 4096 Фев 22 01:50 package
          The folder is called packages (with an s). It’s not clear at all why it can write the folder but not extract the files. What version and distribution are you using?
            • 721
            • 26 Posts

            The folder is called packages (with an s).

            this is my copy/paste error
            on server folder is packages


            i also change DOCUMENT_ROOT to: chmod -R 777
            and i think all folders must is writeable

            when i try click to INSTALL button from admin managers zone, have got meassage PACKAGE NOT FOUND
            and this message for all packages

            after i looked to logfile and create this post



            i use beta 5
              • 3749
              • 24,544 Posts
              When you retrieve packages from the repository (and they show up in the Package Manager grid), they should be visible in the core/packages directory. See if they are there and what the permissions are for that directory.
                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
                • 721
                • 26 Posts
                  • 22303 MODX Staff
                  • 10,725 Posts
                  Do you have either the zip extension enabled or the zlib extension on your php configuration? For some reason the zip extraction seems to be failing after creating the directory.

                  There should be some errors in the core/cache/logs/*.log files (error.log and some others should exist starting with install.
                    • 721
                    • 26 Posts
                    yes, zip and zlib extension is enable:

                    zip
                    Zip enabled
                    Extension Version $Id: php_zip.c 287723 2009-08-26 02:16:41Z guenter $
                    Zip version 1.8.11
                    Libzip version 0.9.0

                    zlib
                    ZLib Support enabled
                    Stream Wrapper support compress.zlib://
                    Stream Filter support zlib.inflate, zlib.deflate
                    Compiled Version 1.2.1.1
                    Linked Version 1.2.3.3


                    errors from this file i paste in my first message:
                    [2010-02-26 19:20:56] (ERROR @ /connectors/workspace/packages.php) Could not unpack package /www/xxx/docs/core/packages/gallery-0.1-alpha2.transport.zip to /www/xxx/docs/core/packages/. SIG:

                    but i don’t know - why????


                      • 28215
                      • 4,149 Posts
                      Are you sure your web server and PHP has the permissions to create directories in that folder?
                        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com