• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7700 for generic doc work for TWiki-6.0.2. Use View topic Item7703 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item7454: Upgrade fails with error

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension TinyMCEPlugin Normal Confirmed   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

Upgrade of TinyMCEPlugin from TinyMCEPlugin_installer fails with an error

Are you sure you want to re-install this module? [y/n] y
I will keep a backup of any files I overwrite.
Fetching the archive for TWiki::Plugins::TinyMCEPlugin.

...

Could not create pub/TWiki/TinyMCEPlugin/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2.bak: Is a directory
Status: 500
Content-type: text/html

<h1>Software error:</h1>
<pre>Failed to move /tmp/7TYh7eIzBN/pub/TWiki/TinyMCEPlugin/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2 to pub/TWiki/TinyMCEPlugin/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2: Is a directory
</pre>

...

[Sun Mar  9 19:51:07 2014] TinyMCEPlugin_installer: Failed to move /tmp/7TYh7eIzBN/pub/TWiki/TinyMCEPlugin/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2 to pub/TWiki/TinyMCEPlugin/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2: Is a directory
 at /usr/local/lib/perl5/5.8.8/CGI/Carp.pm line 378.
   CGI::Carp::realdie('[Sun Mar  9 19:51:07 2014] TinyMCEPlugin_installer: Failed to...') called at /usr/local/lib/perl5/5.8.8/CGI/Carp.pm line 474
   CGI::Carp::die('Failed to move /tmp/7TYh7eIzBN/pub/TWiki/TinyMCEPlugin/tinymc...') called at tools/extender.pl line 840
   TWiki::Extender::_emplace('/tmp/7TYh7eIzBN') called at tools/extender.pl line 962
   TWiki::Extender::_install('ARRAY(0x2a6c3c8)', 'TinyMCEPlugin') called at tools/extender.pl line 1055
   TWiki::Extender::install('http://twiki.org/p/pub/Plugins', 'TinyMCEPlugin', 'TinyMCEPlugin', 'MANIFEST', 'data/TWiki/TinyMCEFrequentlyAskedQuestions.txt,0644,\x{a}data/TWi...', 'DEPENDENCIES', 'TWiki::Plugins::WysiwygPlugin,>=1,1,perl,Translator module\x{a}TW...') called at _Plugins/TinyMCEPlugin_installer line

-- TWiki:Main/VickiBrown - 2014-03-10

Failed to move is most likely a permission issue. Make sure all files and directories below the twiki root are owned by the webserver user.

-- TWiki:Main.PeterThoeny - 2014-03-10

Ownership and permissions match all other directories/plugins (which have no issues). The full error is

Failed to move /tmp/...clearlooks2 to pub/TWiki/TinyMCEPlugin...clearlooks2: Is a directory

-- TWiki:Main.VickiBrown - 2014-03-17

I just checked, the package has a /pub/TWiki/TinyMCEPlugin/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2 directory with files and directory in it. So this seems to be an installer bug.

-- TWiki:Main.PeterThoeny - 2014-03-17

As a workaround, remove or rename the twiki/pub/TWiki/TinyMCEPlugin/tinymce/ directory before the upgrade.

-- TWiki:Main.PeterThoeny - 2014-03-17

ItemTemplate
Summary Upgrade fails with error
ReportedBy TWiki:Main.VickiBrown
Codebase 6.0.0
SVN Range TWiki-6.0.1-trunk, Sat, 01 Mar 2014, build 27044
AppliesTo Extension
Component TinyMCEPlugin
Priority Normal
CurrentState Confirmed
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2014-03-17 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback