symfony plugin: install and uninstall manually

by prettyscripts on 2010-03-02 12:42:00

symfony

symfony's command line plugin install and uninstall tasks don't work - this could be because the server i'm working on does not have internet connection. so i have to do things manually.

if you're having problem running symfony's command, you can do it manually too!

manual install

  • download the package from plugins site (if not previously downloaded)
  • unzip / untar the file. if the directory contain version number, rename it.
  • copy the directory to /path/to/your/project/plugins.
  • do the normal setup
    • edit config/ProjectConfiguration.class.php to add the new plugin
    • run symfony plugin:publish-assets

manual uninstall

  • delete the plugin directory fromĀ /path/to/your/project/plugins
  • edit config/ProjectConfiguration.class.php to remove the plugin
  • runĀ symfony plugin:publish-assets
  • search for any other 'traces' of this plugin. if running from unix server, from project root, run find . -name "name_of_plugin*" -print. adding '*' to the name make sure you will not miss any files.
  • if there are any files and diretories with this plugin name, delete them
  • run symfony cc to clear everything

Tags: install, plugin, symfony, uninstall

5 comments

Comment by Zenius @ 2010-11-28 03:59:13
*****
I'm in the process of learning Diem, a Symfony based CMS. These tips were copy pasted to my personal knowledge base. Thank you for these. I found them by having googled 4 different search keywords with no luck until this :)
Comment by prettyscripts @ 2010-11-29 10:16:04
@zenius, i'm glad it helps :)
Comment by Jose Figueroa @ 2011-02-02 12:02:41
*****
Thanks you saved my day !
Comment by ond @ 2011-05-23 20:50:31
you're a life saver !
Comment by Olemis Lang @ 2011-11-03 00:56:58
*****
This is a very good tutorial for people like me who can't install plugins due to error messages like "The channel symfony does not support the REST protocol" , ...

Thnx for sharing
;)

Leave a comment


Your email address will not be revealed on this site.
PoorExcellent
note: all comments are moderated. do not spam and do not advertise. only comments relevant to the post will be published.
(Line breaks become <br />)
(For my next comment on this site)
(Allow users to contact me through a message form -- Your email will not be revealed!)