ONLYOFFICE / docker-onlyoffice-owncloud

MIT License
98 stars 32 forks source link

Wrong IP on the docker network? #13

Open andersonid opened 6 years ago

andersonid commented 6 years ago

Hello folks,

I have nextcloud:fpm intalled and working fine, using this tutorial until yesterday. I have all settings persisting for days... nothing was changed, and nothing was lost after reboots... But yesterday... after a reboot on my server, the application stops to work.

Everything seems to be up... all containers is UP and RUNNING. But I cant open the web page anymore. Now I got Blank page or Error 503.

Inspecting my docker network with this command: docker network inspect dockeronlyofficeowncloud_onlyoffice I got this output: { "Name": "dockeronlyofficeowncloud_onlyoffice", "Id": "6839de04c851522862b5de3de4b9faa5bad2f32817bcc1ccc5156a7a35f9ce5a", "Created": "2018-01-20T15:22:04.206775461Z", "Scope": "local", "Driver": "bridge", "EnableIPv6": false, "IPAM": { "Driver": "default", "Options": null, "Config": [ { "Subnet": "172.18.0.0/16", "Gateway": "172.18.0.1" } ] }, "Internal": false, "Attachable": true, "Ingress": false, "ConfigFrom": { "Network": "" }, "ConfigOnly": false, "Containers": { "01a08986a2748f3196d922cec5c66fbb169151ca69c57d03948d04b85d582f67": { "Name": "mariadb-server", "EndpointID": "4551ce4fa1e0a800ec7ebb97b9f8905eeaa5d37c79b92e6023d4ae94f165eda4", "MacAddress": "02:42:ac:12:00:03", "IPv4Address": "172.18.0.3/16", "IPv6Address": "" }, "0943940a0e2c9cf4d22e432bd66d1ae61c75e9ebd435cefe479e241e42408a41": { "Name": "onlyoffice-document-server", "EndpointID": "bb2045a87d3b12cd0643424a636dc8b6161c182cbb0b6338de5c80e4c57e5894", "MacAddress": "02:42:ac:12:00:05", "IPv4Address": "172.18.0.5/16", "IPv6Address": "" }, "582bf6226052f8aba0096380e4b394bdeb35c22ec5c40960c3b649d57dd4e2b3": { "Name": "nginx-server", "EndpointID": "96d93f70b05cb5f0a0fccf57050afcfd5330a6b425305441938e573e760c7f4e", "MacAddress": "02:42:ac:12:00:02", "IPv4Address": "172.18.0.2/16", "IPv6Address": "" }, "5f57cdd4e651acad6bf00932b775afa66f0af6b878c318fdfe7b4f8f91f47a69": { "Name": "app-server", "EndpointID": "64181f61d8debdcbd202d6083d74aeb3c3f0b56edd1907ddd8d3454dbb9c6cfe", "MacAddress": "02:42:ac:12:00:04", "IPv4Address": "172.18.0.4/16", "IPv6Address": "" } }, "Options": {}, "Labels": { "com.docker.compose.network": "onlyoffice", "com.docker.compose.project": "dockeronlyofficeowncloud" } }

And inspecting my app-server container I have: `[root@4cloud docker-onlyoffice-owncloud]# docker logs app-server Cannot write into "config" directory! This can usually be fixed by giving the webserver write access to the config directory

See https://docs.nextcloud.com/server/12/go.php?to=admin-dir_permissions The following apps have beed disabled: [26-Jan-2018 12:11:05] NOTICE: fpm is running, pid 1 [26-Jan-2018 12:11:05] NOTICE: ready to handle connections 172.18.0.2 - 26/Jan/2018:12:11:33 +0000 "GET /index.php" 503 172.18.0.2 - 26/Jan/2018:12:11:35 +0000 "GET /index.php" 503 172.18.0.2 - 26/Jan/2018:12:18:06 +0000 "GET /index.php" 503 172.18.0.2 - 26/Jan/2018:12:30:34 +0000 "OPTIONS /remote.php" 500 172.18.0.2 - 26/Jan/2018:12:30:34 +0000 "PROPFIND /remote.php" 200 172.18.0.2 - 26/Jan/2018:12:30:35 +0000 "OPTIONS /remote.php" 500 172.18.0.2 - 26/Jan/2018:12:51:23 +0000 "GET /index.php" 503 172.18.0.2 - 26/Jan/2018:13:11:50 +0000 "OPTIONS /remote.php" 500 172.18.0.2 - 26/Jan/2018:13:11:50 +0000 "PROPFIND /remote.php" 200 172.18.0.2 - 26/Jan/2018:13:11:50 +0000 "OPTIONS /remote.php" 500 172.18.0.2 - 26/Jan/2018:13:14:33 +0000 "GET /core/templates/404.php" 200 172.18.0.2 - 26/Jan/2018:13:33:56 +0000 "GET /index.php" 503 172.18.0.2 - 26/Jan/2018:13:34:31 +0000 "GET /index.php" 503 172.18.0.2 - 26/Jan/2018:13:34:35 +0000 "GET /index.php" 503 172.18.0.2 - 26/Jan/2018:14:00:55 +0000 "OPTIONS /remote.php" 500 172.18.0.2 - 26/Jan/2018:14:00:55 +0000 "PROPFIND /remote.php" 200 172.18.0.2 - 26/Jan/2018:14:00:56 +0000 "OPTIONS /remote.php" 500 172.18.0.2 - 26/Jan/2018:14:06:13 +0000 "GET /remote.php" 500 172.18.0.2 - 26/Jan/2018:14:36:28 +0000 "GET /index.php" 503 172.18.0.2 - 26/Jan/2018:14:36:32 +0000 "GET /index.php" 503 172.18.0.2 - 26/Jan/2018:15:11:00 +0000 "GET /core/templates/404.php" 200 172.18.0.2 - 26/Jan/2018:15:49:27 +0000 "GET /index.php" 503 172.18.0.2 - 26/Jan/2018:15:51:27 +0000 "POST /azenv.php" 404 172.18.0.2 - 26/Jan/2018:15:51:27 +0000 "GET /core/templates/404.php" 200 172.18.0.2 - 26/Jan/2018:16:40:20 +0000 "OPTIONS /remote.php" 500 172.18.0.2 - 26/Jan/2018:16:40:20 +0000 "PROPFIND /remote.php" 200 172.18.0.2 - 26/Jan/2018:16:40:20 +0000 "OPTIONS /remote.php" 500 172.18.0.2 - 26/Jan/2018:17:21:42 +0000 "OPTIONS /remote.php" 500 172.18.0.2 - 26/Jan/2018:17:21:42 +0000 "PROPFIND /remote.php" 200 172.18.0.2 - 26/Jan/2018:17:21:43 +0000 "OPTIONS /remote.php" 500 172.18.0.2 - 26/Jan/2018:17:33:42 +0000 "GET /index.php" 503 172.18.0.2 - 26/Jan/2018:17:59:50 +0000 "OPTIONS /remote.php" 500 172.18.0.2 - 26/Jan/2018:17:59:50 +0000 "PROPFIND /remote.php" 200 172.18.0.2 - 26/Jan/2018:17:59:50 +0000 "OPTIONS /remote.php" 500 172.18.0.2 - 26/Jan/2018:18:01:27 +0000 "GET /index.php" 503 172.18.0.2 - 26/Jan/2018:18:08:04 +0000 "GET /index.php" 503 [root@4cloud docker-onlyoffice-owncloud]#

` I really cant figure out why its stop working... How can I get some elucidation on this case?

andersonid commented 6 years ago

How to label this issue with HELP WANTED?