problems after update
Added by Alexsandro Felix over 14 years ago
hello
I've update my redmine for the latest version with svn, but when i try atualize anything I've got an error, see the log:
NoMethodError (undefined method `unsaved_attachments' for #<Issue:0xb6fdbc48>): app/models/attachment.rb:156:in `attach_files' app/models/issue.rb:416:in `save_issue_with_child_records' app/controllers/issues_controller.rb:202:in `update' passenger (2.2.4) lib/phusion_passenger/rack/request_handler.rb:91:in `process_request' passenger (2.2.4) lib/phusion_passenger/abstract_request_handler.rb:206:in `main_loop' passenger (2.2.4) lib/phusion_passenger/railz/application_spawner.rb:376:in `start_request_handler' passenger (2.2.4) lib/phusion_passenger/railz/application_spawner.rb:334:in `handle_spawn_application' passenger (2.2.4) lib/phusion_passenger/utils.rb:182:in `safe_fork' passenger (2.2.4) lib/phusion_passenger/railz/application_spawner.rb:332:in `handle_spawn_application' passenger (2.2.4) lib/phusion_passenger/abstract_server.rb:351:in `__send__' passenger (2.2.4) lib/phusion_passenger/abstract_server.rb:351:in `main_loop' passenger (2.2.4) lib/phusion_passenger/abstract_server.rb:195:in `start_synchronously' passenger (2.2.4) lib/phusion_passenger/abstract_server.rb:162:in `start' passenger (2.2.4) lib/phusion_passenger/railz/application_spawner.rb:213:in `start' passenger (2.2.4) lib/phusion_passenger/spawn_manager.rb:261:in `spawn_rails_application' passenger (2.2.4) lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add' passenger (2.2.4) lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application' passenger (2.2.4) lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize' passenger (2.2.4) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' passenger (2.2.4) lib/phusion_passenger/spawn_manager.rb:254:in `spawn_rails_application' passenger (2.2.4) lib/phusion_passenger/spawn_manager.rb:153:in `spawn_application' passenger (2.2.4) lib/phusion_passenger/spawn_manager.rb:286:in `handle_spawn_application' passenger (2.2.4) lib/phusion_passenger/abstract_server.rb:351:in `__send__' passenger (2.2.4) lib/phusion_passenger/abstract_server.rb:351:in `main_loop' passenger (2.2.4) lib/phusion_passenger/abstract_server.rb:195:in `start_synchronously' Rendering /home/projetos/public_html/redmine/public/500.html (500 Internal Server Error)
Whith my plugins active I can't upgrade, only after delete the plugins I got the upgrade.
Replies (1)
RE: problems after update
-
Added by Tammo Tjarks about 14 years ago
Hello,
I had the same problem when upgrading from 0.9.3 to 1.0.0 under mongrel. I could track it down to a change in the file:
vendor/plugins/acts_as_attachable/lib/acts_as_attachable.rb
At least so far I can see. I still do not know which attachement modified that file, because in the base installation it is correct. Seems that an plugin modify that file. I assume it is most likely a plugin not compatible with 1.0.0.
I had a short look and it seems to me, that I overwrote it when I copied the plugins from the 0.9.3 to the 1.0.0 version.
At least I have that impression so far.