Seafile error docker-compose

Hi,
I am experiencing an issue while attempting to install Seafile on Docker. Despite having full access to the directories and being able to read and write to them manually, I keep encountering a “read-only file system” error when running docker-compose up -d.

Below is the error message I receive:
ERROR: for seafile-elasticsearch Cannot start service elasticsearch: error while creating mount source path ‘/opt/seafile-elasticsearch/data’: mkdir /opt/seafile-elasticsearch: read-only file system

ERROR: for seafile-caddy Cannot start service caddy: error while creating mount source path ‘/opt/seafile-caddy’: mkdir /opt/seafile-caddy: read-only file system

ERROR: for db Cannot start service db: error while creating mount source path ‘/opt/seafile-mysql/db’: mkdir /opt/seafile-mysql: read-only file system

ERROR: for elasticsearch Cannot start service elasticsearch: error while creating mount source path ‘/opt/seafile-elasticsearch/data’: mkdir /opt/seafile-elasticsearch: read-only file system

ERROR: for caddy Cannot start service caddy: error while creating mount source path ‘/opt/seafile-caddy’: mkdir /opt/seafile-caddy: read-only file system
ERROR: Encountered errors while bringing up the project.

I would appreciate any guidance on resolving this issue

Thanks
Omar Farah

Hello!

In your command-line terminal, could you please paste here the output of the following command?

sudo mount

Also, to rule out a race condition, try the following command and then retry your task:

sudo systemctl restart docker