Here is a screen capture from start to finish.
*kegbotserver@kegbotserver:~$ . ~/kb/bin/activate
(kb)kegbotserver@kegbotserver:~$ sudo pip install --upgrade kegbot
[sudo] password for kegbotserver:
Requirement already up-to-date: kegbot in /usr/local/lib/python2.7/dist-packages
Requirement already up-to-date: kegbot-pyutils==0.1.7 in /usr/local/lib/python2.7/dist-packages (from kegbot)
Requirement already up-to-date: kegbot-api==1.1.0 in /usr/local/lib/python2.7/dist-packages (from kegbot)
Requirement already up-to-date: Django==1.6.6 in /usr/local/lib/python2.7/dist-packages (from kegbot)
Requirement already up-to-date: django-imagekit==3.1 in /usr/local/lib/python2.7/dist-packages (from kegbot)
Requirement already up-to-date: django-registration==1.0 in /usr/local/lib/python2.7/dist-packages (from kegbot)
Requirement already up-to-date: django-socialregistration==0.5.10 in /usr/local/lib/python2.7/dist-packages (from kegbot)
Requirement already up-to-date: django-bootstrap-pagination==0.1.10 in /usr/local/lib/python2.7/dist-packages (from kegbot)
Requirement already up-to-date: Celery==3.1.11 in /usr/local/lib/python2.7/dist-packages (from kegbot)
Requirement already up-to-date: kombu==3.0.16 in /usr/local/lib/python2.7/dist-packages (from kegbot)
Requirement already up-to-date: South==0.8.4 in /usr/local/lib/python2.7/dist-packages (from kegbot)
Requirement already up-to-date: django-crispy-forms==1.2.8 in /usr/local/lib/python2.7/dist-packages (from kegbot)
Requirement already up-to-date: foursquare==2014.04.10 in /usr/local/lib/python2.7/dist-packages (from kegbot)
Requirement already up-to-date: gunicorn==18.0 in /usr/local/lib/python2.7/dist-packages (from kegbot)
Requirement already up-to-date: MySQL-python==1.2.5 in /usr/local/lib/python2.7/dist-packages (from kegbot)
Requirement already up-to-date: pillow==2.4.0 in /usr/local/lib/python2.7/dist-packages (from kegbot)
Requirement already up-to-date: protobuf==2.5.0 in /usr/local/lib/python2.7/dist-packages (from kegbot)
Requirement already up-to-date: python-gflags==2.0 in /usr/local/lib/python2.7/dist-packages (from kegbot)
Requirement already up-to-date: django-redis==3.6.1 in /usr/local/lib/python2.7/dist-packages (from kegbot)
Requirement already up-to-date: pytz==2014.2 in /usr/local/lib/python2.7/dist-packages (from kegbot)
Requirement already up-to-date: redis==2.9.1 in /usr/local/lib/python2.7/dist-packages (from kegbot)
Requirement already up-to-date: requests==2.2.1 in /usr/local/lib/python2.7/dist-packages (from kegbot)
Requirement already up-to-date: tweepy==2.2 in /usr/local/lib/python2.7/dist-packages (from kegbot)
Requirement already up-to-date: jsonfield==0.9.20 in /usr/local/lib/python2.7/dist-packages (from kegbot)
Requirement already up-to-date: isodate==0.4.9 in /usr/local/lib/python2.7/dist-packages (from kegbot-pyutils==0.1.7->kegbot)
Requirement already up-to-date: django-appconf>=0.5 in /usr/local/lib/python2.7/dist-packages (from django-imagekit==3.1->kegbot)
Requirement already up-to-date: pilkit>=0.2.0 in /usr/local/lib/python2.7/dist-packages (from django-imagekit==3.1->kegbot)
Requirement already up-to-date: oauth2 in /usr/local/lib/python2.7/dist-packages (from django-socialregistration==0.5.10->kegbot)
Requirement already up-to-date: python-openid in /usr/local/lib/python2.7/dist-packages (from django-socialregistration==0.5.10->kegbot)
Requirement already up-to-date: mock in /usr/local/lib/python2.7/dist-packages (from django-socialregistration==0.5.10->kegbot)
Requirement already up-to-date: billiard>=3.3.0.17,<3.4 in /usr/local/lib/python2.7/dist-packages (from Celery==3.1.11->kegbot)
Requirement already up-to-date: anyjson>=0.3.3 in /usr/local/lib/python2.7/dist-packages (from kombu==3.0.16->kegbot)
Downloading/unpacking amqp>=1.4.5,<2.0 (from kombu==3.0.16->kegbot)
Downloading amqp-1.4.6.tar.gz (77kB): 77kB downloaded
Running setup.py egg_info for package amqp
Downloading/unpacking setuptools from https://pypi.python.org/packages/source/s/setuptools/setuptools-7.0.tar.gz#md5=6245d6752e2ef803c365f560f7f2f940 (from protobuf==2.5.0->kegbot)
Downloading setuptools-7.0.tar.gz (793kB): 793kB downloaded
Running setup.py egg_info for package setuptools
Requirement already up-to-date: six in /usr/local/lib/python2.7/dist-packages (from django-appconf>=0.5->django-imagekit==3.1->kegbot)
Requirement already up-to-date: httplib2 in /usr/local/lib/python2.7/dist-packages (from oauth2->django-socialregistration==0.5.10->kegbot)
Installing collected packages: amqp, setuptools
Found existing installation: amqp 1.4.3
Can’t uninstall ‘amqp’. No files were found to uninstall.
Running setup.py install for amqp
Found existing installation: setuptools 2.2
Can’t uninstall ‘setuptools’. No files were found to uninstall.
Running setup.py install for setuptools
Installing easy_install script to /usr/local/bin
Installing easy_install-2.7 script to /usr/local/bin
Successfully installed amqp setuptools
Cleaning up…
(kb)kegbotserver@kegbotserver:~$ sudo kegbot upgrade
Traceback (most recent call last):
File “/usr/local/bin/kegbot”, line 39, in
management.execute_from_command_line()
File “/usr/local/lib/python2.7/dist-packages/django/core/management/init.py”, line 399, in execute_from_command_line
utility.execute()
File “/usr/local/lib/python2.7/dist-packages/django/core/management/init.py”, line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File “/usr/local/lib/python2.7/dist-packages/django/core/management/base.py”, line 242, in run_from_argv
self.execute(*args, **options.dict)
File “/usr/local/lib/python2.7/dist-packages/django/core/management/base.py”, line 285, in execute
output = self.handle(*args, *options)
File “/usr/local/lib/python2.7/dist-packages/pykeg/core/management/commands/upgrade.py”, line 61, in handle
installed_version = models.KegbotSite.get_installed_version()
File “/usr/local/lib/python2.7/dist-packages/pykeg/core/models.py”, line 283, in get_installed_version
if not rows:
File “/usr/local/lib/python2.7/dist-packages/django/db/models/query.py”, line 100, in nonzero
self._fetch_all()
File “/usr/local/lib/python2.7/dist-packages/django/db/models/query.py”, line 857, in _fetch_all
self._result_cache = list(self.iterator())
File “/usr/local/lib/python2.7/dist-packages/django/db/models/query.py”, line 946, in iterator
for row in self.query.get_compiler(self.db).results_iter():
File “/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py”, line 713, in results_iter
for rows in self.execute_sql(MULTI):
File “/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py”, line 786, in execute_sql
cursor.execute(sql, params)
File “/usr/local/lib/python2.7/dist-packages/django/db/backends/util.py”, line 69, in execute
return super(CursorDebugWrapper, self).execute(sql, params)
File “/usr/local/lib/python2.7/dist-packages/django/db/backends/util.py”, line 53, in execute
return self.cursor.execute(sql, params)
File “/usr/local/lib/python2.7/dist-packages/django/db/utils.py”, line 99, in exit
six.reraise(dj_exc_type, dj_exc_value, traceback)
File “/usr/local/lib/python2.7/dist-packages/django/db/backends/util.py”, line 53, in execute
return self.cursor.execute(sql, params)
File “/usr/local/lib/python2.7/dist-packages/django/db/backends/sqlite3/base.py”, line 452, in execute
return Database.Cursor.execute(self, query, params)
django.db.utils.OperationalError: no such column: core_kegbotsite.server_version
(kb)kegbotserver@kegbotserver:~$