<div dir="ltr"><div>I don't know which problem/error happened during the update/upgrade, but i resolved it doing this:<br><br>Execute: sqlite3 /var/lib/lxd/lxd.db and run 2 comands:<br></div><div><div><br>ALTER TABLE containers ADD COLUMN creation_date DATETIME NOT NULL DEFAULT 0;
<br><br><span class="">INSERT INTO schema (version, updated_at) VALUES (22, strftime("%s"));<br><span class=""></span></span><br></div><div>source: <a href="https://github.com/lxc/lxd/blob/master/lxd/db_update.go">https://github.com/lxc/lxd/blob/master/lxd/db_update.go</a><br></div><div><br></div><div>After, restart LXD:<br><br></div><div>systemctl restart lxd<br><br><br><br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-11 19:40 GMT-03:00 Hudson FAS <span dir="ltr"><<a href="mailto:hudsonfas@gmail.com" target="_blank">hudsonfas@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello, everybody<br><div><div><div><div><br>After upgrade ubuntu 15.10, my LXD don't start:<br><br>systemctl status lxd.service<br>● lxd.service - Container hypervisor based on LXC<br> Loaded: loaded (/lib/systemd/system/lxd.service; indirect; vendor preset: enabled)<br> Active: activating (start-post) (Result: exit-code) since Thu 2016-02-11 19:20:39 BRT; 46s ago<br> Process: 11522 ExecStart=/usr/bin/lxd --group lxd --logfile=/var/log/lxd/lxd.log (code=exited, status=1/FAILURE)<br> Main PID: 11522 (code=exited, status=1/FAILURE); : 11523 (lxd)<br> Memory: 404.0K<br> CPU: 16ms<br> CGroup: /system.slice/lxd.service<br><br>Feb 11 19:20:39 vmserv systemd[1]: Starting Container hypervisor based on LXC...<br>Feb 11 19:20:39 vmserv lxd[11522]: t=2016-02-11T19:20:39-0300 lvl=warn msg="CGroup memory swap accounting is disabled, swap limits will be ignored."<br>Feb 11 19:20:39 vmserv lxd[11522]: error: no such column: creation_date<br>Feb 11 19:20:39 vmserv systemd[1]: lxd.service: Main process exited, code=exited, status=1/FAILURE<br><br></div><div>Last Log LXD:<br>t=2016-02-11T19:28:12-0300 lvl=info msg="LXD is starting" path=/var/lib/lxd<br>t=2016-02-11T19:28:12-0300 lvl=warn msg="CGroup memory swap accounting is disabled, swap limits will be ignored."<br>t=2016-02-11T19:28:12-0300 lvl=info msg="Default uid/gid map:"<br>t=2016-02-11T19:28:12-0300 lvl=info msg=" - u 0 165536 65536"<br>t=2016-02-11T19:28:12-0300 lvl=info msg=" - g 0 165536 65536"<br><br></div><div><br></div><div>Ubuntu:<br></div><div><br>DISTRIB_ID=Ubuntu<br>DISTRIB_RELEASE=15.10<br>DISTRIB_CODENAME=wily<br>DISTRIB_DESCRIPTION="Ubuntu 15.10"<br><br>Kernel:<br>Linux vmserv 4.2.0-27-generic #32-Ubuntu SMP Fri Jan 22 04:49:08 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux<br><br>LXD/LXC:<br>ii liblxc1 2.0.0~beta2-0ubuntu2~ubuntu15.10.1~ppa1 amd64 Linux Containers userspace tools (library)<br>ii lxc 2.0.0~beta2-0ubuntu2~ubuntu15.10.1~ppa1 amd64 Linux Containers userspace tools<br>ii lxc-templates 2.0.0~beta2-0ubuntu2~ubuntu15.10.1~ppa1 amd64 Linux Containers userspace tools (templates)<br>ii lxcfs 2.0.0~beta1-0ubuntu1~ubuntu15.10.1~ppa1 amd64 FUSE based filesystem for LXC<br>ii lxd 2.0.0~beta2-0ubuntu1~ubuntu15.10.1~ppa1 amd64 Container hypervisor based on LXC - daemon<br>ii lxd-client 2.0.0~beta2-0ubuntu1~ubuntu15.10.1~ppa1 amd64 Container hypervisor based on LXC - client<br>ii lxd-tools 2.0.0~beta2-0ubuntu1~ubuntu15.10.1~ppa1 amd64 Container hypervisor based on LXC - extra tools<br>ii python3-lxc 2.0.0~beta2-0ubuntu2~ubuntu15.10.1~ppa1 amd64 Linux Containers userspace tools (Python 3.x bindings)<br><br></div><div>Can everybody help me ?<br></div></div></div></div></div>
</blockquote></div><br></div>