Back to swiftlet.org | To report bugs, please use the issue tracker at GitHub.

How do I uninstall a plugin?
  • jdonth January 21
  • jdonth January 21

    I could not get logged in so I mistakingly deleted the Admin record in the user table and do not know how to recreate it, which leads to the bigger quest of uninstalling plugins in gerneral.

    Thanks,
    ~Joe

  • ElbertF January 21

    Hi Joe,

    If you want to reinstall a plug-in you have to remove the corresponding row in the "sw_versions" table. You also need to completely remove the "sw_users" table if you want to reinstall the user plug-in.

    Right now there is no way of removing plug-ins automatically but I'll work on that.

    If you want to quickly fix the Admin account, execute this query:

    INSERT INTO `sw_users` (`id`, `username`, `pass_hash`, `email`, `owner`, `date`, `date_edit`) VALUES<br />(1, 'Admin', '74c702066572e5a3dd10abdbd6fdc154b5a77570', NULL, 1, '2010-01-13 09:40:57', '2010-01-13 09:40:57');

    You can then login with the password "foo".

    If you want to disable a plug-in you can simply move the plug-in file in /_plugins to the /_plugins/disabled directory.

    Hope that helps, let me know how you go.

    Edit: v1.2.0dev (in Git repo) now has a plug-in uninstaller.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership