Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id D7E3BE00AF4; Wed, 13 Jan 2016 03:30:29 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [134.134.136.65 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 666DDE00AAF for ; Wed, 13 Jan 2016 03:30:27 -0800 (PST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP; 13 Jan 2016 03:30:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,288,1449561600"; d="scan'208";a="726086872" Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by orsmga003.jf.intel.com with ESMTP; 13 Jan 2016 03:30:25 -0800 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.22]) by IRSMSX103.ger.corp.intel.com ([169.254.3.143]) with mapi id 14.03.0248.002; Wed, 13 Jan 2016 11:30:25 +0000 From: "Barros Pena, Belen" To: "toaster@yoctoproject.org" Thread-Topic: Issue starting Toaster Thread-Index: AQHRTfXLY4AQCRdP5kWeZXR9W7zi4g== Date: Wed, 13 Jan 2016 11:30:24 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.5.9.151119 x-originating-ip: [10.237.224.80] MIME-Version: 1.0 Subject: Issue starting Toaster X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jan 2016 11:30:29 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: <1A644CA14CA40844806D252CE5330E4D@intel.com> Content-Transfer-Encoding: quoted-printable This is happening to me with both master and toaster-next at the moment. If I try to start when no toaster.sqlite file exists, Toaster fails to start. This is the error I see: The system will start. Check if toaster can listen on 0.0.0.0:8000 OK Operations to perform: Synchronize unmigrated apps: staticfiles, messages, toastermain, bldcollector, toastergui, humanize Apply all migrations: sessions, admin, auth, contenttypes, orm, bldcontrol Synchronizing apps without migrations: Creating tables... Running deferred SQL... Installing custom SQL... Running migrations: Rendering model states... DONE Applying orm.0001_initial...Traceback (most recent call last): File "../bitbake/bin/../lib/toaster/manage.py", line 10, in execute_from_command_line(sys.argv) File=20 "/home/yocto/master/venv/local/lib/python2.7/site-packages/django/core/mana gement/__init__.py", line 354, in execute_from_command_line utility.execute() File=20 "/home/yocto/master/venv/local/lib/python2.7/site-packages/django/core/mana gement/__init__.py", line 346, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File=20 "/home/yocto/master/venv/local/lib/python2.7/site-packages/django/core/mana gement/base.py", line 394, in run_from_argv self.execute(*args, **cmd_options) File=20 "/home/yocto/master/venv/local/lib/python2.7/site-packages/django/core/mana gement/base.py", line 445, in execute output =3D self.handle(*args, **options) File=20 "/home/yocto/master/venv/local/lib/python2.7/site-packages/django/core/mana gement/commands/migrate.py", line 222, in handle executor.migrate(targets, plan, fake=3Dfake, fake_initial=3Dfake_initia= l) File=20 "/home/yocto/master/venv/local/lib/python2.7/site-packages/django/db/migrat ions/executor.py", line 110, in migrate self.apply_migration(states[migration], migration, fake=3Dfake, fake_initial=3Dfake_initial) File=20 "/home/yocto/master/venv/local/lib/python2.7/site-packages/django/db/migrat ions/executor.py", line 148, in apply_migration state =3D migration.apply(state, schema_editor) File=20 "/home/yocto/master/venv/local/lib/python2.7/site-packages/django/db/migrat ions/migration.py", line 115, in apply operation.database_forwards(self.app_label, schema_editor, old_state, project_state) File=20 "/home/yocto/master/venv/local/lib/python2.7/site-packages/django/db/migrat ions/operations/models.py", line 59, in database_forwards schema_editor.create_model(model) File=20 "/home/yocto/master/venv/local/lib/python2.7/site-packages/django/db/backen ds/base/schema.py", line 286, in create_model self.execute(sql, params or None) File=20 "/home/yocto/master/venv/local/lib/python2.7/site-packages/django/db/backen ds/base/schema.py", line 111, in execute cursor.execute(sql, params) File=20 "/home/yocto/master/venv/local/lib/python2.7/site-packages/django/db/backen ds/utils.py", line 79, in execute return super(CursorDebugWrapper, self).execute(sql, params) File=20 "/home/yocto/master/venv/local/lib/python2.7/site-packages/django/db/backen ds/utils.py", line 64, in execute return self.cursor.execute(sql, params) File=20 "/home/yocto/master/venv/local/lib/python2.7/site-packages/django/db/utils. py", line 98, in __exit__ six.reraise(dj_exc_type, dj_exc_value, traceback) File=20 "/home/yocto/master/venv/local/lib/python2.7/site-packages/django/db/backen ds/utils.py", line 62, in execute return self.cursor.execute(sql) File=20 "/home/yocto/master/venv/local/lib/python2.7/site-packages/django/db/backen ds/sqlite3/base.py", line 316, in execute return Database.Cursor.execute(self, query) django.db.utils.OperationalError: table "orm_bitbakeversion" already exists Failed migrations, aborting system start Failed start. I am using a completely clean clone for good measure, but I might just be doing something silly. Any ideas about what could be going on? Thanks! Bel=E9n