On 01/14/2013 10:35 PM, Koper, Dies wrote:
> I just did a git pull and now DC won't start anymore:
>
> d:\sources\OSS\cloud\deltacloud>server\bin\deltacloudd -i fgcp -f cimi
> Starting Deltacloud API :: fgcp ::
> http://localhost:3001/cimi/cloudEntryPoint
>
> D:/programs/Ruby187/lib/ruby/gems/1.8/gems/dm-migrations-1.2.0/lib/dm-mi
> grations/adapters/dm-do-adapter.rb:70:in `execute_non_query': Cannot add
> a NOT NULL column with default value NULL (DataObjects::SyntaxError)
>         from
> D:/programs/Ruby187/lib/ruby/gems/1.8/gems/dm-migrations-1.2.0/lib/dm-mi
> grations/adapters/dm-do-adapter.rb:70:in `upgrade_model_storage'
> ...
>         from
> D:/programs/Ruby187/lib/ruby/gems/1.8/gems/dm-migrations-1.2.0/lib/dm-mi
> grations/auto_migration.rb:27:in `auto_upgrade!'
>         from d:/sources/OSS/cloud/deltacloud/server/lib/db.rb:25:in
> `initialize_database'
>
> How do I resolve this?
>
> Cheers,
> Dies Koper
>

Dies,

Some changes to the db layout were pushed yesterday that
might be causing this.

You can try resetting the database with:

% rake mock:fixtures:reset

from the <your repo>/deltacloud/server

Let me know if that doesn't do the trick.

Joe



Reply via email to