Nextclund 安装app插件后无法登录

内部服务器错误

服务器不能完成您的请求。

如果再次发生这种情况,请将下面的技术详细信息发送给服务器管理员。

更多细节可以在服务器日志中找到。

技术细节

  • 远程地址:XXX.XXX
  • 请求 ID:ieWLs04dum5u9T8ZqE2p
1 Like

发布你位于/var/www/nextcloud.log的服务器日志,并描述你所遵循的步骤。 你没有发布足够的技术信息来提供任何帮助。

我不会说中文,所以我希望这对你有帮助。 祝您好运。 将你的帖子移到我们的中文类别。

1 Like

上传一下nginx的日志看看

1 Like

有可能是硬盘满了,我之前有一次硬盘满了报这个错误。

1 Like

1、按照just建议的,查看服务器日志,查找报错信息。日志文文件可能在/var/www/html/nextcloud/data/之内
2、如果能够确定是某个app导致的,可以试试手动卸载该app。例如

sudo -u www-data php occ app:remove appname

注意用户名可能不是www-data,根据你的系统不同会不同;occ 如果没在环境变量内,可以用绝对路径或相对路径运行,occ通常在/var/www/html/nextcloud/之内。
参考:
https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/occ_command.html#apps-commands

1 Like

试试在你 www/config/config.php 里面检查一下;肯定是数据库ip不匹配导致的
反正我就是这样的问题,要不就是权限问题,检查一下权限

1 Like

nextcloud.log


{“reqId”:“UL7alsVYXGL1mZaIWAMH”,“level”:3,“time”:“2021-10-28T09:41:26+00:00”,“remoteAddr”:“xxx.xxx.xxx.xxx”,“user”:“xxx”,“app”:“index”,“method”:“GET”,“url”:"/index.php/apps/dashboard/",“message”:“Class ‘OCP\User’ not found”,“userAgent”:“Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36”,“version”:“22.2.0.2”,“exception”:{“Exception”:“Error”,“Message”:“Class ‘OCP\User’ not found”,“Code”:0,“Trace”:[{“file”:"/www/wwwroot/xxx.xxx.com.cn/apps/epubreader/lib/Hooks.php",“line”:41,“function”:“get”,“class”:“OCA\Epubreader\Config”,“type”:"::"},{“file”:"/www/wwwroot/xxx.xxx.com.cn/lib/private/legacy/OC_Hook.php",“line”:106,“function”:“announce_settings”,“class”:“OCA\Epubreader\Hooks”,“type”:"::"},{“file”:"/www/wwwroot/xxx.xxx.com.cn/lib/private/Template/JSConfigHelper.php",“line”:323,“function”:“emit”,“class”:“OC_Hook”,“type”:"::"},{“file”:"/www/wwwroot/xxx.xxx.com.cn/lib/private/TemplateLayout.php",“line”:220,“function”:“getConfig”,“class”:“OC\Template\JSConfigHelper”,“type”:"->"},{“file”:"/www/wwwroot/xxx.xxx.com.cn/lib/private/legacy/OC_Template.php",“line”:182,“function”:"__construct",“class”:“OC\TemplateLayout”,“type”:"->"},{“file”:"/www/wwwroot/xxx.xxx.com.cn/lib/public/AppFramework/Http/TemplateResponse.php",“line”:204,“function”:“fetchPage”,“class”:“OC_Template”,“type”:"->"},{“file”:"/www/wwwroot/xxx.xxx.com.cn/lib/private/AppFramework/Http/Dispatcher.php",“line”:171,“function”:“render”,“class”:“OCP\AppFramework\Http\TemplateResponse”,“type”:"->"},{“file”:"/www/wwwroot/xxx.xxx.com.cn/lib/private/AppFramework/App.php",“line”:156,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:"->"},{“file”:"/www/wwwroot/xxx.xxx.com.cn/lib/private/Route/Router.php",“line”:301,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:"::"},{“file”:"/www/wwwroot/xxx.xxx.com.cn/lib/base.php",“line”:1000,“function”:“match”,“class”:“OC\Route\Router”,“type”:"->"},{“file”:"/www/wwwroot/xxx.xxx.com.cn/index.php",“line”:36,“function”:“handleRequest”,“class”:“OC”,“type”:"::"}],“File”:"/www/wwwroot/xxx.xxx.com.cn/apps/epubreader/lib/config.php",“Line”:28,“CustomMessage”:"–"}}

thanks all !

thanks ,日志提上来了。

我未更新到22版,也没遇到过类似问题。通过论坛搜索,OCP\User not found 的问题看似最近在22版出现过。 也许可以尝试卸载 dropit dashboard epubreader 这些app。具体哪个有问题,多试几下吧。

1 Like

是否已解決? 用別的用戶login 都有同樣問題嗎?

1 Like

remove epubreader ,successful!!!

remove epubreader ,successful!