求助大佬,为什么部署独角数码进不去后台?一直转圈圈

12 小时 15 分钟前
 hh7418695
这是 GitHub 地址: https://github.com/assimon/dujiaoka

我是用的是 bt.cn 中国的宝塔在阿里云服务器环境部署,所有跟着操作进行了一遍之后,发现我连后台都进不去,这个会不会是和我的 laravel 日志有关?




[2024-11-28 21:55:00] local.ERROR: Command "dujiao" is not defined. {"exception":"[object] (Symfony\\Component\\Console\\Exception\\CommandNotFoundException(code: 0): Command \"dujiao\" is not defined. at /www/wwwroot/dujiaoshou561.com/dujiaoka/vendor/symfony/console/Application.php:676)
[stacktrace]
#0 /www/wwwroot/dujiaoshou561.com/dujiaoka/vendor/symfony/console/Application.php(237): Symfony\\Component\\Console\\Application->find()
#1 /www/wwwroot/dujiaoshou561.com/dujiaoka/vendor/symfony/console/Application.php(149): Symfony\\Component\\Console\\Application->doRun()
#2 /www/wwwroot/dujiaoshou561.com/dujiaoka/vendor/laravel/framework/src/Illuminate/Console/Application.php(93): Symfony\\Component\\Console\\Application->run()
#3 /www/wwwroot/dujiaoshou561.com/dujiaoka/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(131): Illuminate\\Console\\Application->run()
#4 /www/wwwroot/dujiaoshou561.com/dujiaoka/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle()
#5 {main}
"}
[2024-11-29 09:44:32] local.ERROR: Unable to prepare route [api/user] for serialization. Uses Closure. {"exception":"[object] (LogicException(code: 0): Unable to prepare route [api/user] for serialization. Uses Closure. at /www/wwwroot/dujiaoshou561.com/vendor/laravel/framework/src/Illuminate/Routing/Route.php:917)
[stacktrace]
#0 /www/wwwroot/dujiaoshou561.com/vendor/laravel/framework/src/Illuminate/Foundation/Console/RouteCacheCommand.php(62): Illuminate\\Routing\\Route->prepareForSerialization()
#1 /www/wwwroot/dujiaoshou561.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Foundation\\Console\\RouteCacheCommand->handle()
#2 /www/wwwroot/dujiaoshou561.com/vendor/laravel/framework/src/Illuminate/Container/Util.php(37): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#3 /www/wwwroot/dujiaoshou561.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure()
#4 /www/wwwroot/dujiaoshou561.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()
#5 /www/wwwroot/dujiaoshou561.com/vendor/laravel/framework/src/Illuminate/Container/Container.php(590): Illuminate\\Container\\BoundMethod::call()
#6 /www/wwwroot/dujiaoshou561.com/vendor/laravel/framework/src/Illuminate/Console/Command.php(134): Illuminate\\Container\\Container->call()
#7 /www/wwwroot/dujiaoshou561.com/vendor/symfony/console/Command/Command.php(255): Illuminate\\Console\\Command->execute()
#8 /www/wwwroot/dujiaoshou561.com/vendor/laravel/framework/src/Illuminate/Console/Command.php(121): Symfony\\Component\\Console\\Command\\Command->run()
#9 /www/wwwroot/dujiaoshou561.com/vendor/symfony/console/Application.php(1009): Illuminate\\Console\\Command->run()
#10 /www/wwwroot/dujiaoshou561.com/vendor/symfony/console/Application.php(273): Symfony\\Component\\Console\\Application->doRunCommand()
#11 /www/wwwroot/dujiaoshou561.com/vendor/symfony/console/Application.php(149): Symfony\\Component\\Console\\Application->doRun()
#12 /www/wwwroot/dujiaoshou561.com/vendor/laravel/framework/src/Illuminate/Console/Application.php(93): Symfony\\Component\\Console\\Application->run()
#13 /www/wwwroot/dujiaoshou561.com/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(131): Illuminate\\Console\\Application->run()
#14 /www/wwwroot/dujiaoshou561.com/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle()
#15 {main}
"}
175 次点击
所在节点    程序员
2 条回复
warcell0
11 小时 59 分钟前
看日志应该是命令行却少文件
iorilu
7 小时 45 分钟前
你在阿里云上部署, 基本很快就会被警告封掉

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/1093624

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX