У меня есть установка nextcloud, основанная на docker-compose.yml, который работал ровно как минимум 6 месяцев.Внезапно я больше не мог добраться до внешнего интерфейса (получил 500).
Честно говоря, я не знаю, что случилось, и мне нужна помощь.
То, что я делал до сих пор ...
Я вошел в систему и выполнил операцию, а затем перебрал докер-d.Кажется, что mariadb больше не может быть запущен ....
Ошибка:
Removing nextcloud-letsencrypt
Removing nextcloud-mariadb
Recreating 4378ae40b393_nextcloud-mariadb ...
Recreating 4378ae40b393_nextcloud-mariadb ... error
Recreating 30867336c79f_nextcloud-letsencrypt ...</p>
<p>ERROR: for 4378ae40b393_nextcloud-mariadb Cannot start service db: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"process_linux.go:367: setting cgroup config for procHooks process caused \\"failed to write c 10:200 rwm to devices.allow: write /sys/fs/cgroup/devices/docker/c26f550b873f2c0c37Recreating 30867336c79f_nextcloud-letsencrypt ... error</p>
<p>ERROR: for 30867336c79f_nextcloud-letsencrypt Cannot start service letsencrypt: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"process_linux.go:367: setting cgroup config for procHooks process caused \\"failed to write c 10:200 rwm to devices.allow: write /sys/fs/cgroup/devices/docker/487b874d0bff9bf4810cb908fa3d27c955fb1d65dd0f07c727f4b5667f24767d/devices.allow: operation not permitted\\"\"": unknown</p>
<p>ERROR: for db Cannot start service db: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"process_linux.go:367: setting cgroup config for procHooks process caused \\"failed to write c 10:200 rwm to devices.allow: write /sys/fs/cgroup/devices/docker/c26f550b873f2c0c376f5174ce4b1f64e536e8b876bf3438bb3ef77f16b76426/devices.allow: operation not permitted\\"\"": unknown</p>
<p>ERROR: for letsencrypt Cannot start service letsencrypt: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"process_linux.go:367: setting cgroup config for procHooks process caused \\"failed to write c 10:200 rwm to devices.allow: write /sys/fs/cgroup/devices/docker/487b874d0bff9bf4810cb908fa3d27c955fb1d65dd0f07c727f4b5667f24767d/devices.allow: operation not permitted\\"\"": unknown
ERROR: Encountered errors while bringing up the project.
hasp@h2800129:~/myCloud$ ERROR: for 4378ae40b393_nextcloud-mariadb Cannot start service db: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"process_linux.go:367: setting cgroup config for procHooks process caused \\"failed to write c 10:200 rwm to devices.allow: write /sys/fs/cgroup/devices/docker/c26f550b873f2c0c37Recreating 30867336c79f_nextcloud-letsencrypt ... error
Для тех, кто может помочь мне, как большой пользователь, y docker-compose.yml не былтронут в течение последних месяцев ... И выглядит так
version: '3'</p>
<p>services:</p>
<p>proxy:
image: jwilder/nginx-proxy:alpine
labels:
- "com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy=true"
container_name: nextcloud-proxy
networks:
- nextcloud_network
ports:
- 80:80
- 443:443
volumes:
- ./proxy/conf.d:/etc/nginx/conf.d:rw
- ./proxy/vhost.d:/etc/nginx/vhost.d:rw
- ./proxy/html:/usr/share/nginx/html:rw
- ./proxy/certs:/etc/nginx/certs:ro
- /etc/localtime:/etc/localtime:ro
- /var/run/docker.sock:/tmp/docker.sock:ro
- ./uploadsize.conf:/etc/nginx/conf.d/uploadsize.conf:ro
restart: unless-stopped</p>
<p>letsencrypt:
image: jrcs/letsencrypt-nginx-proxy-companion
container_name: nextcloud-letsencrypt
depends_on:
- proxy
networks:
- nextcloud_network
volumes:
- ./proxy/certs:/etc/nginx/certs:rw
- ./proxy/vhost.d:/etc/nginx/vhost.d:rw
- ./proxy/html:/usr/share/nginx/html:rw
- /etc/localtime:/etc/localtime:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
restart: unless-stopped</p>
<p>db:
image: mariadb
container_name: nextcloud-mariadb
networks:
- nextcloud_network
volumes:
- db:/var/lib/mysql
- /etc/localtime:/etc/localtime:ro
environment:
- MYSQL_ROOT_PASSWORD=some_root_password
- MYSQL_PASSWORD=some_password
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
restart: unless-stopped</p>
<p>app:
image: nextcloud:latest
container_name: nextcloud-app
networks:
- nextcloud_network
depends_on:
- letsencrypt
- proxy
- db
volumes:
- nextcloud:/var/www/html
- ./app/config:/var/www/html/config
- ./app/custom_apps:/var/www/html/custom_apps
- ./app/data:/var/www/html/data
- ./app/themes:/var/www/html/themes
- /etc/localtime:/etc/localtime:ro
environment:
- VIRTUAL_HOST=nextcloud.hasp.de
- LETSENCRYPT_HOST=nextcloud.hasp.de
- LETSENCRYPT_EMAIL=hannes@hasp.de
restart: unless-stopped</p>
<p>volumes:
nextcloud:
db:</p>
<p>networks:
nextcloud_network:</p>
<p>