Hi,
I’m having an issue upgrading to version 5.0.3 from 4.1.1. I think I
need pointing in the right direction.
First, I’m a bit confused about how to get rid of unneeded sidebar
plugins before upgrading. Or am I supposed to update to 5 first,
then install missing plug-ins? I’m somewhat clueless about
enumerating the relevant plugins on version 4 and then matching them
on version 5. script/plugin doesn’t seem to have a ‘list locally
installed’ option; on 4, I have several items in my vendor/plugins/
directory - does that represent the entirety of the installed plug-
ins or are they also listed in the schema? If I should simply nuke
the things in that directory, how would I correlate the list of
plugins I’m using on the sidebar with the directory such that I don’t
remove the ones that I do actually use.
My sidebar for this blog consists only of XML feeds, 2 statics, and
Categories, so I don’t need anything else. I tried ‘delete from
sidebars’ based on others’ reports here but it didn’t work for me.
Anyhow, I’m getting error messages about not finding plugin ‘all’.
Attached are the results of a mongrel startup attempt and a rake
db:migrate.
Thanks,
-Bill
** Starting Mongrel listening at 0.0.0.0:8500
** Starting Rails with production environment…
/opt/typo/config/…/vendor/rails/railties/lib/initializer.rb:191:in
load_plugins': Cannot find the plugin 'all'! (LoadError) from /opt/typo/config/../vendor/rails/railties/lib/ initializer.rb:189:in
each’
from /opt/typo/config/…/vendor/rails/railties/lib/
initializer.rb:189:in load_plugins' from /opt/typo/config/../vendor/rails/railties/lib/ initializer.rb:105:in
process’
from /opt/typo/config/…/vendor/rails/railties/lib/
initializer.rb:43:in send' from /opt/typo/config/../vendor/rails/railties/lib/ initializer.rb:43:in
run’
from /opt/typo/config/environment.rb:13
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
27:in gem_original_require' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 27:in
require’
… 9 levels…
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.1/bin/…/lib/
mongrel/command.rb:212:in run' from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.1/bin/ mongrel_rails:281 from /usr/bin/mongrel_rails:16:in
load’
from /usr/bin/mongrel_rails:16
-bash-3.2$ rake --trace db:migrate
(in /opt/typo)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
Cannot find the plugin ‘all’!
/opt/typo/config/…/vendor/rails/railties/lib/initializer.rb:191:in
load_plugins' /opt/typo/config/../vendor/rails/railties/lib/initializer.rb:189:in
each’
/opt/typo/config/…/vendor/rails/railties/lib/initializer.rb:189:in
load_plugins' /opt/typo/config/../vendor/rails/railties/lib/initializer.rb:105:in
process’
/opt/typo/config/…/vendor/rails/railties/lib/initializer.rb:43:in
send' /opt/typo/config/../vendor/rails/railties/lib/initializer.rb:43:in
run’
/opt/typo/config/…/config/environment.rb:13
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
require’
/opt/typo/config/…/vendor/rails/railties/lib/tasks/misc.rake:3
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in call' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in
execute’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in each' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in
execute’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in invoke' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in
synchronize’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in invoke' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:369:in
invoke_prerequisites’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1003:in each' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1003:in
send’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1003:in each' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:368:in
invoke_prerequisites’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:361:in invoke' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in
synchronize’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in invoke' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in
top_level’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in each' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in
top_level’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in
standard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in
top_level’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in run' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in
standard_exception_handling’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in run' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7 /usr/bin/rake:16:in
load’
/usr/bin/rake:16