-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hi there! Thanks for the great addon. I'm writing because the I was installing the addon in an environment where core/ and manager/ were (mostly) readonly for the web server process, and the addon requires to put some files there. The problem is that when installing it fails to install the files but still prints "Successfully installed package colorpicker-1.0.2-rc2". Here's the full log on my machine:
Attempting to install package with signature: colorpicker-1.0.2-rc2
Package found...now preparing to install.
Grabbing package workspace...
Workspace environment initiated, now installing package...
/home/yurb/public_html/mgenergies/core/model/modx/processors/element/tv/renders/mgr/input is not writable and permissions could not be modified.
xPDOCacheManager->copyFile(): Could not copy file /home/yurb/public_html/mgenergies/core/packages/colorpicker-1.0.2-rc2/modCategory/081bd656ebfb522109b113daf08e8116/0/colorpicker.class.php to /home/yurb/public_html/mgenergies/core/model/modx/processors/element/tv/renders/mgr/input/colorpicker.class.php
Could not copy file /home/yurb/public_html/mgenergies/core/packages/colorpicker-1.0.2-rc2/modCategory/081bd656ebfb522109b113daf08e8116/0/colorpicker.class.php to /home/yurb/public_html/mgenergies/core/model/modx/processors/element/tv/renders/mgr/input/colorpicker.class.php; could not create directory.
Could not copy /home/yurb/public_html/mgenergies/core/packages/colorpicker-1.0.2-rc2/modCategory/081bd656ebfb522109b113daf08e8116/0/ to /home/yurb/public_html/mgenergies/core/model/modx/processors/element/tv/renders/mgr/input/colorpicker.class.php
/home/yurb/public_html/mgenergies/manager/templates/default/element/tv/renders/input is not writable and permissions could not be modified.
xPDOCacheManager->copyFile(): Could not copy file /home/yurb/public_html/mgenergies/core/packages/colorpicker-1.0.2-rc2/modCategory/081bd656ebfb522109b113daf08e8116/1/colorpicker.tpl to /home/yurb/public_html/mgenergies/manager/templates/default/element/tv/renders/input/colorpicker.tpl
Could not copy file /home/yurb/public_html/mgenergies/core/packages/colorpicker-1.0.2-rc2/modCategory/081bd656ebfb522109b113daf08e8116/1/colorpicker.tpl to /home/yurb/public_html/mgenergies/manager/templates/default/element/tv/renders/input/colorpicker.tpl; could not create directory.
Could not copy /home/yurb/public_html/mgenergies/core/packages/colorpicker-1.0.2-rc2/modCategory/081bd656ebfb522109b113daf08e8116/1/ to /home/yurb/public_html/mgenergies/manager/templates/default/element/tv/renders/input/colorpicker.tpl
/home/yurb/public_html/mgenergies/core/model/modx/processors/element/tv/renders/mgr/properties is not writable and permissions could not be modified.
xPDOCacheManager->copyFile(): Could not copy file /home/yurb/public_html/mgenergies/core/packages/colorpicker-1.0.2-rc2/modCategory/081bd656ebfb522109b113daf08e8116/2/colorpicker.php to /home/yurb/public_html/mgenergies/core/model/modx/processors/element/tv/renders/mgr/properties/colorpicker.php
Could not copy file /home/yurb/public_html/mgenergies/core/packages/colorpicker-1.0.2-rc2/modCategory/081bd656ebfb522109b113daf08e8116/2/colorpicker.php to /home/yurb/public_html/mgenergies/core/model/modx/processors/element/tv/renders/mgr/properties/colorpicker.php; could not create directory.
Could not copy /home/yurb/public_html/mgenergies/core/packages/colorpicker-1.0.2-rc2/modCategory/081bd656ebfb522109b113daf08e8116/2/ to /home/yurb/public_html/mgenergies/core/model/modx/processors/element/tv/renders/mgr/properties/colorpicker.php
/home/yurb/public_html/mgenergies/core/model/modx/processors/element/tv/renders/web/output is not writable and permissions could not be modified.
xPDOCacheManager->copyFile(): Could not copy file /home/yurb/public_html/mgenergies/core/packages/colorpicker-1.0.2-rc2/modCategory/081bd656ebfb522109b113daf08e8116/3/colorpicker.class.php to /home/yurb/public_html/mgenergies/core/model/modx/processors/element/tv/renders/web/output/colorpicker.class.php
Could not copy file /home/yurb/public_html/mgenergies/core/packages/colorpicker-1.0.2-rc2/modCategory/081bd656ebfb522109b113daf08e8116/3/colorpicker.class.php to /home/yurb/public_html/mgenergies/core/model/modx/processors/element/tv/renders/web/output/colorpicker.class.php; could not create directory.
Could not copy /home/yurb/public_html/mgenergies/core/packages/colorpicker-1.0.2-rc2/modCategory/081bd656ebfb522109b113daf08e8116/3/ to /home/yurb/public_html/mgenergies/core/model/modx/processors/element/tv/renders/web/output/colorpicker.class.php
/home/yurb/public_html/mgenergies/manager/templates/default/element/tv/renders/properties is not writable and permissions could not be modified.
xPDOCacheManager->copyFile(): Could not copy file /home/yurb/public_html/mgenergies/core/packages/colorpicker-1.0.2-rc2/modCategory/081bd656ebfb522109b113daf08e8116/4/colorpicker.tpl to /home/yurb/public_html/mgenergies/manager/templates/default/element/tv/renders/properties/colorpicker.tpl
Could not copy file /home/yurb/public_html/mgenergies/core/packages/colorpicker-1.0.2-rc2/modCategory/081bd656ebfb522109b113daf08e8116/4/colorpicker.tpl to /home/yurb/public_html/mgenergies/manager/templates/default/element/tv/renders/properties/colorpicker.tpl; could not create directory.
Could not copy /home/yurb/public_html/mgenergies/core/packages/colorpicker-1.0.2-rc2/modCategory/081bd656ebfb522109b113daf08e8116/4/ to /home/yurb/public_html/mgenergies/manager/templates/default/element/tv/renders/properties/colorpicker.tpl
Attempting to preserve files at /home/yurb/public_html/mgenergies/core/components/colorpicker into archive /home/yurb/public_html/mgenergies/core/packages/colorpicker-1.0.2-rc2/modCategory/081bd656ebfb522109b113daf08e8116.5.preserved.zip
Attempting to preserve files at /home/yurb/public_html/mgenergies/assets/components/colorpicker into archive /home/yurb/public_html/mgenergies/core/packages/colorpicker-1.0.2-rc2/modCategory/081bd656ebfb522109b113daf08e8116.6.preserved.zip
Successfully installed package colorpicker-1.0.2-rc2
I think you could write about the permissions requirements somewhere in the readme, and make the installer stop and print a message if the files weren't copied.
Thanks,
Yury
Metadata
Metadata
Assignees
Labels
No labels