我最近将我的
docker-compose.yml
(Arch Linux 主机)迁移到通过 systemd 服务运行的 podman(nixos 主机 - virtualisation.oci-containers
)。
自迁移以来,我有多个服务(gitlab、phpmyadmin 等)运行几个月没有任何问题。
但是我的 nextcloud-fpm 没有按预期工作。
与 nextcloud-fpm 的第一次连接正常,网页显示正确。我可以登录、上传文件等
在重新加载页面后(或者有时在多次重新加载/重新打开后),我只得到一个空白页面,根本无法与服务器交互。
我仍然从我的 nextcloud 服务器收到电子邮件,这意味着它仍然正常运行并且看起来工作正常。我根本无法访问网络界面,也无法通过应用程序等登录。
Cloudflare (proxied) -> Reverse proxy (nginx) -> service
(proxy_pass 用于连接服务)
Cloudflare (proxied) -> Reverse proxy (nginx) -> Web server (nginx) -> service
(fastcgi_pass 用于连接服务)
我使用以下图像作为容器:
docker.io/nginx:stable-alpine
docker.io/nextcloud:stable-fpm-alpine
以下部分包含大量配置和日志。可能有点多,但由于我无法弄清楚这里真正相关的内容,所以我只是包含了所有内容。
以下内容非常有趣:12:36:43 是网络服务器和 nextcloud 应用程序中最后记录的条目,2 最终导致 404。然而,反向代理随后仍然记录多次连接尝试(记录到 12:46:44),所有结果都是 404。
对我来说,这意味着 Nginx Web 服务器要么很忙,要么在前几次交互后无法访问,我不知道为什么。
在我之前使用的设置(
docker-compose.yml
)中,具有相同的配置,一切都运行完美。两者之间最大的区别在于:反向代理、Nextcloud Web 服务器和 Nextcloud 应用程序共享相同的网络命名空间。这是因为它们位于同一个 podman pod 中,这允许它们通过 127.0.0.1 进行通信。
信息:域名已被混淆。
reverse-proxy.conf(反向代理 - 仅相关部分)
信息:这与 nginx 的官方说明基本一致
nextcloud.foo.tld.conf(Nextcloud Web 服务器)
其他配置(包含)/etc/nginx/conf.d/redirect.conf
信息:一些信息已被混淆(???)
/etc/nginx/conf.d/common-location.conf
日志
podman-reverse-proxy.log(反向代理)
-- Boot 1d3092f508084a6ea6c9b197802b6781 --
Mar 20 12:35:48 cyan systemd[1]: Starting podman-reverse-proxy.service...
[...]
Mar 20 12:35:50 cyan systemd[1]: Started podman-reverse-proxy.service.
[...]
Mar 20 12:36:28 cyan reverse-proxy[2878]: 172.71.182.77 - - [20/Mar/2024:12:36:28 +0000] "GET /index.php/204 HTTP/2.0" 204 0 "-" "Mozilla/5.0 (Linux) mirall/3.12.0git (Nextcloud, arch-6.6.19-1-lts ClientArchitecture: x86_64 OsArchitecture: x86_64)"
Mar 20 12:36:28 cyan reverse-proxy[2878]: 172.71.98.156 - - [20/Mar/2024:12:36:28 +0000] "GET /index.php/204 HTTP/2.0" 204 0 "-" "Mozilla/5.0 (Linux) mirall/3.12.0git (Nextcloud, arch-6.6.19-1-lts ClientArchitecture: x86_64 OsArchitecture: x86_64)"
Mar 20 12:36:28 cyan reverse-proxy[2878]: 172.71.98.156 - - [20/Mar/2024:12:36:28 +0000] "GET /status.php HTTP/2.0" 200 140 "-" "Mozilla/5.0 (Linux) mirall/3.12.0git (Nextcloud, arch-6.6.19-1-lts ClientArchitecture: x86_64 OsArchitecture: x86_64)"
Mar 20 12:36:28 cyan reverse-proxy[2878]: 172.71.98.156 - - [20/Mar/2024:12:36:28 +0000] "GET / HTTP/2.0" 302 0 "-" "Mozilla/5.0 (Linux) mirall/3.12.0git (Nextcloud, arch-6.6.19-1-lts ClientArchitecture: x86_64 OsArchitecture: x86_64)"
Mar 20 12:36:28 cyan reverse-proxy[2878]: 172.71.103.171 - - [20/Mar/2024:12:36:28 +0000] "GET /ocs/v2.php/cloud/capabilities?format=json HTTP/2.0" 200 368 "-" "Mozilla/5.0 (Linux) mirall/3.12.0git (Nextcloud, arch-6.6.19-1-lts ClientArchitecture: x86_64 OsArchitecture: x86_64)"
Mar 20 12:36:28 cyan reverse-proxy[2878]: 172.70.47.93 - - [20/Mar/2024:12:36:28 +0000] "PROPFIND /remote.php/dav/files/leo/ HTTP/2.0" 401 557 "-" "Mozilla/5.0 (Linux) mirall/3.12.0git (Nextcloud, arch-6.6.19-1-lts ClientArchitecture: x86_64 OsArchitecture: x86_64)"
Mar 20 12:36:28 cyan reverse-proxy[2878]: 172.71.103.175 - - [20/Mar/2024:12:36:28 +0000] "GET /hosting/capabilities HTTP/2.0" 404 68 "-" "Nextcloud Server Crawler"
Mar 20 12:36:28 cyan reverse-proxy[2878]: 172.71.98.156 - - [20/Mar/2024:12:36:28 +0000] "GET /login HTTP/2.0" 200 5230 "-" "Mozilla/5.0 (Linux) mirall/3.12.0git (Nextcloud, arch-6.6.19-1-lts ClientArchitecture: x86_64 OsArchitecture: x86_64)"
Mar 20 12:36:29 cyan reverse-proxy[2878]: 172.71.98.156 - - [20/Mar/2024:12:36:29 +0000] "POST /index.php/login/v2 HTTP/2.0" 200 320 "-" "tulip (Desktop Client - Linux)"
Mar 20 12:36:32 cyan reverse-proxy[2878]: 172.71.102.130 - - [20/Mar/2024:12:36:32 +0000] "GET /login/v2/flow/ChPehj88Ez6kzHrrfrcHMM572RXtgtl1IohaqeJr8ObTQq40yyV9xx0NbmRwEqmhmyqMOPB3owFWjZlcXGbHhpTztZpkb6KGWC8suDWhq6Hy6R2OjJU5jYdKAcWJzrh6 HTTP/2.0" 303 0 "-" "Mozilla/5.0 (Windows NT 10.0; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:36:32 cyan reverse-proxy[2878]: 172.71.102.130 - - [20/Mar/2024:12:36:32 +0000] "GET /login/v2/flow?user= HTTP/2.0" 200 7163 "-" "Mozilla/5.0 (Windows NT 10.0; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:36:32 cyan reverse-proxy[2878]: 172.71.183.32 - - [20/Mar/2024:12:36:32 +0000] "GET /core/css/login/authpicker.css?v=6fc993ab-1 HTTP/2.0" 200 233 "-" "Mozilla/5.0 (Windows NT 10.0; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:36:32 cyan reverse-proxy[2878]: 172.71.102.138 - - [20/Mar/2024:12:36:32 +0000] "GET /core/js/login/authpicker.js?v=6fc993ab-1 HTTP/2.0" 200 265 "-" "Mozilla/5.0 (Windows NT 10.0; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:36:32 cyan reverse-proxy[2878]: 172.71.103.185 - - [20/Mar/2024:12:36:32 +0000] "GET /apps/theming/theme/default.css?plain=1&v=356a192b HTTP/2.0" 200 1087 "-" "Mozilla/5.0 (Windows NT 10.0; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:36:32 cyan reverse-proxy[2878]: 172.71.99.105 - - [20/Mar/2024:12:36:32 +0000] "GET /apps/theming/theme/light.css?plain=1&v=356a192b HTTP/2.0" 200 1087 "-" "Mozilla/5.0 (Windows NT 10.0; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:36:32 cyan reverse-proxy[2878]: 172.71.98.25 - - [20/Mar/2024:12:36:32 +0000] "GET /apps/theming/theme/opendyslexic.css?plain=0&v=356a192b HTTP/2.0" 200 336 "-" "Mozilla/5.0 (Windows NT 10.0; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:36:32 cyan reverse-proxy[2878]: 172.71.99.12 - - [20/Mar/2024:12:36:32 +0000] "GET /apps/theming/theme/light-highcontrast.css?plain=0&v=356a192b HTTP/2.0" 200 1159 "-" "Mozilla/5.0 (Windows NT 10.0; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:36:32 cyan reverse-proxy[2878]: 172.70.47.54 - - [20/Mar/2024:12:36:32 +0000] "GET /apps/theming/theme/dark-highcontrast.css?plain=0&v=356a192b HTTP/2.0" 200 1190 "-" "Mozilla/5.0 (Windows NT 10.0; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:36:32 cyan reverse-proxy[2878]: 172.71.99.47 - - [20/Mar/2024:12:36:32 +0000] "GET /apps/theming/theme/dark.css?plain=0&v=356a192b HTTP/2.0" 200 1098 "-" "Mozilla/5.0 (Windows NT 10.0; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:36:32 cyan reverse-proxy[2878]: 172.71.99.58 - - [20/Mar/2024:12:36:32 +0000] "GET /apps/theming/theme/light.css?plain=0&v=356a192b HTTP/2.0" 200 1111 "-" "Mozilla/5.0 (Windows NT 10.0; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:36:33 cyan reverse-proxy[2878]: 141.101.76.89 - - [20/Mar/2024:12:36:33 +0000] "GET /apps/theming/theme/light-highcontrast.css?plain=1&v=356a192b HTTP/2.0" 200 1135 "-" "Mozilla/5.0 (Windows NT 10.0; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:36:33 cyan reverse-proxy[2878]: 172.71.103.106 - - [20/Mar/2024:12:36:33 +0000] "GET /apps/theming/theme/dark-highcontrast.css?plain=1&v=356a192b HTTP/2.0" 200 1166 "-" "Mozilla/5.0 (Windows NT 10.0; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:36:33 cyan reverse-proxy[2878]: 172.71.95.22 - - [20/Mar/2024:12:36:33 +0000] "GET /apps/theming/theme/dark.css?plain=1&v=356a192b HTTP/2.0" 200 1078 "-" "Mozilla/5.0 (Windows NT 10.0; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:36:42 cyan reverse-proxy[2878]: 172.71.98.156 - - [20/Mar/2024:12:36:42 +0000] "POST /login/v2/poll HTTP/2.0" 404 2 "-" "Mozilla/5.0 (Linux) mirall/3.12.0git (Nextcloud, arch-6.6.19-1-lts ClientArchitecture: x86_64 OsArchitecture: x86_64)"
Mar 20 12:36:43 cyan reverse-proxy[2878]: 172.71.98.156 - - [20/Mar/2024:12:36:43 +0000] "POST /login/v2/poll HTTP/2.0" 404 2 "-" "Mozilla/5.0 (Linux) mirall/3.12.0git (Nextcloud, arch-6.6.19-1-lts ClientArchitecture: x86_64 OsArchitecture: x86_64)"
Mar 20 12:37:39 cyan reverse-proxy[2878]: 172.71.99.54 - - [20/Mar/2024:12:37:39 +0000] "GET / HTTP/2.0" 404 20 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:37:40 cyan reverse-proxy[2878]: 172.71.98.139 - - [20/Mar/2024:12:37:40 +0000] "GET /index.php/apps/files/preview-service-worker.js HTTP/2.0" 404 20 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:38:27 cyan reverse-proxy[2878]: 172.71.99.32 - - [20/Mar/2024:12:38:27 +0000] "GET / HTTP/2.0" 404 20 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:38:28 cyan reverse-proxy[2878]: 172.71.99.32 - - [20/Mar/2024:12:38:28 +0000] "GET / HTTP/2.0" 404 20 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:38:29 cyan reverse-proxy[2878]: 172.71.99.32 - - [20/Mar/2024:12:38:29 +0000] "GET / HTTP/2.0" 404 20 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:41:21 cyan reverse-proxy[2878]: 172.71.102.48 - - [20/Mar/2024:12:41:21 +0000] "GET /hosting/capabilities HTTP/2.0" 404 68 "-" "Nextcloud Server Crawler"
Mar 20 12:45:16 cyan reverse-proxy[2878]: 172.71.102.130 - - [20/Mar/2024:12:45:16 +0000] "GET / HTTP/2.0" 404 20 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:45:17 cyan reverse-proxy[2878]: 172.71.98.139 - - [20/Mar/2024:12:45:17 +0000] "GET /index.php/apps/files/preview-service-worker.js HTTP/2.0" 404 20 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:45:20 cyan reverse-proxy[2878]: 172.71.102.130 - - [20/Mar/2024:12:45:20 +0000] "GET / HTTP/2.0" 404 20 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:45:28 cyan reverse-proxy[2878]: 78.153.140.179 - - [20/Mar/2024:12:45:28 +0000] "GET /.env HTTP/1.1" 400 650 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36"
Mar 20 12:46:44 cyan reverse-proxy[2878]: 172.71.98.20 - - [20/Mar/2024:12:46:44 +0000] "GET /index.php/204 HTTP/2.0" 404 20 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.28.0"
Mar 20 12:45:16 cyan reverse-proxy[2878]: 172.71.102.130 - - [20/Mar/2024:12:45:16 +0000] "GET / HTTP/2.0" 404 20 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:45:17 cyan reverse-proxy[2878]: 172.71.98.139 - - [20/Mar/2024:12:45:17 +0000] "GET /index.php/apps/files/preview-service-worker.js HTTP/2.0" 404 20 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:45:20 cyan reverse-proxy[2878]: 172.71.102.130 - - [20/Mar/2024:12:45:20 +0000] "GET / HTTP/2.0" 404 20 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:45:28 cyan reverse-proxy[2878]: 78.153.140.179 - - [20/Mar/2024:12:45:28 +0000] "GET /.env HTTP/1.1" 400 650 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36"
Mar 20 12:46:44 cyan reverse-proxy[2878]: 172.71.98.20 - - [20/Mar/2024:12:46:44 +0000] "GET /index.php/204 HTTP/2.0" 404 20 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.28.0"
Mar 20 12:45:16 cyan reverse-proxy[2878]: 172.71.102.130 - - [20/Mar/2024:12:45:16 +0000] "GET / HTTP/2.0" 404 20 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:45:17 cyan reverse-proxy[2878]: 172.71.98.139 - - [20/Mar/2024:12:45:17 +0000] "GET /index.php/apps/files/preview-service-worker.js HTTP/2.0" 404 20 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:45:20 cyan reverse-proxy[2878]: 172.71.102.130 - - [20/Mar/2024:12:45:20 +0000] "GET / HTTP/2.0" 404 20 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:45:28 cyan reverse-proxy[2878]: 78.153.140.179 - - [20/Mar/2024:12:45:28 +0000] "GET /.env HTTP/1.1" 400 650 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36"
Mar 20 12:46:44 cyan reverse-proxy[2878]: 172.71.98.20 - - [20/Mar/2024:12:46:44 +0000] "GET /index.php/204 HTTP/2.0" 404 20 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.28.0"
podman-nextcloud-web.log(Nextcloud Web 服务器)
-- Boot 1d3092f508084a6ea6c9b197802b6781 --
Mar 20 12:35:48 cyan systemd[1]: Starting podman-nextcloud-web.service...
[...]
Mar 20 12:35:51 cyan systemd[1]: Started podman-nextcloud-web.service.
[...]
Mar 20 12:35:51 cyan nextcloud-web[3139]: /docker-entrypoint.sh: Configuration complete; ready for start up
Mar 20 12:35:51 cyan nextcloud-web[3139]: 2024/03/20 12:35:51 [warn] 1#1: duplicate extension "js", content type: "text/javascript", previous content type: "application/javascript" in /etc/nginx/conf.d/sites-enabled/nc.meinel.link.conf:32
Mar 20 12:35:51 cyan nextcloud-web[3139]: nginx: [warn] duplicate extension "js", content type: "text/javascript", previous content type: "application/javascript" in /etc/nginx/conf.d/sites-enabled/nc.meinel.link.conf:32
Mar 20 12:36:28 cyan nextcloud-web[3139]: 127.0.0.1 - - [20/Mar/2024:12:36:28 +0000] "GET /index.php/204 HTTP/1.1" 204 0 "-" "Mozilla/5.0 (Linux) mirall/3.12.0git (Nextcloud, arch-6.6.19-1-lts ClientArchitecture: x86_64 OsArchitecture: x86_64)"
Mar 20 12:36:28 cyan nextcloud-web[3139]: 127.0.0.1 - - [20/Mar/2024:12:36:28 +0000] "GET /index.php/204 HTTP/1.1" 204 0 "-" "Mozilla/5.0 (Linux) mirall/3.12.0git (Nextcloud, arch-6.6.19-1-lts ClientArchitecture: x86_64 OsArchitecture: x86_64)"
Mar 20 12:36:28 cyan nextcloud-web[3139]: 127.0.0.1 - - [20/Mar/2024:12:36:28 +0000] "GET /status.php HTTP/1.1" 200 151 "-" "Mozilla/5.0 (Linux) mirall/3.12.0git (Nextcloud, arch-6.6.19-1-lts ClientArchitecture: x86_64 OsArchitecture: x86_64)"
Mar 20 12:36:28 cyan nextcloud-web[3139]: 127.0.0.1 - - [20/Mar/2024:12:36:28 +0000] "GET / HTTP/1.1" 302 5 "-" "Mozilla/5.0 (Linux) mirall/3.12.0git (Nextcloud, arch-6.6.19-1-lts ClientArchitecture: x86_64 OsArchitecture: x86_64)"
Mar 20 12:36:28 cyan nextcloud-web[3139]: 127.0.0.1 - - [20/Mar/2024:12:36:28 +0000] "GET /ocs/v2.php/cloud/capabilities?format=json HTTP/1.1" 200 368 "-" "Mozilla/5.0 (Linux) mirall/3.12.0git (Nextcloud, arch-6.6.19-1-lts ClientArchitecture: x86_64 OsArchitecture: x86_64)"
Mar 20 12:36:28 cyan nextcloud-web[3139]: 127.0.0.1 - - [20/Mar/2024:12:36:28 +0000] "PROPFIND /remote.php/dav/files/leo/ HTTP/1.1" 401 569 "-" "Mozilla/5.0 (Linux) mirall/3.12.0git (Nextcloud, arch-6.6.19-1-lts ClientArchitecture: x86_64 OsArchitecture: x86_64)"
Mar 20 12:36:28 cyan nextcloud-web[3139]: 127.0.0.1 - - [20/Mar/2024:12:36:28 +0000] "GET /login HTTP/1.1" 200 5230 "-" "Mozilla/5.0 (Linux) mirall/3.12.0git (Nextcloud, arch-6.6.19-1-lts ClientArchitecture: x86_64 OsArchitecture: x86_64)"
Mar 20 12:36:29 cyan nextcloud-web[3139]: 127.0.0.1 - - [20/Mar/2024:12:36:29 +0000] "POST /index.php/login/v2 HTTP/1.1" 200 320 "-" "tulip (Desktop Client - Linux)"
Mar 20 12:36:32 cyan nextcloud-web[3139]: 127.0.0.1 - - [20/Mar/2024:12:36:32 +0000] "GET /login/v2/flow/ChPehj88Ez6kzHrrfrcHMM572RXtgtl1IohaqeJr8ObTQq40yyV9xx0NbmRwEqmhmyqMOPB3owFWjZlcXGbHhpTztZpkb6KGWC8suDWhq6Hy6R2OjJU5jYdKAcWJzrh6 HTTP/1.1" 303 0 "-" "Mozilla/5.0 (Windows NT 10.0; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:36:32 cyan nextcloud-web[3139]: 127.0.0.1 - - [20/Mar/2024:12:36:32 +0000] "GET /login/v2/flow?user= HTTP/1.1" 200 7163 "-" "Mozilla/5.0 (Windows NT 10.0; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:36:32 cyan nextcloud-web[3139]: 127.0.0.1 - - [20/Mar/2024:12:36:32 +0000] "GET /apps/theming/theme/default.css?plain=1&v=356a192b HTTP/1.1" 200 1099 "-" "Mozilla/5.0 (Windows NT 10.0; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:36:32 cyan nextcloud-web[3139]: 127.0.0.1 - - [20/Mar/2024:12:36:32 +0000] "GET /apps/theming/theme/light.css?plain=1&v=356a192b HTTP/1.1" 200 1099 "-" "Mozilla/5.0 (Windows NT 10.0; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:36:32 cyan nextcloud-web[3139]: 127.0.0.1 - - [20/Mar/2024:12:36:32 +0000] "GET /apps/theming/theme/opendyslexic.css?plain=0&v=356a192b HTTP/1.1" 200 348 "-" "Mozilla/5.0 (Windows NT 10.0; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:36:32 cyan nextcloud-web[3139]: 127.0.0.1 - - [20/Mar/2024:12:36:32 +0000] "GET /apps/theming/theme/light-highcontrast.css?plain=0&v=356a192b HTTP/1.1" 200 1171 "-" "Mozilla/5.0 (Windows NT 10.0; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:36:32 cyan nextcloud-web[3139]: 127.0.0.1 - - [20/Mar/2024:12:36:32 +0000] "GET /apps/theming/theme/dark-highcontrast.css?plain=0&v=356a192b HTTP/1.1" 200 1202 "-" "Mozilla/5.0 (Windows NT 10.0; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:36:32 cyan nextcloud-web[3139]: 127.0.0.1 - - [20/Mar/2024:12:36:32 +0000] "GET /apps/theming/theme/dark.css?plain=0&v=356a192b HTTP/1.1" 200 1110 "-" "Mozilla/5.0 (Windows NT 10.0; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:36:32 cyan nextcloud-web[3139]: 127.0.0.1 - - [20/Mar/2024:12:36:32 +0000] "GET /apps/theming/theme/light.css?plain=0&v=356a192b HTTP/1.1" 200 1123 "-" "Mozilla/5.0 (Windows NT 10.0; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:36:33 cyan nextcloud-web[3139]: 127.0.0.1 - - [20/Mar/2024:12:36:33 +0000] "GET /apps/theming/theme/light-highcontrast.css?plain=1&v=356a192b HTTP/1.1" 200 1147 "-" "Mozilla/5.0 (Windows NT 10.0; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:36:33 cyan nextcloud-web[3139]: 127.0.0.1 - - [20/Mar/2024:12:36:33 +0000] "GET /apps/theming/theme/dark-highcontrast.css?plain=1&v=356a192b HTTP/1.1" 200 1178 "-" "Mozilla/5.0 (Windows NT 10.0; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:36:33 cyan nextcloud-web[3139]: 127.0.0.1 - - [20/Mar/2024:12:36:33 +0000] "GET /apps/theming/theme/dark.css?plain=1&v=356a192b HTTP/1.1" 200 1090 "-" "Mozilla/5.0 (Windows NT 10.0; rv:123.0) Gecko/20100101 Firefox/123.0"
Mar 20 12:36:42 cyan nextcloud-web[3139]: 127.0.0.1 - - [20/Mar/2024:12:36:42 +0000] "POST /login/v2/poll HTTP/1.1" 404 2 "-" "Mozilla/5.0 (Linux) mirall/3.12.0git (Nextcloud, arch-6.6.19-1-lts ClientArchitecture: x86_64 OsArchitecture: x86_64)"
Mar 20 12:36:43 cyan nextcloud-web[3139]: 127.0.0.1 - - [20/Mar/2024:12:36:43 +0000] "POST /login/v2/poll HTTP/1.1" 404 2 "-" "Mozilla/5.0 (Linux) mirall/3.12.0git (Nextcloud, arch-6.6.19-1-lts ClientArchitecture: x86_64 OsArchitecture: x86_64)"
podman-nextcloud-app.log(Nextcloud 应用程序)
-- Boot 1d3092f508084a6ea6c9b197802b6781 --
Mar 20 12:35:48 cyan systemd[1]: Starting podman-nextcloud-app.service...
[...]
Mar 20 12:35:51 cyan systemd[1]: Started podman-nextcloud-app.service.
Mar 20 12:35:51 cyan nextcloud-app[3135]: Configuring Redis as session handler
[...]
Mar 20 12:35:51 cyan nextcloud-app[3135]: Initializing nextcloud 28.0.3.2 ...
Mar 20 12:35:51 cyan nextcloud-app[3135]: Upgrading nextcloud from 27.1.6.2 ...
[...]
Mar 20 12:36:17 cyan nextcloud-app[3135]: Update successful
Mar 20 12:36:17 cyan nextcloud-app[3135]: Turned off maintenance mode
[...]
Mar 20 12:36:17 cyan nextcloud-app[3135]: .htaccess has been updated
[...]
Mar 20 12:36:18 cyan nextcloud-app[3135]: [20-Mar-2024 12:36:18] NOTICE: ready to handle connections
Mar 20 12:36:28 cyan nextcloud-app[3135]: 127.0.0.1 - 20/Mar/2024:12:36:27 +0000 "GET /index.php" 204
Mar 20 12:36:28 cyan nextcloud-app[3135]: 127.0.0.1 - 20/Mar/2024:12:36:28 +0000 "GET /index.php" 204
Mar 20 12:36:28 cyan nextcloud-app[3135]: 127.0.0.1 - 20/Mar/2024:12:36:28 +0000 "GET /status.php" 200
Mar 20 12:36:28 cyan nextcloud-app[3135]: 127.0.0.1 - 20/Mar/2024:12:36:28 +0000 "GET /index.php" 302
Mar 20 12:36:28 cyan nextcloud-app[3135]: 127.0.0.1 - 20/Mar/2024:12:36:28 +0000 "GET /ocs/v2.php" 200
Mar 20 12:36:28 cyan nextcloud-app[3135]: 127.0.0.1 - 20/Mar/2024:12:36:28 +0000 "PROPFIND /remote.php" 401
Mar 20 12:36:28 cyan nextcloud-app[3135]: 127.0.0.1 - 20/Mar/2024:12:36:28 +0000 "GET /index.php" 200
Mar 20 12:36:29 cyan nextcloud-app[3135]: 127.0.0.1 - 20/Mar/2024:12:36:29 +0000 "POST /index.php" 200
Mar 20 12:36:32 cyan nextcloud-app[3135]: 127.0.0.1 - 20/Mar/2024:12:36:32 +0000 "GET /index.php" 303
Mar 20 12:36:32 cyan nextcloud-app[3135]: 127.0.0.1 - 20/Mar/2024:12:36:32 +0000 "GET /index.php" 200
Mar 20 12:36:32 cyan nextcloud-app[3135]: 127.0.0.1 - 20/Mar/2024:12:36:32 +0000 "GET /index.php" 200
Mar 20 12:36:32 cyan nextcloud-app[3135]: 127.0.0.1 - 20/Mar/2024:12:36:32 +0000 "GET /index.php" 200
Mar 20 12:36:32 cyan nextcloud-app[3135]: 127.0.0.1 - 20/Mar/2024:12:36:32 +0000 "GET /index.php" 200
Mar 20 12:36:32 cyan nextcloud-app[3135]: 127.0.0.1 - 20/Mar/2024:12:36:32 +0000 "GET /index.php" 200
Mar 20 12:36:32 cyan nextcloud-app[3135]: 127.0.0.1 - 20/Mar/2024:12:36:32 +0000 "GET /index.php" 200
Mar 20 12:36:32 cyan nextcloud-app[3135]: 127.0.0.1 - 20/Mar/2024:12:36:32 +0000 "GET /index.php" 200
Mar 20 12:36:32 cyan nextcloud-app[3135]: 127.0.0.1 - 20/Mar/2024:12:36:32 +0000 "GET /index.php" 200
Mar 20 12:36:33 cyan nextcloud-app[3135]: 127.0.0.1 - 20/Mar/2024:12:36:33 +0000 "GET /index.php" 200
Mar 20 12:36:33 cyan nextcloud-app[3135]: 127.0.0.1 - 20/Mar/2024:12:36:33 +0000 "GET /index.php" 200
Mar 20 12:36:33 cyan nextcloud-app[3135]: 127.0.0.1 - 20/Mar/2024:12:36:33 +0000 "GET /index.php" 200
Mar 20 12:36:42 cyan nextcloud-app[3135]: 127.0.0.1 - 20/Mar/2024:12:36:42 +0000 "POST /index.php" 404
Mar 20 12:36:43 cyan nextcloud-app[3135]: 127.0.0.1 - 20/Mar/2024:12:36:43 +0000 "POST /index.php" 404
我试图解决/“调试”这个问题我在网上做了一些研究发现类似的问题,但没有成功。我也搜索了类似的设置并找到了一些。
我几乎 100% 确定,我已经更新了所有端口,以免彼此冲突,但似乎无论什么服务导致了这种情况,无论如何都只是占用了该端口。
我之前也测试过端口 8082 和 8083,也出现了同样的错误,这就是为什么这更令人困惑。现在使用不同的端口,它工作得很好。
这也解释了网站访问延迟以及网站重新加载后无法工作的原因。