Can't run ./launcher rebuild app - Docker storage driver is unsupported

Hi @kraml I made it works in my sandbox server, but when i try the same thing in my production server I have the bootstrap error, and I have my docker working in a partition FSType 1 is mounted fine and I did the steps you mencioned

  • Stop the service
  • Mount the var/lib/docker in the partition
  • restart the daemon
  • start the service (all fine)
  • go to /var/discourse
  • launch the bootstrap and have the same error

    Any advice?

The log you copied in screenshot don’t help in diagnose the problem, you need to provide the full rebuild log.

It is high probable that one of your plugin caused the rebuild problem, if you are sure you have done the right steps regarding filesystem.

The final step was rename folder /var/discourse, and make a new install, good luck i have a backup and now my site is up and with all the data.

thanks! I can confirm that this works great on a Linode running Ubuntu 14.04. Note that I was not able to actually stop the app because of the launcher storage driver error message.

This seems to be the only thing that worked on my Ubuntu 16.04, thanks! :slight_smile:

In a similar situation (Debian 8 Jessie)

“Your Docker installation is not using a supported storage driver”

Docker info
Storage Driver: devicemapper

# cat /etc/debian_version
8.9

# dpkg --get-selections | grep linux-image
linux-image-3.16.0-4-amd64          install
linux-image-amd64                   install

# dpkg -L linux-image-3.16.0-4-amd64 | grep aufs
/lib/modules/3.16.0-4-amd64/kernel/fs/aufs
/lib/modules/3.16.0-4-amd64/kernel/fs/aufs/aufs.ko

Solution was to create new file: /etc/docker/daemon.json

{
  "storage-driver": "aufs"
}
service docker restart

This basically saved my life. Worked like a charm in my EC2 Linux instance and relived it.

According with:

For Ubuntu 14.04 version, you must install linux-image-extra-* package before install docker.
So if you already installed docker, you should uninstall it first before start to install linux-image-extra-* package.
sudo apt-get purge docker-ce
sudo rm -rf /var/lib/docker
sudo rm /etc/systemd/system/docker.service

Then install linux-image-extra-*

sudo apt-get update

sudo apt-get install \
    linux-image-extra-$(uname -r) \
    linux-image-extra-virtual

and finally reinstall docker from git

wget -qO- https://get.docker.com/ | sh

regards :ok_hand:

我找到了一个修复方法,如果仍然不起作用,请执行以下命令:cp /etc/systemd/system/docker.service /lib/systemd/system/docker.service。这解决了我的问题。

你好,

我尝试了 @mpalmer 的解决方案,但无法重新构建。

运行 docker info | grep Storage 后,我得到以下输出:

警告:不支持交换分区限制
警告:aufs 存储驱动已弃用,将在未来版本中移除。

无论如何,当我尝试重新构建时,系统显示:

您的 Docker 安装未使用受支持的存储驱动。如果我们继续操作,可能会导致安装损坏。
推荐使用 aufs 存储驱动,但 zfs/btrfs/overlay 和 overlay2 也可能有效。
已知其他存储驱动存在兼容性问题。
您可以通过运行 “docker info” 并查看“存储驱动”(Storage Driver)一行来确认当前使用的文件系统。

> ps ax |grep dockerd

864 ? Ssl 0:00 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock -s aufs
1664 pts/0 S+ 0:00 grep --color=auto dockerd

> cat /etc/lsb-release

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION=“Ubuntu 18.04.3 LTS”

我遗漏了什么?

请更新启动器:

cd /var/discourse
git pull

之后您就可以重新构建。

谢谢 @Falco。现在可以用了。