-
- 17 Posts
Hi,
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
-
- 1,336 Posts
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.
Use MODx, or the cat gets it!
-
- 17 Posts
Hi,
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
-
- 17 Posts
- 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/
-
- 24,544 Posts
The only thing I can think of is that if the the host is using suPHP or suExec, the folders need to be 755 and the files 644. Could you have changed from those to make them writable?
-
- 17 Posts
Hi,
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
-
- 24,544 Posts
Try doing an upgrade install.