Tags:
installation1Add my vote for this tag ldap1Add my vote for this tag plugin1Add my vote for this tag create new tag
, view all tags

SID-02042: Installation fails - folder /pub/... cannot be created

Status: Answered Answered TWiki version: 6.0.1 Perl version: v5.18.2 - built for x86_64-linux-gnu-thread-multi
Category: LdapContribAdminPlugin Server OS: Ubuntu 14.04.2 LTS Last update: 1 year ago

I tried to install it into a new local installation of v6.0.1 via configure and it fails with the following error message. From my point of view the problem is the path starting with / which is the root in linux systems. It should be relative like the path before. Do you need any additional details?

Install pub/TWiki/LdapContribAdminPlugin/gfx/led-cup-yellow.gif, permissions 0644
Install pub/TWiki/LdapContribAdminPlugin/gfx/led-cup-green.gif, permissions 0644
Install /pub/TWiki/LdapContribAdminPlugin/LdapContribAdminPlugin.css, permissions 0644

Error: Installer returned errors:

mkdir /pub: Permission denied at tools/extender.pl line 839.
 at /usr/share/perl/5.18/File/Path.pm line 156.
   File::Path::_mkpath('HASH(0x4f319c8)', 'ARRAY(0x4f31ab8)') called at /usr/share/perl/5.18/File/Path.pm line 133
   File::Path::_mkpath('HASH(0x4f319c8)', 'ARRAY(0x4f317e8)') called at /usr/share/perl/5.18/File/Path.pm line 133
   File::Path::_mkpath('HASH(0x4f319c8)', 'ARRAY(0x4f31560)') called at /usr/share/perl/5.18/File/Path.pm line 114
   File::Path::mkpath('/pub/TWiki/LdapContribAdminPlugin') called at tools/extender.pl line 839
   TWiki::Extender::_emplace('/tmp/e68sD8T7Xe') called at tools/extender.pl line 963
   TWiki::Extender::_install('ARRAY(0x4c27d80)', 'LdapContribAdminPlugin') called at tools/extender.pl line 1057
   TWiki::Extender::install('http://twiki.org/p/pub/Plugins', 'LdapContribAdminPlugin', 'LdapContribAdminPlugin', 'MANIFEST', 'data/TWiki/LdapContribAdminPlugin.txt,0644,This documentation...', 'DEPENDENCIES', 'TWiki::Contrib::LdapContrib,>=4.38,1,perl,Features implemente...') called at /var/www/wiki/6.0.1/LdapContribAdminPlugin_installer line 105
   require /var/www/wiki/6.0.1/LdapContribAdminPlugin_installer called at /var/www/wiki/6.0.1/lib/TWiki/Configure/UIs/EXTEND.pm line 177
   eval {...} called at /var/www/wiki/6.0.1/lib/TWiki/Configure/UIs/EXTEND.pm line 175
   TWiki::Configure::UIs::EXTEND::ui('TWiki::Configure::UIs::EXTEND=HASH(0x2714360)') called at /var/www/wiki/6.0.1/bin/configure line 708
   TWiki::_actionInstallExtension() called at /var/www/wiki/6.0.1/bin/configure line 478
 at /usr/share/perl/5.18/CGI/Carp.pm line 378.
   CGI::Carp::realdie('mkdir /pub: Permission denied at tools/extender.pl line 839.\x{a}...') called at /usr/share/perl/5.18/CGI/Carp.pm line 467
   CGI::Carp::die('mkdir /pub: Permission denied at tools/extender.pl line 839.\x{a}...') called at /var/www/wiki/6.0.1/lib/TWiki/Configure/UIs/EXTEND.pm line 179
   eval {...} called at /var/www/wiki/6.0.1/lib/TWiki/Configure/UIs/EXTEND.pm line 175
   TWiki::Configure::UIs::EXTEND::ui('TWiki::Configure::UIs::EXTEND=HASH(0x2714360)') called at /var/www/wiki/6.0.1/bin/configure line 708
   TWiki::_actionInstallExtension() called at /var/www/wiki/6.0.1/bin/configure line 478

-- Eike Juerrens - 2015-03-26

Discussion and Answer

No additional details needed: The installer is broken for this plugin. As you can see the "bad" paths are also visible at the plugin's page Plugins/LdapContribAdminPlugin.

So, while I can file a bug report and I can fix it in SVN, we need to figure out how to get the fix through to you... If you've been installing directly from twiki.org, I need to re-build the .tgz and .zip archives (both contain the error) and upload it. If you already have a local .tgz or .zip file, you can patch it yourself: Remove the leading slash from the paths in the file LdapContribAdminPlugin_installer, in the root directory of the archive.

Stay tuned, and thanks for reporting!

-- Harald Jörg - 2015-03-26

Addendum: I think I've got it fixed, new plugin available at Plugins/LdapContribAdminPlugin. Please give it a try!

-- Harald Jörg - 2015-03-26

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!

-- Peter Thoeny - 2015-12-03

      Change status to:
ALERT! 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.
SupportForm
Status Answered
Title Installation fails - folder /pub/... cannot be created
SupportCategory LdapContribAdminPlugin
TWiki version 6.0.1
Server OS Ubuntu 14.04.2 LTS
Web server Apache/2.4.7 (Ubuntu)Apache
Perl version v5.18.2 - built for x86_64-linux-gnu-thread-multi
Browser & version Mozilla Firefox 36.0.4
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2015-12-03 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.