<![CDATA[ Cannot install packages through the package manager - My Forums]]> https://forums.modx.com/thread/?thread=29417 <![CDATA[Re: Cannot install packages through the package manager]]> https://forums.modx.com/thread/29417/cannot-install-packages-through-the-package-manager#dis-post-159233 BobRay Nov 19, 2010, 01:42 AM https://forums.modx.com/thread/29417/cannot-install-packages-through-the-package-manager#dis-post-159233 <![CDATA[Re: Cannot install packages through the package manager]]> https://forums.modx.com/thread/29417/cannot-install-packages-through-the-package-manager#dis-post-159232
I have not exactly the same problem, but installing packages doesn’t work anymore after I moved a complete modx installation to another server and another domain without re-installing...everything works great so far, except this one...when I try to install a package I get the error

The target directory is not a directory or not writable: /home/user/public_html/site/core/packages/
Couldn't transfer the Package tinymce-4.1.2-rc1.transport.zip to /home/user/public_html/site/core/packages/ 
Couldn't install the Package with signature "tinymce-4.1.2-rc1".


I know that the path isn’t correct the "user" part is still pointing to the old user directory but I don’t know where to change it...it doesn’t seem to be in the config.inc.php

Could you give me a hint where I find these paths and are there maybe other paths that could have the same problem (outside of config.inc.php)?

Thanks in advance!]]>
exside Nov 18, 2010, 08:59 PM https://forums.modx.com/thread/29417/cannot-install-packages-through-the-package-manager#dis-post-159232
<![CDATA[Re: Cannot install packages through the package manager]]> https://forums.modx.com/thread/29417/cannot-install-packages-through-the-package-manager#dis-post-159231 yes I think you are right.

I changed the folders to 755 and left the files as they were - and it started working!

I was using winSCP as my client to log on and change permissions etc.

Thanks!

Peter]]>
pwaring May 24, 2010, 03:48 PM https://forums.modx.com/thread/29417/cannot-install-packages-through-the-package-manager#dis-post-159231
<![CDATA[Re: Cannot install packages through the package manager]]> https://forums.modx.com/thread/29417/cannot-install-packages-through-the-package-manager#dis-post-159230 BobRay May 21, 2010, 12:26 AM https://forums.modx.com/thread/29417/cannot-install-packages-through-the-package-manager#dis-post-159230 <![CDATA[Re: Cannot install packages through the package manager]]> https://forums.modx.com/thread/29417/cannot-install-packages-through-the-package-manager#dis-post-159229
- Did you try clearing the cache? YES - tried that and didn’t work
- Does the home page work? - NO - I only had one Resource and it used to work and now doesn’t
- Did you do anything else with permissions besides just make them writable? Do other webpages on that site work? (ie, can you make a test.html in the site and view it) I changed the ownership of all files to ’apache’ from ’root’ and there were some directories there that I found were writeable by ALL so I removed the ALL write permissions on them so they were just writeable by user and group

I tried to resintall ModX Revolution and I get these error messages when I go to Reports->Error Log. totally bizarre messages since ModX told me that the installation was successful (I did the reinstall option).]

All these directories are writeable by ALL so no idea why I am getting these errors.

Just so bizarre it’s like there’s something wrong with creating the page from a template or something.

[2010-05-21 03:03:46] (ERROR @ /setup/index.php) Could not copy /var/www/html/core/packages/core/modContext/fb4e49f0032aa5cf6f4034e05db379c4/0/ to /var/www/html/index.php
[2010-05-21 03:03:46] (ERROR @ /setup/index.php) Could not copy /var/www/html/core/packages/core/modContext/fb4e49f0032aa5cf6f4034e05db379c4/1/ to /var/www/html/ht.access
[2010-05-21 03:03:46] (ERROR @ /setup/index.php) Could not copy /var/www/html/core/packages/core/modContext/c09cb999d4332ce6e3cb4302c69c8218/0/ to /var/www/html/manager/assets
[2010-05-21 03:03:46] (ERROR @ /setup/index.php) Could not copy /var/www/html/core/packages/core/modContext/c09cb999d4332ce6e3cb4302c69c8218/1/ to /var/www/html/manager/controllers
[2010-05-21 03:03:46] (ERROR @ /setup/index.php) Could not copy /var/www/html/core/packages/core/modContext/c09cb999d4332ce6e3cb4302c69c8218/2/ to /var/www/html/manager/templates
[2010-05-21 03:03:46] (ERROR @ /setup/index.php) Could not copy /var/www/html/core/packages/core/modContext/c09cb999d4332ce6e3cb4302c69c8218/3/ to /var/www/html/manager/ht.access
[2010-05-21 03:03:46] (ERROR @ /setup/index.php) Could not copy /var/www/html/core/packages/core/modContext/c09cb999d4332ce6e3cb4302c69c8218/4/ to /var/www/html/manager/index.php
[2010-05-21 03:03:46] (ERROR @ /setup/index.php) Could not install files from /var/www/html/core/packages/core/xPDOFileVehicle/8191e3858925bcb1bd8bc897404f559a/ to /var/www/html/connectors/
[2010-05-21 03:03:46] (ERROR @ /setup/index.php) Could not install files from /var/www/html/core/packages/core/xPDOFileVehicle/0fe793562663c4ec3c0c8e1ba98d805f/ to /var/www/html/connectors/
[2010-05-21 03:03:46] (ERROR @ /setup/index.php) Could not install files from /var/www/html/core/packages/core/xPDOFileVehicle/ecc4677cc5f63dfbfa1ae201ba6dfe20/ to /var/www/html/connectors/
[2010-05-21 03:03:46] (ERROR @ /setup/index.php) Could not install files from /var/www/html/core/packages/core/xPDOFileVehicle/156b4ba936b92ea8afecb7f49ce4d914/ to /var/www/html/connectors/
[2010-05-21 03:03:46] (ERROR @ /setup/index.php) Could not install files from /var/www/html/core/packages/core/xPDOFileVehicle/5b805b7aa9438e01b4bca7bb70ebbe8d/ to /var/www/html/connectors/
[2010-05-21 03:03:46] (ERROR @ /setup/index.php) Could not install files from /var/www/html/core/packages/core/xPDOFileVehicle/9542a6c6b3252caad030c8802664fa56/ to /var/www/html/connectors/
[2010-05-21 03:03:46] (ERROR @ /setup/index.php) Could not install files from /var/www/html/core/packages/core/xPDOFileVehicle/b3786a38832bf4df3100ee77f3d5d979/ to /var/www/html/connectors/
[2010-05-21 03:03:46] (ERROR @ /setup/index.php) Could not install files from /var/www/html/core/packages/core/xPDOFileVehicle/7aed3bb8533574b5bf0e3eb8f20e4761/ to /var/www/html/connectors/
[2010-05-21 03:03:46] (ERROR @ /setup/index.php) Could not install files from /var/www/html/core/packages/core/xPDOFileVehicle/1eee6c361af3035a011697291e908b6a/ to /var/www/html/connectors/
[2010-05-21 03:03:46] (ERROR @ /setup/index.php) Could not install files from /var/www/html/core/packages/core/xPDOFileVehicle/c64b8708afd7714fa36460e16ce9b5cc/ to /var/www/html/connectors/]]>
pwaring May 20, 2010, 11:05 PM https://forums.modx.com/thread/29417/cannot-install-packages-through-the-package-manager#dis-post-159229
<![CDATA[Re: Cannot install packages through the package manager]]> https://forums.modx.com/thread/29417/cannot-install-packages-through-the-package-manager#dis-post-159228 Quote from: pwaring at May 21, 2010, 02:38 AM

But now I have another problem - for some reason now none of my pages actually work - for example I click on "preview" for a page and I get a blank page. It worked fine before. Not sure if this is to do with the packages I installed or something else - but I tried removing the packages I installed but the problem still persists.
- Did you try clearing the cache?
- Does the home page work?
- Did you do anything else with permissions besides just make them writable? Do other webpages on that site work? (ie, can you make a test.html in the site and view it)]]>
splittingred May 20, 2010, 09:44 PM https://forums.modx.com/thread/29417/cannot-install-packages-through-the-package-manager#dis-post-159228
<![CDATA[Re: Cannot install packages through the package manager]]> https://forums.modx.com/thread/29417/cannot-install-packages-through-the-package-manager#dis-post-159227
OK so I changed ownership of everything to the ’apache’ user (it was originally root) and then I tried reinstalling the packages and it worked!

But now I have another problem - for some reason now none of my pages actually work - for example I click on "preview" for a page and I get a blank page. It worked fine before. Not sure if this is to do with the packages I installed or something else - but I tried removing the packages I installed but the problem still persists.

I have checked the ModX error log - and it is blank.

Any suggestions? I am stuck on where to start here - aside from just reinstalling ModX :-(

Peter]]>
pwaring May 20, 2010, 09:38 PM https://forums.modx.com/thread/29417/cannot-install-packages-through-the-package-manager#dis-post-159227
<![CDATA[Re: Cannot install packages through the package manager]]> https://forums.modx.com/thread/29417/cannot-install-packages-through-the-package-manager#dis-post-159226 Quote from: shamblett at May 20, 2010, 07:11 AM

This where your visible component parts live, such as javascript, css, and usually a connector, a 3PC is split over this directory and as you’ve found the core/components directory. So, assets/components needs to be writable by your web server for the install to happen. Whether this directory should be checked for on install could be proposed in an RFE/bug.

RC-2/SVN already checks these directories on install and when using Package Management; no need to file a bug anymore.]]>
splittingred May 20, 2010, 07:46 AM https://forums.modx.com/thread/29417/cannot-install-packages-through-the-package-manager#dis-post-159226
<![CDATA[Re: Cannot install packages through the package manager]]> https://forums.modx.com/thread/29417/cannot-install-packages-through-the-package-manager#dis-post-159225 Why is it trying to install to /assets/components This where your visible component parts live, such as javascript, css, and usually a connector, a 3PC is split over this directory and as you’ve found the core/components directory. So, assets/components needs to be writable by your web server for the install to happen. Whether this directory should be checked for on install could be proposed in an RFE/bug.]]> shamblett May 20, 2010, 02:11 AM https://forums.modx.com/thread/29417/cannot-install-packages-through-the-package-manager#dis-post-159225 <![CDATA[Cannot install packages through the package manager]]> https://forums.modx.com/thread/29417/cannot-install-packages-through-the-package-manager#dis-post-159224 I’ve just started using ModX Revolution and I’m having trouble installing packages like Ditto, TinyMCE, Breadcrumbs etc, using the unbuilt package manager in ModX. It has downloaded them all OK but it’s the install that doesn’t seem to work.

Below is typical of the error message I get when trying to install a Package from the package manager.

I have made the /core/components directory writeable by ALL - but still getting this message. Why is it trying to install to /assets/components ?? There is no such directory in ModX Revolution right? Shouldn’t it be trying to install to core/components for ModX Revolution?? Has anyone else had this problem?

So far the only one that’s worked for me has been the Wayfinder - nothing else installs.

Thanks,
Peter


Console running...
Could not copy /var/www/html/core/packages/tinymce-3.2.7.0-rc2/modPlugin/ed68f32553b0ca010987b74e57be7ebb/1/ to /var/www/html/assets/components/tinymce
Attempting to install package with signature: tinymce-3.2.7.0-rc2
Package found...now preparing to install.
Could not create target directory /var/www/html/assets/components
Grabbing package workspace...
Workspace environment initiated, now installing package...
Successfully installed package tinymce-3.2.7.0-rc2]]>
pwaring May 20, 2010, 01:29 AM https://forums.modx.com/thread/29417/cannot-install-packages-through-the-package-manager#dis-post-159224