Skip to content

Instantly share code, notes, and snippets.

@clevinson
Created February 18, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save clevinson/ed266ed819684cbc7b22 to your computer and use it in GitHub Desktop.
Save clevinson/ed266ed819684cbc7b22 to your computer and use it in GitHub Desktop.
ubuntu@*************:~$ fab deploy_latest_release
Deploying version: redash.0.5.0.b685
Downloading latest version...
No hosts found. Please specify (single) host string for connection: localhost
Unpacking...
Changing ownership to redash...
Linking .env file...
Warning: run() received nonzero return code 1 while executing 'diff <(cd /opt/redash/redash.0.5.0.b685/migrations && find . | sort) <(cd /opt/redash/current/migrations && find . | sort)'!
New migrations to run:
0001_allow_delete_query.py
Apply new migrations? (make sure you have backup) [Y/n] Y
Applying 0001_allow_delete_query.py...
[localhost] run: sudo -u redash PYTHONPATH=. bin/run python migrations/0001_allow_delete_query.py
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/fabric/main.py", line 743, in main
*args, **kwargs
File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 424, in execute
results['<local-only>'] = task.run(*args, **new_kwargs)
File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 174, in run
return self.wrapped(*args, **kwargs)
File "/home/ubuntu/fabfile.py", line 92, in deploy_latest_release
link_to_current(version_name)
TypeError: 'bool' object is not callable
Disconnecting from localhost... done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment