[GH-ISSUE #55] Upgrade failed #34

Closed
opened 2026-02-27 15:57:05 +03:00 by kerem · 1 comment
Owner

Originally created by @yegorg on GitHub (Oct 7, 2015).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/55

Hi,

I've tried to upgrade webvirtcloud to first pre-release version, but I got the following errors:

root@ua-hvz-01:/srv/webvirtcloud# git pull
remote: Counting objects: 18, done.
remote: Total 18 (delta 11), reused 11 (delta 11), pack-reused 7
Unpacking objects: 100% (18/18), done.
From https://github.com/retspen/webvirtcloud
   993931e..11be03d  master     -> origin/master
 * [new tag]         v1.0       -> v1.0
Updating 993931e..11be03d
Fast-forward
 README.md                         |  4 ++++
 instances/templates/instance.html | 75 ++++++++++++++++++++++++++++++++++++++-------------------------------------
 2 files changed, 42 insertions(+), 37 deletions(-)
root@ua-hvz-01:/srv/webvirtcloud# python manage.py migrate
Traceback (most recent call last):
  File "manage.py", line 8, in <module>
    from django.core.management import execute_from_command_line
ImportError: No module named django.core.management
root@ua-hvz-01:/srv/webvirtcloud# sudo service supervisor restart
Restarting supervisor: supervisord.
root@ua-hvz-01:/srv/webvirtcloud#

However, application works as usual.

Originally created by @yegorg on GitHub (Oct 7, 2015). Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/55 Hi, I've tried to upgrade webvirtcloud to first pre-release version, but I got the following errors: ``` root@ua-hvz-01:/srv/webvirtcloud# git pull remote: Counting objects: 18, done. remote: Total 18 (delta 11), reused 11 (delta 11), pack-reused 7 Unpacking objects: 100% (18/18), done. From https://github.com/retspen/webvirtcloud 993931e..11be03d master -> origin/master * [new tag] v1.0 -> v1.0 Updating 993931e..11be03d Fast-forward README.md | 4 ++++ instances/templates/instance.html | 75 ++++++++++++++++++++++++++++++++++++++------------------------------------- 2 files changed, 42 insertions(+), 37 deletions(-) root@ua-hvz-01:/srv/webvirtcloud# python manage.py migrate Traceback (most recent call last): File "manage.py", line 8, in <module> from django.core.management import execute_from_command_line ImportError: No module named django.core.management root@ua-hvz-01:/srv/webvirtcloud# sudo service supervisor restart Restarting supervisor: supervisord. root@ua-hvz-01:/srv/webvirtcloud# ``` However, application works as usual.
kerem closed this issue 2026-02-27 15:57:05 +03:00
Author
Owner

@yegorg commented on GitHub (Oct 7, 2015):

FIXED.

root@ua-hvz-01:/srv/webvirtcloud# pip install django
Downloading/unpacking django
  Downloading Django-1.8.5-py2.py3-none-any.whl (6.2MB): 6.2MB downloaded
Installing collected packages: django
Successfully installed django
Cleaning up...
root@ua-hvz-01:/srv/webvirtcloud# pip freeze | grep -i django
Django==1.8.5
root@ua-hvz-01:/srv/webvirtcloud# python manage.py migrate
Operations to perform:
  Synchronize unmigrated apps: staticfiles, messages
  Apply all migrations: logs, sessions, admin, create, contenttypes, auth, instances, computes, accounts
Synchronizing apps without migrations:
  Creating tables...
    Running deferred SQL...
  Installing custom SQL...
Running migrations:
  No migrations to apply.
root@ua-hvz-01:/srv/webvirtcloud#
<!-- gh-comment-id:146149412 --> @yegorg commented on GitHub (Oct 7, 2015): FIXED. ``` root@ua-hvz-01:/srv/webvirtcloud# pip install django Downloading/unpacking django Downloading Django-1.8.5-py2.py3-none-any.whl (6.2MB): 6.2MB downloaded Installing collected packages: django Successfully installed django Cleaning up... root@ua-hvz-01:/srv/webvirtcloud# pip freeze | grep -i django Django==1.8.5 root@ua-hvz-01:/srv/webvirtcloud# python manage.py migrate Operations to perform: Synchronize unmigrated apps: staticfiles, messages Apply all migrations: logs, sessions, admin, create, contenttypes, auth, instances, computes, accounts Synchronizing apps without migrations: Creating tables... Running deferred SQL... Installing custom SQL... Running migrations: No migrations to apply. root@ua-hvz-01:/srv/webvirtcloud# ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtcloud#34
No description provided.