Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade from 1.2 to 1.5 fails #9

Open
digitaria opened this issue Jul 7, 2010 · 3 comments
Open

Upgrade from 1.2 to 1.5 fails #9

digitaria opened this issue Jul 7, 2010 · 3 comments

Comments

@digitaria
Copy link

We have experienced an issue upgrading from 1.2 to 1.5. The code was checked out on a new server,
the database was dumped and loaded on the new server. The migrations were run. All dependencies are installed.

Webistrano runs, but when you go to deploy, the following is output to the web interface "Log":

*** is not a class/module
*** /var/www/deploy/webistrano/app/models/project.rb:31:in `tasks'
*** /var/www/deploy/webistrano/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:217:in `send'
*** /var/www/deploy/webistrano/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:217:in `method_missing'
*** /var/www/deploy/webistrano/lib/webistrano/deployer.rb:160:in `load_project_template_tasks'
*** /var/www/deploy/webistrano/lib/webistrano/deployer.rb:118:in `set_up_config'
*** /var/www/deploy/webistrano/lib/webistrano/deployer.rb:65:in `execute!'
*** /var/www/deploy/webistrano/lib/webistrano/deployer.rb:62:in `catch'
*** /var/www/deploy/webistrano/lib/webistrano/deployer.rb:62:in `execute!'
*** /var/www/deploy/webistrano/lib/webistrano/deployer.rb:46:in `invoke_task!'
*** (eval):1
*** /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `eval'
*** /var/www/deploy/webistrano/vendor/rails/railties/lib/commands/runner.rb:48
*** /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
*** /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
*** script/runner:3

The server logs have nothing. This is the only helpful output we can gather.

@digitaria
Copy link
Author

By the way, we're running the most recent code:

git remote show origin * remote origin
* remote origin
  Fetch URL: http://github.com/peritor/webistrano.git
  Push  URL: http://github.com/peritor/webistrano.git

With Rails 2.3.5 and ruby 1.8.7 on Ubuntu.

@bradly
Copy link

bradly commented Jul 8, 2010

I would check that all your templates are available on the new server :)
Project.all.collect(&:template).uniq - ProjectConfiguration.templates.keys

@digitaria
Copy link
Author

That was it. Thank you.

insoul pushed a commit to insoul/webistrano that referenced this issue Oct 28, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants