Error on upgrade

Added by Nemanja Trebjesanin about 1 month ago

Centos 7.
Im trying to upgrade my redmine but...
ERROR: parent directory is world writable, FileUtils#remove_entry_secure does not work; abort: "script" (parent directory mode 40777)
ERROR: /usr/local/rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/fileutils.rb:717:in `remove_entry_secure'
And many others errors similar to this.

Finishing installation
Cleaning root ... FAIL
parent directory is world writable, FileUtils#remove_entry_secure does not work; abort: "script" (parent directory mode 40777)
ERROR: parent directory is world writable, FileUtils#remove_entry_secure does not work; abort: "script" (parent directory mode 40777)
ERROR: /usr/local/rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/fileutils.rb:717:in `remove_entry_secure'
ERROR: /usr/local/rvm/gems/ruby-2.3.3/gems/redmine-installer-2.0.2/lib/redmine-installer/redmine.rb:254:in `block (2 levels) in delete_root'
ERROR: /usr/local/rvm/gems/ruby-2.3.3/gems/redmine-installer-2.0.2/lib/redmine-installer/redmine.rb:250:in `each'
ERROR: /usr/local/rvm/gems/ruby-2.3.3/gems/redmine-installer-2.0.2/lib/redmine-installer/redmine.rb:250:in `block in delete_root'
ERROR: /usr/local/rvm/gems/ruby-2.3.3/gems/redmine-installer-2.0.2/lib/redmine-installer/redmine.rb:249:in `chdir'
ERROR: /usr/local/rvm/gems/ruby-2.3.3/gems/redmine-installer-2.0.2/lib/redmine-installer/redmine.rb:249:in `delete_root'
ERROR: /usr/local/rvm/gems/ruby-2.3.3/gems/redmine-installer-2.0.2/lib/redmine-installer/upgrade.rb:31:in `block in up'
ERROR: /usr/local/rvm/gems/ruby-2.3.3/gems/redmine-installer-2.0.2/lib/redmine-installer/utils.rb:28:in `ok'
ERROR: /usr/local/rvm/gems/ruby-2.3.3/gems/redmine-installer-2.0.2/lib/redmine-installer/upgrade.rb:31:in `up'
ERROR: /usr/local/rvm/gems/ruby-2.3.3/gems/redmine-installer-2.0.2/lib/redmine-installer/task.rb:16:in `run'
ERROR: /usr/local/rvm/gems/ruby-2.3.3/gems/redmine-installer-2.0.2/lib/redmine-installer/cli.rb:77:in `block (2 levels) in run'
ERROR: /usr/local/rvm/gems/ruby-2.3.3/gems/commander-4.4.5/lib/commander/command.rb:182:in `call'
ERROR: /usr/local/rvm/gems/ruby-2.3.3/gems/commander-4.4.5/lib/commander/command.rb:153:in `run'
ERROR: /usr/local/rvm/gems/ruby-2.3.3/gems/commander-4.4.5/lib/commander/runner.rb:446:in `run_active_command'
ERROR: /usr/local/rvm/gems/ruby-2.3.3/gems/commander-4.4.5/lib/commander/runner.rb:71:in `run!'
ERROR: /usr/local/rvm/gems/ruby-2.3.3/gems/commander-4.4.5/lib/commander/delegates.rb:15:in `run!'
ERROR: /usr/local/rvm/gems/ruby-2.3.3/gems/redmine-installer-2.0.2/lib/redmine-installer/cli.rb:130:in `run'
ERROR: /usr/local/rvm/gems/ruby-2.3.3/gems/redmine-installer-2.0.2/bin/redmine:9:in `<top (required)>'
ERROR: /usr/local/rvm/gems/ruby-2.3.3/bin/redmine:23:in `load'
ERROR: /usr/local/rvm/gems/ruby-2.3.3/bin/redmine:23:in `<main>'
ERROR: /usr/local/rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in `eval'
ERROR: /usr/local/rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in `<main>'
11370b48e2110e75eff991248617cdfe2a9d1cf86c5a063c4685d59368d26975

Replies (1)

RE: Error on upgrade - Added by Nemanja Trebjesanin about 1 month ago

If anybody need solutions for this, chmod -R 1777 /home/easy did not work, because some folders in it was not affected with that command, you need to chomd id manually .

(1-1/1)