昨晚刚升级了7.1.14,就无法登陆了,报错如下:某个容器没有运行,不知道该怎么解决
非专业人士,每次升级都会有问题,头要爆炸了
谢谢大家
先重启一下docker,然后把 gunicorn.conf.py 的 false 搞成 true ,启动容器看一下有没有报错
检查了gunicorn.conf.py 已经是true
docker也重启了,还是一样的问题
seafhttp.error.log
2021/04/07 22:50:58 [error] 35#35: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 183.147.0.176, server: example.seafile.com, request: “POST /seafhttp/repo/locked-files HTTP/1.1”, upstream: “http://127.0.0.1:8082/repo/locked-files”, host: “47.103.131.180”
2021/04/08 09:07:12 [error] 35#35: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 101.87.41.115, server: example.seafile.com, request: “POST /seafhttp/repo/folder-perm HTTP/1.1”, upstream: “http://127.0.0.1:8082/repo/folder-perm”, host: “47.103.131.180”
2021/04/08 09:07:12 [error] 36#36: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 101.87.41.115, server: example.seafile.com, request: “POST /seafhttp/repo/locked-files HTTP/1.1”, upstream: “http://127.0.0.1:8082/repo/locked-files”, host: “47.103.131.180”
2021/04/08 10:54:34 [error] 38#38: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 124.160.214.103, server: example.seafile.com, request: “POST /seafhttp/repo/head-commits-multi/ HTTP/1.1”, upstream: “http://127.0.0.1:8082/repo/head-commits-multi/”, host: “47.103.131.180”
2021/04/08 12:59:22 [error] 39#39: *2 connect() failed (111: Connection refused) while connecting to upstream, client: 101.87.41.115, server: example.seafile.com, request: “POST /seafhttp/repo/folder-perm HTTP/1.1”, upstream: “http://127.0.0.1:8082/repo/folder-perm”, host: “47.103.131.180”
2021/04/08 12:59:22 [error] 39#39: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 101.87.41.115, server: example.seafile.com, request: “POST /seafhttp/repo/locked-files HTTP/1.1”, upstream: “http://127.0.0.1:8082/repo/locked-files”, host: “47.103.131.180”
2021/04/08 13:01:58 [error] 36#36: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 101.87.41.115, server: example.seafile.com, request: “POST /seafhttp/repo/head-commits-multi/ HTTP/1.1”, upstream: “http://127.0.0.1:8082/repo/head-commits-multi/”, host: “47.103.131.180”
2021/04/08 13:04:37 [error] 33#33: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 101.87.41.115, server: example.seafile.com, request: “POST /seafhttp/repo/head-commits-multi/ HTTP/1.1”, upstream: “http://127.0.0.1:8082/repo/head-commits-multi/”, host: “47.103.131.180”
2021/04/08 13:04:37 [error] 33#33: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 124.160.214.103, server: example.seafile.com, request: “POST /seafhttp/repo/folder-perm HTTP/1.1”, upstream: “http://127.0.0.1:8082/repo/folder-perm”, host: “47.103.131.180”
2021/04/08 13:04:37 [error] 33#33: *4 connect() failed (111: Connection refused) while connecting to upstream, client: 124.160.214.103, server: example.seafile.com, request: “POST /seafhttp/repo/locked-files HTTP/1.1”, upstream: “http://127.0.0.1:8082/repo/locked-files”, host: “47.103.131.180”
您应该看一下seafile和seahub日志
seafile.log连有一大堆类似的:
[04/07/2021 10:42:55 PM] …/common/obj-cache.c(111): Failed to set 935df183-b509-4018-86ec-822ad061b17f-cb1f75d6cc3324789b0958facc090308b23578ea to memcached: SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY.
[04/07/2021 10:42:55 PM] …/common/obj-cache.c(111): Failed to set 935df183-b509-4018-86ec-822ad061b17f-02651e232d9c2b7dc3277d83f51a955941527431 to memcached: SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY.
[04/07/2021 10:42:55 PM] …/common/obj-cache.c(111): Failed to set 935df183-b509-4018-86ec-822ad061b17f-9a520b646e55ec298ceadb422c56b544a8a8c0bd to memcached: SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY.
[04/07/2021 10:42:55 PM] …/common/obj-cache.c(111): Failed to set 935df183-b509-4018-86ec-822ad061b17f-84684068a7dc459ca25c7b178f6891443da1f03a to memcached: SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY.
[04/07/2021 10:42:55 PM] …/common/obj-cache.c(111): Failed to set 935df183-b509-4018-86ec-822ad061b17f-d91682f523414324ca82e2d7314fbab19fd9db3d to memcached: SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY.
[04/07/2021 10:42:55 PM] …/common/obj-cache.c(111): Failed to set 935df183-b509-4018-86ec-822ad061b17f-b1faa41cca03ce431711cd7fd4702e1e0f6252d8 to memcached: SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY.
[04/07/2021 10:42:55 PM] …/common/obj-cache.c(111): Failed to set 935df183-b509-4018-86ec-822ad061b17f-d2f252a6632fa30566f6e3a50371466ce870d8ec to memcached: SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY.
[04/07/2021 10:42:55 PM] …/common/obj-cache.c(111): Failed to set 935df183-b509-4018-86ec-822ad061b17f-d2f252a6632fa30566f6e3a50371466ce870d8ec to memcached: SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY.
[04/07/2021 10:42:55 PM] …/common/obj-cache.c(111): Failed to set 935df183-b509-4018-86ec-822ad061b17f-dc9a94be45782e314df97bc2c6486ade476464d3 to memcached: SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY.
[04/07/2021 10:42:55 PM] …/common/obj-cache.c(111): Failed to set 935df183-b509-4018-86ec-822ad061b17f-dc9a94be45782e314df97bc2c6486ade476464d3 to memcached: SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY.
[04/07/2021 10:42:55 PM] …/common/obj-cache.c(111): Failed to set 935df183-b509-4018-86ec-822ad061b17f-dc9a94be45782e314df97bc2c6486ade476464d3 to memcached: SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY.
[04/07/2021 10:42:55 PM] …/common/obj-cache.c(111): Failed to set 935df183-b509-4018-86ec-822ad061b17f-d2f252a6632fa30566f6e3a50371466ce870d8ec to memcached: SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY.
[04/07/2021 10:42:55 PM] …/common/obj-cache.c(111): Failed to set 935df183-b509-4018-86ec-822ad061b17f-dc9a94be45782e314df97bc2c6486ade476464d3 to memcached: SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY.
[04/07/2021 10:42:55 PM] …/common/obj-cache.c(111): Failed to set 935df183-b509-4018-86ec-822ad061b17f-dbba9133344383a9b1a55c7c0dc81a6f166469bd to memcached: SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY.
[04/07/2021 10:42:55 PM] …/common/obj-cache.c(111): Failed to set 935df183-b509-4018-86ec-822ad061b17f-93b6b372b60deec0c59ff32870f7fd4fa4fb7d35 to memcached: SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY.
[04/07/2021 10:42:55 PM] …/common/obj-cache.c(111): Failed to set 935df183-b509-4018-86ec-822ad061b17f-cb1f75d6cc3324789b0958facc090308b23578ea to memcached: SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY.
[04/07/2021 10:42:55 PM] …/common/obj-cache.c(111): Failed to set 935df183-b509-4018-86ec-822ad061b17f-02651e232d9c2b7dc3277d83f51a955941527431 to memcached: SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY.
[04/07/2021 10:42:55 PM] …/common/obj-cache.c(111): Failed to set 935df183-b509-4018-86ec-822ad061b17f-9a520b646e55ec298ceadb422c56b544a8a8c0bd to memcached: SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY.
[04/07/2021 10:42:55 PM] …/common/obj-cache.c(111): Failed to set 935df183-b509-4018-86ec-822ad061b17f-84684068a7dc459ca25c7b178f6891443da1f03a to memcached: SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY.
[04/07/2021 10:42:55 PM] …/common/obj-cache.c(111): Failed to set 935df183-b509-4018-86ec-822ad061b17f-d91682f523414324ca82e2d7314fbab19fd9db3d to memcached: SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY.
[04/07/2021 10:42:55 PM] …/common/obj-cache.c(111): Failed to set 935df183-b509-4018-86ec-822ad061b17f-b1faa41cca03ce431711cd7fd4702e1e0f6252d8 to memcached: SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY.
[04/07/2021 10:42:55 PM] …/common/obj-cache.c(111): Failed to set 935df183-b509-4018-86ec-822ad061b17f-dc9a94be45782e314df97bc2c6486ade476464d3 to memcached: SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY.
[04/07/2021 10:42:55 PM] …/common/obj-cache.c(111): Failed to set 935df183-b509-4018-86ec-822ad061b17f-dc9a94be45782e314df97bc2c6486ade476464d3 to memcached: SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY.
[04/07/2021 10:42:55 PM] …/common/obj-cache.c(111): Failed to set 935df183-b509-4018-86ec-822ad061b17f-dc9a94be45782e314df97bc2c6486ade476464d3 to memcached: SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY.
看起来是memcached没有启
这个是seahub.log最近的部分,更新是在7号晚上10点多
2021-04-07 17:06:11,240 [WARNING] django.request:152 get_response Not Found: /index.php/PHP
is_the_shittiest_lang.php
2021-04-07 17:06:11,449 [WARNING] django.request:152 get_response Not Found: /index.php/PHP
is_the_shittiest_lang.php
2021-04-07 17:06:11,664 [WARNING] django.request:152 get_response Not Found: /index.php/PHP
is_the_shittiest_lang.php
2021-04-07 17:06:11,877 [WARNING] django.request:152 get_response Not Found: /index.php/PHP
is_the_shittiest_lang.php
2021-04-07 17:21:26,938 [WARNING] django.request:152 get_response Not Found: /azenv.php
2021-04-07 17:21:40,563 [WARNING] django.request:152 get_response Not Found: /boaform/admin/formLogin
2021-04-07 17:32:58,033 [WARNING] django.request:152 get_response Not Found: /sitemap.xml
2021-04-07 17:32:58,123 [WARNING] django.request:152 get_response Not Found: /.well-known/security.txt
2021-04-07 17:59:14,998 [WARNING] django.request:152 get_response Not Found: /_ignition/execute-solution
2021-04-07 17:59:15,083 [WARNING] django.request:152 get_response Not Found: /vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php
2021-04-07 17:59:15,311 [WARNING] django.request:152 get_response Not Found: /login
2021-04-07 17:59:15,402 [WARNING] django.request:152 get_response Not Found: /jenkins/login
2021-04-07 17:59:15,488 [WARNING] django.request:152 get_response Not Found: /manager/html
2021-04-07 17:59:15,579 [WARNING] django.request:152 get_response Not Found: /wp-login.php
2021-04-07 22:16:03,083 [WARNING] django.request:152 get_response Not Found: /config/getuser
但是看第一张截图里应该是已经启动了吧?那还有什么办法启动吗?
seafile的容器可以进去吗
不好意思,这个容器应该怎么检查进不进得去
docker exec -it seafile bash
进不去,一样的错误
root@iZuf63yap8x2jzeeyh7yp0Z:~# docker exec -it seafile bash
Error response from daemon: Container b1146285c5d4925bdce4b9b1dd1fe4f2096bd782f2dda9638c5a533dfe4b688c is not running
看一下docker ps
你重启一下docker-compose 然后快速的进入容器,看一下报错啥的
在seafhttp.error.log里面翻到这个错误:
2021/04/09 00:52:12 [error] 34#34: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 101.87.41.115, server: example.seafile.com, request: “POST /seafhttp/repo/head-commits-multi/ HTTP/1.1”, upstream: “http://127.0.0.1:8082/repo/head-commits-multi/”, host: “IP”