From 70705ca5bfa8deb2ef757a3541b22d01ba8b4366 Mon Sep 17 00:00:00 2001 From: Michael Pinnegar Date: Sat, 12 Dec 2020 17:28:08 -0500 Subject: [PATCH] Updated Common errors (asciidoc) --- Common-errors.asciidoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Common-errors.asciidoc b/Common-errors.asciidoc index 7c59597..703bd0f 100644 --- a/Common-errors.asciidoc +++ b/Common-errors.asciidoc @@ -6,4 +6,6 @@ If you see a message such as the following: Cannot start service sql: b"error while creating mount source path '/var/local/szurubooru/sql': mkdir /var/local/szurubooru: read-only file system" ``` -then you should ensure that the mountpoint for the data directory ($MOUNT_DATA in .env) is owned by UID/GID 1000:1000, but you need to do this on the host machine, not inside the container (Example: `chmod -R 1000:1000 /var/local/szurubooru` if your mountpoint is `/var/local/szurubooru`) \ No newline at end of file +then you should ensure that the mountpoint for the data directory ($MOUNT_DATA in .env) is owned by UID/GID 1000:1000, but you need to do this on the host machine, not inside the container (Example: `chmod -R 1000:1000 /var/local/szurubooru` if your mountpoint is `/var/local/szurubooru`) + +Another cause of this problem can be using docker installed from a snap package. If you have the entry `docker` showing up in snap's `sudo snap list` then you should remove docker snap `sudo snap remove docker`. Once you've removed the snap based docker you'll need to https://docs.docker.com/engine/install/[install docker using your distro's package management system]. \ No newline at end of file