OneBot: Leantime 改造版源码(BOM/Univer 表格/AI 接管/品牌替换等)

This commit is contained in:
wangruiguo
2026-09-03 18:49:20 +08:00
commit d647428529
3501 changed files with 1988906 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
#!/bin/bash
echo "=== nginx onebot.error.log ==="
tail -50 /var/log/nginx/onebot.error.log 2>/dev/null || echo "无 onebot.error.log"
echo ""
echo "=== nginx error.log (默认) ==="
tail -30 /var/log/nginx/error.log 2>/dev/null || echo "无默认 error.log"
echo ""
echo "=== 直接 CLI 方式执行 index.php 看真实错误 ==="
cd /var/www/onebot/public
sudo -u www-data php -d display_errors=1 -d error_reporting=E_ALL index.php 2>&1 | head -40
echo ""
echo "=== 用 php 直接 require 入口 ==="
cd /var/www/onebot
sudo -u www-data php -r '$_SERVER["REQUEST_URI"]="/"; $_SERVER["REQUEST_METHOD"]="GET"; $_SERVER["SCRIPT_NAME"]="/index.php"; $_SERVER["DOCUMENT_ROOT"]="/var/www/onebot/public"; require "/var/www/onebot/public/index.php";' 2>&1 | head -60