SID-01375: Configure can not install extenstions
| Status: |
Answered |
TWiki version: |
5.1.0 |
Perl version: |
5.14.2 |
| Category: |
CategoryInstallation |
Server OS: |
openSUSE 12.1, kernel 3.1 |
Last update: |
13 years ago |
I was trying to install
LdapContrib Here is the log:
Warning: CPAN is not available, some installer functions have been disabled
Error: Installer returned errors:
************************************************************
Could not load installer script from tools/extender.pl.
If this is a TWiki release prior to 4.2, please download the
latest version of the script from:
http://twiki.org/cgi-bin/view/Codev/ExtenderScript
and place it in the 'tools' directory below your installation
root (create the directory if necessary).
If this is TWiki 4.2 or later, the script is missing from
your installation, or may be broken.
************************************************************
at /usr/lib/perl5/5.14.2/CGI/Carp.pm line 379
CGI::Carp::realdie('************************************************************\x{a}...') called at /usr/lib/perl5/5.14.2/CGI/Carp.pm line 468
CGI::Carp::die('************************************************************\x{a}...') called at /srv/www/some.site.my/twiki51/LdapContrib_installer line 66
require /srv/www/some.site.my/twiki51/LdapContrib_installer called at /srv/www/some.site.my/twiki51/lib/TWiki/Configure/UIs/EXTEND.pm line 171
eval {...} called at /srv/www/some.site.my/twiki51/lib/TWiki/Configure/UIs/EXTEND.pm line 168
TWiki::Configure::UIs::EXTEND::ui('TWiki::Configure::UIs::EXTEND=HASH(0x859f8b8)') called at /srv/www/some.site.my/twiki51/bin/configure line 708
TWiki::_actionInstallExtension() called at /srv/www/some.site.my/twiki51/bin/configure line 478
at /usr/lib/perl5/5.14.2/CGI/Carp.pm line 379
CGI::Carp::realdie('************************************************************\x{a}...') called at /usr/lib/perl5/5.14.2/CGI/Carp.pm line 468
CGI::Carp::die('************************************************************\x{a}...') called at /srv/www/some.site.my/twiki51/lib/TWiki/Configure/UIs/EXTEND.pm line 173
eval {...} called at /srv/www/some.site.my/twiki51/lib/TWiki/Configure/UIs/EXTEND.pm line 168
TWiki::Configure::UIs::EXTEND::ui('TWiki::Configure::UIs::EXTEND=HASH(0x859f8b8)') called at /srv/www/some.site.my/twiki51/bin/configure line 708
TWiki::_actionInstallExtension() called at /srv/www/some.site.my/twiki51/bin/configure line 478
LocalLib.cfg has
@localPerlLibPath
= ( '/srv/www/some.site.my/twiki51' );
--
AndreKuvshinov - 2012-01-12
Discussion and Answer
Not sure what went wrong. Try running
/srv/www/some.site.my/twiki51/LdapContrib_installer from the command line. Make sure to run it as the webserver user. Watch out for errors.
You can always manually install a plugin: Unpack into the TWiki root with proper permission, and manually install dependencies.
--
PeterThoeny - 2012-01-12
There is no problem to install plugin manually. I had to install more then 20 plugins just to upgrade my twiki installation. It's quite a lot. So installing from "configure" is crucial. May be you've got a clue how to debug this problem?
--
AndreKuvshinov - 2012-01-13
Not sure what causes this. Things to check:
- Do you use a proxy? If yes, check the proxy settings in configure.
- Try to disable SElinux in case enabled.
- See if there are errors in the apache error log.
- The
twiki/tools/extender.pl fails. Make sure you have up to date versions for File::Temp, File::Copy, File::Path, LWP and Archive::Tar.
--
PeterThoeny - 2012-01-23
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the
TWiki consultants if you need timely help. We invite you to
get involved with the community, it is more likely you get community support if you support the open source project!
--
PeterThoeny - 2012-07-01
Same issue, Ubuntu 12.04 and updated perl modules.
--
AvishaiIshShalom - 2012-10-30
AvishaiIsh, you did not specify what TWiki version you use. We did some fixes in configure of the latest TWiki-5.1.2.
--
PeterThoeny - 2012-10-30
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.