我的 Nextcloud 安装遇到了一次 Internal Server Error

今天整理服务器的时候把 Nextcloud 搞坏了,出现了服务器内部错误,代码 500。花了好几个小时,最后才发现是因为 php7-APCu 这个包出了问题。

各种折腾就不说了。用 curl 检查的时候有这样的错误提示,

.........
> user-agent: curl/7.69.1
> accept: */*
> 
* Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
< HTTP/2 500 
< date: Sat, 18 Apr 2020 06:54:45 GMT
< server: Apache
< strict-transport-security: max-age=15768000; includeSubDomains; preload
< referrer-policy: no-referrer
< x-content-type-options: nosniff
< x-download-options: noopen
< x-frame-options: SAMEORIGIN
< x-permitted-cross-domain-policies: none
< x-robots-tag: none
< x-xss-protection: 1; mode=block
< vary: Accept-Encoding,User-Agent
< content-type: text/plain; charset=utf-8
< 
Internal Server Error

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.
.........

但是服务器的运行记录里并没有什么提示,除了也显示 500 错误之外。后来几乎是重装了,安装了 php7-APCu 这个包之后就好了。后来就在 help.nextcloud.com 上发现有人遇到了一个类似的错误©

本文发表于水景一页。永久链接:<https://cnzhx.net/blog/internal-server-error-500-on-nextcloud-because-of-php7-apcu/>。转载请保留此信息及相应链接。

1 条关于 “我的 Nextcloud 安装遇到了一次 Internal Server Error” 的评论

时间过去太久,评论已关闭。
如果您有话要说,请到讨论区留言并给出此文章链接。
谢谢您的理解 :-)