lava-dashboard database upgrade
I've successfully upgraded to the latest lava-server, lava-scheduler, and lava-dashboard using apt-get, but it looks like the backend database missed the bus. When I send a bundle to the dashboard server now (from the latest lava-dispatcher), I get the following deserialization failure:
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
helper.
File "/usr/lib/
importer(
File "/usr/lib/
self.
File "/usr/lib/
res = func(*args, **kw)
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
s_test_
File "/usr/lib/
self.
File "/usr/lib/
rel_obj = self.related.
File "/usr/lib/
num = len(clone)
File "/usr/lib/
self.
File "/usr/lib/
for row in compiler.
File "/usr/lib/
for rows in self.execute_
File "/usr/lib/
cursor.
File "/usr/lib/
return self.cursor.
DatabaseError: relation "dashboard_
LINE 1: ..._app_
The machine is running natty server.
Any suggestions on how to upgrade non-destructively to the latest schema?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Zygmunt Krynicki
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
There was a missing dependency for a few hours which would indicate that dashboard got updated before some other components but this should not affect the database. Could you please tell me the precise version of
lava-dashboard
lava-server
Could you please also run
sudo -u www-data lava-server manage migrate --list
And paste the output here?
Revision history for this message
|
#2 |
lava-server 0.5.1-0ubuntu0~
lava-dashboard 0.8-0ubuntu0~lava1
Output of sudo -u www-data lava-server manage migrate --list:
dashboard_app
(*) 0001_initial
(*) 0002_add_
(*) 0003_add_
(*) 0004_auto_
( ) 0005_auto_
( ) 0006_auto_
( ) 0007_auto__add_tag
( ) 0008_auto_
( ) 0009_auto_
( ) 0010_denormaliz
lava_projects
( ) 0001_add_
( ) 0002_add_
lava_scheduler_app
(*) 0001_initial
(*) 0002_auto_
(*) 0003_auto_
(*) 0004_fill_
(*) 0005_auto_
(*) 0006_auto_
( ) 0007_merged_
( ) 0008_auto_
Revision history for this message
|
#3 |
Interesting, could you please run: sudo dpkg-reconfigure lava-server (when asked don't reinstall the database for lava-server).
Once this is done could you please check if the problem persists? If it is fixed could you look at /var/log/syslog and add the parts that are related to your previous upgrade (look at timestamps please) here?
Revision history for this message
|
#4 |
bamboo2:/usr> sudo dpkg-reconfigure lava-server
* Reloading web server config apache2 [ OK ]
dbconfig-common: writing config to /etc/dbconfig-
* Reloading web server config apache2 [ OK ]
...but the problem remains.
Here's the output from the upgrade anyway. Looks like a django package is missing(?):
Oct 5 10:43:13 bamboo2 logger: (django-debian for package ): starting prerm script: lava-server upgrade 0.5.1-0ubuntu0~
Oct 5 10:43:13 bamboo2 logger: (django-debian for package lava-server): Loading web server integration files for apache2
Oct 5 10:43:13 bamboo2 logger: (django-debian for package lava-server): De-configuring web server
Oct 5 10:43:13 bamboo2 logger: (django-debian for package lava-server): Removing generated web server integration files
Oct 5 10:43:13 bamboo2 logger: (django-debian for package lava-server): Restarting apache2 web server
Oct 5 10:43:14 bamboo2 logger: (django-debian for package ): starting postrm script: lava-server upgrade 0.5.1-0ubuntu0~
Oct 5 10:43:14 bamboo2 logger: (django-debian for package lava-server): Loading web server integration files for apache2
Oct 5 10:43:14 bamboo2 logger: (django-debian for package lava-server): Loading web server integration files for apache2
Oct 5 10:43:14 bamboo2 logger: (django-debian for package lava-server): removing lava-server extension: lava-dashboard
Oct 5 10:43:14 bamboo2 logger: (django-debian for package lava-server): Preparing to run python code necessary for further configuration
Oct 5 10:43:15 bamboo2 snmpd[1206]: error on subcontainer 'ia_addr' insert (-1)
Oct 5 10:43:18 bamboo2 logger: (django-debian for package lava-server): Rebuilding cache of static files
Oct 5 10:43:18 bamboo2 logger: (django-debian for package lava-server): Traceback (most recent call last):
Oct 5 10:43:18 bamboo2 logger: (django-debian for package lava-server): File "/usr/lib/
Oct 5 10:43:18 bamboo2 logger: (django-debian for package lava-server): from django_seatbelt import seatbelt
Oct 5 10:43:18 bamboo2 logger: (django-debian for package lava-server): ImportError: No module named django_seatbelt
Oct 5 10:43:18 bamboo2 logger: (django-debian for package lava-server): Synchronizing database
Oct 5 10:43:18 bamboo2 logger: (django-debian for package lava-server): Traceback (most recent call last):
Oct 5 10:43:18 bamboo2 logger: (django-debian for package lava-server): File "/usr/lib/
Oct 5 10:43:18 bamboo2 logger: (django-debian for package lava-server): from django_seatbelt import seatbelt
Oct 5 10:43:18 bamboo2 logger: (django-debian for package lava-server): ImportError: No module named django_seatbelt
Oct 5 10:43:18 bamboo2 logger: (django-debian for package lava-server): Migrating database with south
Oct 5 10:43:18 bamboo2 logger: (django-debian for package lava-server): Traceback (most recent call last):
Oct 5 10:43:18 bamboo2 logger: (django-debian for package lava-server): File "/usr/lib/
Oct 5 10:43:18 bamboo2 logger: (django-debian for package lava-server): from django_seatbelt import seatbelt
Oct 5 10:43:18 bamboo2 logger: (django-debian for package lava-server): ImportError: No module named django_seatbelt
Oct 5 10:43:18 bamboo2 logger: (django-debian for package lava-server): Configuring web server
Oct 5 10:43:18 bamboo2 logger: (django-debian for package lava-server): Enabling WSGI (Web Service Gateway Interface) module if necessary
Oct 5 10:43:18 bamboo2 logger: (django-debian for package lava-server): Genarating integration files for apache2
Oct 5 10:43:18 bamboo2 logger: (django-debian for package lava-server): Genarating wsgi file: /etc/lava-
Oct 5 10:43:18 bamboo2 logger: (django-debian for package lava-server): Genarating apache2 configuration file: /etc/lava-
Oct 5 10:43:18 bamboo2 logger: (django-debian for package lava-server): Restarting the web server
Oct 5 10:43:20 bamboo2 logger: (django-debian for package ): starting config script: lava-server configure 0.4~a1-
Oct 5 10:43:20 bamboo2 logger: (django-debian for package lava-server): Loading web server integration files for apache2
Oct 5 10:43:20 bamboo2 logger: (django-debian for package ): starting postinst script: lava-server configure 0.4~a1-
Oct 5 10:43:20 bamboo2 logger: (django-debian for package lava-server): Loading web server integration files for apache2
Oct 5 10:43:20 bamboo2 logger: (django-debian for package lava-server): Setting up dbconfig-common configuration file
Oct 5 10:43:21 bamboo2 logger: (django-debian for package lava-server): Preparing to run python code necessary for further configuration
Oct 5 10:43:21 bamboo2 logger: (django-debian for package lava-server): Rebuilding cache of static files
Oct 5 10:43:21 bamboo2 logger: (django-debian for package lava-server): Traceback (most recent call last):
Oct 5 10:43:21 bamboo2 logger: (django-debian for package lava-server): File "/usr/lib/
Oct 5 10:43:21 bamboo2 logger: (django-debian for package lava-server): from django_seatbelt import seatbelt
Oct 5 10:43:21 bamboo2 logger: (django-debian for package lava-server): ImportError: No module named django_seatbelt
Oct 5 10:43:21 bamboo2 logger: (django-debian for package lava-server): Synchronizing database
Oct 5 10:43:21 bamboo2 logger: (django-debian for package lava-server): Traceback (most recent call last):
Oct 5 10:43:21 bamboo2 logger: (django-debian for package lava-server): File "/usr/lib/
Oct 5 10:43:21 bamboo2 logger: (django-debian for package lava-server): from django_seatbelt import seatbelt
Oct 5 10:43:21 bamboo2 logger: (django-debian for package lava-server): ImportError: No module named django_seatbelt
Oct 5 10:43:21 bamboo2 logger: (django-debian for package lava-server): Migrating database with south
Oct 5 10:43:21 bamboo2 logger: (django-debian for package lava-server): Traceback (most recent call last):
Oct 5 10:43:21 bamboo2 logger: (django-debian for package lava-server): File "/usr/lib/
Oct 5 10:43:21 bamboo2 logger: (django-debian for package lava-server): from django_seatbelt import seatbelt
Oct 5 10:43:21 bamboo2 logger: (django-debian for package lava-server): ImportError: No module named django_seatbelt
Oct 5 10:43:21 bamboo2 logger: (django-debian for package lava-server): Configuring web server
Oct 5 10:43:21 bamboo2 logger: (django-debian for package lava-server): Enabling WSGI (Web Service Gateway Interface) module if necessary
Oct 5 10:43:22 bamboo2 logger: (django-debian for package lava-server): Genarating integration files for apache2
Oct 5 10:43:22 bamboo2 logger: (django-debian for package lava-server): Genarating wsgi file: /etc/lava-
Oct 5 10:43:22 bamboo2 logger: (django-debian for package lava-server): Genarating apache2 configuration file: /etc/lava-
Oct 5 10:43:22 bamboo2 logger: (django-debian for package lava-server): Restarting the web server
Oct 5 10:43:22 bamboo2 logger: (django-debian for package lava-server): Loading web server integration files for apache2
Oct 5 10:43:22 bamboo2 logger: (django-debian for package lava-server): installing lava-server extension: lava-dashboard
Oct 5 10:43:22 bamboo2 logger: (django-debian for package lava-server): Preparing to run python code necessary for further configuration
Oct 5 10:43:23 bamboo2 logger: (django-debian for package lava-server): Rebuilding cache of static files
Oct 5 10:43:23 bamboo2 logger: (django-debian for package lava-server): Traceback (most recent call last):
Oct 5 10:43:23 bamboo2 logger: (django-debian for package lava-server): File "/usr/lib/
Oct 5 10:43:23 bamboo2 logger: (django-debian for package lava-server): from django_seatbelt import seatbelt
Oct 5 10:43:23 bamboo2 logger: (django-debian for package lava-server): ImportError: No module named django_seatbelt
Oct 5 10:43:23 bamboo2 logger: (django-debian for package lava-server): Synchronizing database
Oct 5 10:43:23 bamboo2 logger: (django-debian for package lava-server): Traceback (most recent call last):
Oct 5 10:43:23 bamboo2 logger: (django-debian for package lava-server): File "/usr/lib/
Oct 5 10:43:23 bamboo2 logger: (django-debian for package lava-server): from django_seatbelt import seatbelt
Oct 5 10:43:23 bamboo2 logger: (django-debian for package lava-server): ImportError: No module named django_seatbelt
Oct 5 10:43:23 bamboo2 logger: (django-debian for package lava-server): Migrating database with south
Oct 5 10:43:23 bamboo2 logger: (django-debian for package lava-server): Traceback (most recent call last):
Oct 5 10:43:23 bamboo2 logger: (django-debian for package lava-server): File "/usr/lib/
Oct 5 10:43:23 bamboo2 logger: (django-debian for package lava-server): from django_seatbelt import seatbelt
Oct 5 10:43:23 bamboo2 logger: (django-debian for package lava-server): ImportError: No module named django_seatbelt
Oct 5 10:43:23 bamboo2 logger: (django-debian for package lava-server): Configuring web server
Oct 5 10:43:23 bamboo2 logger: (django-debian for package lava-server): Enabling WSGI (Web Service Gateway Interface) module if necessary
Oct 5 10:43:23 bamboo2 logger: (django-debian for package lava-server): Genarating integration files for apache2
Oct 5 10:43:23 bamboo2 logger: (django-debian for package lava-server): Genarating wsgi file: /etc/lava-
Oct 5 10:43:23 bamboo2 logger: (django-debian for package lava-server): Genarating apache2 configuration file: /etc/lava-
Oct 5 10:43:23 bamboo2 logger: (django-debian for package lava-server): Restarting the web server
Oct 5 10:43:45 bamboo2 snmpd[1206]: error on subcontainer 'ia_addr' insert (-1)
Oct 5 10:43:49 bamboo2 logger: (django-debian for package lava-server): Loading web server integration files for apache2
Oct 5 10:43:49 bamboo2 logger: (django-debian for package lava-server): removing lava-server extension: lava-scheduler
Oct 5 10:43:49 bamboo2 logger: (django-debian for package lava-server): Preparing to run python code necessary for further configuration
Oct 5 10:43:50 bamboo2 logger: (django-debian for package lava-server): Rebuilding cache of static files
Oct 5 10:43:50 bamboo2 logger: (django-debian for package lava-server): Traceback (most recent call last):
Oct 5 10:43:50 bamboo2 logger: (django-debian for package lava-server): File "/usr/lib/
Oct 5 10:43:50 bamboo2 logger: (django-debian for package lava-server): from django_seatbelt import seatbelt
Oct 5 10:43:50 bamboo2 logger: (django-debian for package lava-server): ImportError: No module named django_seatbelt
Oct 5 10:43:50 bamboo2 logger: (django-debian for package lava-server): Synchronizing database
Oct 5 10:43:50 bamboo2 logger: (django-debian for package lava-server): Traceback (most recent call last):
Oct 5 10:43:50 bamboo2 logger: (django-debian for package lava-server): File "/usr/lib/
Oct 5 10:43:50 bamboo2 logger: (django-debian for package lava-server): from django_seatbelt import seatbelt
Oct 5 10:43:50 bamboo2 logger: (django-debian for package lava-server): ImportError: No module named django_seatbelt
Oct 5 10:43:50 bamboo2 logger: (django-debian for package lava-server): Migrating database with south
Oct 5 10:43:50 bamboo2 logger: (django-debian for package lava-server): Traceback (most recent call last):
Oct 5 10:43:50 bamboo2 logger: (django-debian for package lava-server): File "/usr/lib/
Oct 5 10:43:50 bamboo2 logger: (django-debian for package lava-server): from django_seatbelt import seatbelt
Oct 5 10:43:50 bamboo2 logger: (django-debian for package lava-server): ImportError: No module named django_seatbelt
Oct 5 10:43:50 bamboo2 logger: (django-debian for package lava-server): Configuring web server
Oct 5 10:43:50 bamboo2 logger: (django-debian for package lava-server): Enabling WSGI (Web Service Gateway Interface) module if necessary
Oct 5 10:43:50 bamboo2 logger: (django-debian for package lava-server): Genarating integration files for apache2
Oct 5 10:43:50 bamboo2 logger: (django-debian for package lava-server): Genarating wsgi file: /etc/lava-
Oct 5 10:43:50 bamboo2 logger: (django-debian for package lava-server): Genarating apache2 configuration file: /etc/lava-
Oct 5 10:43:50 bamboo2 logger: (django-debian for package lava-server): Restarting the web server
Oct 5 10:43:52 bamboo2 logger: (django-debian for package lava-server): Loading web server integration files for apache2
Oct 5 10:43:52 bamboo2 logger: (django-debian for package lava-server): installing lava-server extension: lava-scheduler
Oct 5 10:43:52 bamboo2 logger: (django-debian for package lava-server): Preparing to run python code necessary for further configuration
Oct 5 10:43:53 bamboo2 logger: (django-debian for package lava-server): Rebuilding cache of static files
Oct 5 10:43:53 bamboo2 logger: (django-debian for package lava-server): Traceback (most recent call last):
Oct 5 10:43:53 bamboo2 logger: (django-debian for package lava-server): File "/usr/lib/
Oct 5 10:43:53 bamboo2 logger: (django-debian for package lava-server): from django_seatbelt import seatbelt
Oct 5 10:43:53 bamboo2 logger: (django-debian for package lava-server): ImportError: No module named django_seatbelt
Oct 5 10:43:53 bamboo2 logger: (django-debian for package lava-server): Synchronizing database
Oct 5 10:43:53 bamboo2 logger: (django-debian for package lava-server): Traceback (most recent call last):
Oct 5 10:43:53 bamboo2 logger: (django-debian for package lava-server): File "/usr/lib/
Oct 5 10:43:53 bamboo2 logger: (django-debian for package lava-server): from django_seatbelt import seatbelt
Oct 5 10:43:53 bamboo2 logger: (django-debian for package lava-server): ImportError: No module named django_seatbelt
Oct 5 10:43:53 bamboo2 logger: (django-debian for package lava-server): Migrating database with south
Oct 5 10:43:53 bamboo2 logger: (django-debian for package lava-server): Traceback (most recent call last):
Oct 5 10:43:53 bamboo2 logger: (django-debian for package lava-server): File "/usr/lib/
Oct 5 10:43:53 bamboo2 logger: (django-debian for package lava-server): from django_seatbelt import seatbelt
Oct 5 10:43:53 bamboo2 logger: (django-debian for package lava-server): ImportError: No module named django_seatbelt
Oct 5 10:43:53 bamboo2 logger: (django-debian for package lava-server): Configuring web server
Oct 5 10:43:53 bamboo2 logger: (django-debian for package lava-server): Enabling WSGI (Web Service Gateway Interface) module if necessary
Oct 5 10:43:54 bamboo2 logger: (django-debian for package lava-server): Genarating integration files for apache2
Oct 5 10:43:54 bamboo2 logger: (django-debian for package lava-server): Genarating wsgi file: /etc/lava-
Oct 5 10:43:54 bamboo2 logger: (django-debian for package lava-server): Genarating apache2 configuration file: /etc/lava-
Oct 5 10:43:54 bamboo2 logger: (django-debian for package lava-server): Restarting the web server
Revision history for this message
|
#5 |
Odd, could you please try installing django-seatbelt package from our ppa and try again (reconfiguring lava-server)
Revision history for this message
|
#6 |
It's acting like the package isn't there--I even re-added the ppa to be sure:
bamboo2:~> sudo apt-get install django-seatbelt
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package django-seatbelt
bamboo2:~> sudo add-apt-repository ppa:linaro-
Executing: gpg --ignore-
gpg: requesting key B4487581 from hkp server keyserver.
gpg: key B4487581: "Launchpad PPA for Linaro Validation Team" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
bamboo2:~> sudo apt-get update
<snip>
bamboo2:~> sudo apt-get install django-seatbelt
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package django-seatbelt
Revision history for this message
|
#7 |
Ah, my mistake. I used the source package name (django-seatbelt) while you should install the binary package name python-
Could you please install that instead, then reconfigure lava-server and check if it fixed the problem?e
Revision history for this message
|
#8 |
I reconfigured lava-server with django-seatbelt installed, but still no dice. Here's the syslog of the reconfiguration:
Oct 6 09:11:28 bamboo2 logger: (django-debian for package ): starting prerm script: lava-server upgrade 0.5.1-0ubuntu0~
Oct 6 09:11:28 bamboo2 logger: (django-debian for package lava-server): Loading web server integration files for apache2
Oct 6 09:11:28 bamboo2 logger: (django-debian for package lava-server): De-configuring web server
Oct 6 09:11:28 bamboo2 logger: (django-debian for package lava-server): Removing generated web server integration files
Oct 6 09:11:28 bamboo2 logger: (django-debian for package lava-server): Restarting apache2 web server
Oct 6 09:11:29 bamboo2 logger: (django-debian for package ): starting config script: lava-server reconfigure 0.5.1-0ubuntu0~
Oct 6 09:11:29 bamboo2 logger: (django-debian for package lava-server): Loading web server integration files for apache2
Oct 6 09:11:31 bamboo2 logger: (django-debian for package ): starting postinst script: lava-server configure 0.5.1-0ubuntu0~
Oct 6 09:11:31 bamboo2 logger: (django-debian for package lava-server): Loading web server integration files for apache2
Oct 6 09:11:31 bamboo2 logger: (django-debian for package lava-server): Setting up dbconfig-common configuration file
Oct 6 09:11:32 bamboo2 logger: (django-debian for package lava-server): Preparing to run python code necessary for further configuration
Oct 6 09:11:33 bamboo2 logger: (django-debian for package lava-server): Rebuilding cache of static files
Oct 6 09:11:33 bamboo2 logger: (django-debian for package lava-server): 147 static files built.
Oct 6 09:11:33 bamboo2 logger: (django-debian for package lava-server): Synchronizing database
Oct 6 09:11:33 bamboo2 logger: (django-debian for package lava-server): Syncing...
Oct 6 09:11:33 bamboo2 logger: (django-debian for package lava-server): No fixtures found.
Oct 6 09:11:33 bamboo2 logger: (django-debian for package lava-server):
Oct 6 09:11:33 bamboo2 logger: (django-debian for package lava-server): Synced:
Oct 6 09:11:33 bamboo2 logger: (django-debian for package lava-server): > django.contrib.auth
Oct 6 09:11:33 bamboo2 logger: (django-debian for package lava-server): > django.
Oct 6 09:11:33 bamboo2 logger: (django-debian for package lava-server): > django.
Oct 6 09:11:33 bamboo2 logger: (django-debian for package lava-server): > django.
Oct 6 09:11:33 bamboo2 logger: (django-debian for package lava-server): > django.
Oct 6 09:11:33 bamboo2 logger: (django-debian for package lava-server): > django_openid_auth
Oct 6 09:11:33 bamboo2 logger: (django-debian for package lava-server): > staticfiles
Oct 6 09:11:33 bamboo2 logger: (django-debian for package lava-server): > django.
Oct 6 09:11:33 bamboo2 logger: (django-debian for package lava-server): > linaro_
Oct 6 09:11:33 bamboo2 logger: (django-debian for package lava-server): > lava_markitup
Oct 6 09:11:33 bamboo2 logger: (django-debian for package lava-server): > south
Oct 6 09:11:33 bamboo2 logger: (django-debian for package lava-server): > linaro_
Oct 6 09:11:33 bamboo2 logger: (django-debian for package lava-server):
Oct 6 09:11:33 bamboo2 logger: (django-debian for package lava-server): Not synced (use migrations):
Oct 6 09:11:33 bamboo2 logger: (django-debian for package lava-server): - dashboard_app
Oct 6 09:11:33 bamboo2 logger: (django-debian for package lava-server): - lava_projects
Oct 6 09:11:33 bamboo2 logger: (django-debian for package lava-server): - lava_scheduler_app
Oct 6 09:11:33 bamboo2 logger: (django-debian for package lava-server): (use ./manage.py migrate to migrate these)
Oct 6 09:11:33 bamboo2 logger: (django-debian for package lava-server): Migrating database with south
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): Running migrations for dashboard_app:
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): - Migrating forwards to 0010_denormaliz
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): > dashboard_
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): > dashboard_
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): > dashboard_
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): > dashboard_
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): Traceback (most recent call last):
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): File "/usr/lib/
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): main()
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): File "/usr/lib/
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): execute_
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): File "/usr/lib/
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): utility.execute()
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): File "/usr/lib/
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): self.fetch_
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): File "/usr/lib/
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): self.execute(*args, **options.__dict__)
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): File "/usr/lib/
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): output = self.handle(*args, **options)
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): File "/usr/lib/
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): ignore_ghosts = ignore_ghosts,
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): File "/usr/lib/
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): success = migrator.
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): File "/usr/lib/
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): result = migrator.
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): File "/usr/lib/
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): result = self.migrate(
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): File "/usr/lib/
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): result = self.run(migration)
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): File "/usr/lib/
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): return self.run_
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): File "/usr/lib/
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): south.db.
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): File "/usr/lib/
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): self.execute(sql)
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): File "/usr/lib/
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): cursor.execute(sql, params)
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): File "/usr/lib/
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): return self.cursor.
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): django.
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server):
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): Configuring web server
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): Enabling WSGI (Web Service Gateway Interface) module if necessary
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): Genarating integration files for apache2
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): Genarating wsgi file: /etc/lava-
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): Genarating apache2 configuration file: /etc/lava-
Oct 6 09:11:34 bamboo2 logger: (django-debian for package lava-server): Restarting the web server
Revision history for this message
|
#9 |
Let's try to run the migrations one at a time:
$ sudo -u www-data lava-server manage migrate lava_projects
$ sudo -u www-data lava-server manage migrate dashboard_app
$ sudo -u www-data lava-server manage migrate lava_scheduler_app
I believe that the root cause of this issue is:
1) Missing dependency (or too weak dependency) on python-
2) Missing dependency between migrations.