TurnKey Linux Virtual Appliance Library

TWiki plugins error

Hi i can't seem to install plugins via the Configure page (Find More Extensions). It always complains for example with more or less the same error (Archive::Tar not installed and then the path issue at the end):

Fetching http://twiki.org/p/pub/Plugins/AccessStatsPlugin/AccessStatsPlugin.tgz...
 Unpacking...
 Archive::Tar is not installed; trying tar on the command-line
 AccessStatsPlugin_installer data/ data/TWiki/ data/TWiki/AccessStatsPlugin.txt lib/ lib/TWiki/ lib/TWiki/Plugins/ lib/TWiki/Plugins/AccessStatsPlugin.pm AccessStatsPlugin_installer
data/
data/TWiki/
data/TWiki/AccessStatsPlugin.txt
lib/
lib/TWiki/
lib/TWiki/Plugins/
lib/TWiki/Plugins/AccessStatsPlugin.pm
Error: Failed to move file 'AccessStatsPlugin_installer' to /usr/lib/cgi-bin/AccessStatsPlugin_installer: Permission denied

I can install manually by extracting the tgz to /var/lib/twiki and then running the installer. But is there a way to fix this? maybe in some config ??

thanks

Jeremy's picture

I am not a Twiki user but

This soundfs like a permission issue. I double checked with a quick google and it seems others have come across a similar issue. Try this command:

chown -R www-data:www-data /usr/lib/cgi-bin

Does that fix it?

yes thanks! also i had to do

yes thanks! also i had to do /var/lib/twiki for skins etc.


Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)