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

    I tried to create snapshots of a few websites on my vps via ssh and i get this error:
    Error extracting package, could not pack transport
    



    Running vapor through http works (for small websites).

    I am accessing the ssh as root so I don't think this could be a permissions issue.

    Anyone knows what could cause this error?

    This question has been answered by opengeek. See the first response.

    [ed. note: nir-z last edited this post 10 years, 9 months ago.]
    • Are you logged in to the 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
        • 36996
        • 211 Posts
        I tried both logged in and out, and I am getting the same error.
        The modx version of the websites I tried to snapshot is 2.2.6.
          • 36996
          • 211 Posts
          So, looking at the vapor.php file, the error seems to originate from here:
          if (!$package->pack()) {
                  $message = "Error extracting package, could not pack transport: {$package->signature}";
                  $modx->log(modX::LOG_LEVEL_ERROR, $message);
                  echo "{$message}\n";
              } 
          


          Which I think means that the pack method is not working.
          Any ideas?


          I should also mention that package management and installing any version of revo works with no problems on this vps.

          OS: centos 6
          php version: 5.3.3
          mysql version: 5.1.69
          Zip version: 1.9.1
          Libzip version: 0.9.0

          modx packages installed: CodeMirror, FormIt, FormSave, Login, Migx, PhpThumbsUp, Redirector, TinyMce, UltimateParent and Wayfinder. [ed. note: nir-z last edited this post 10 years, 9 months ago.]
          • Any errors in your PHP error log?
              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
              • 36996
              • 211 Posts
              Thanks for helping smiley

              No relevant errors on the php error log or the modx error log.
              • All I can suggest is trying it on a smaller installation; perhaps remove some of the packages and any directories full of images, move the images over manually and re-install the packages if that works. Maybe it's taking up more memory that the server allows? Although that should cause an error in the logs, I would think.
                  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
                  • 36996
                  • 211 Posts
                  Thanks, I'll try your suggestions.
                    • 36996
                    • 211 Posts
                    The weird thing about this is that I get:

                    Error extracting package, could not pack transport: mydomain.com-130725.1623.04-2.2.6-pl
                    Vapor execution completed without exception in 4.0251s
                    
                    


                    The script is saying it's completed without exceptions and that only error is in the packaging, but all I get is an empty folder.

                    • Are you sure you have the latest version of Vapor? BTW, it couldn't pack it because there is nothing to pack if you have an empty folder. Something is preventing it from extracting any data or files from your site. There is almost certainly a PHP error involved...