V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
hh7418695
V2EX  ›  程序员

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

  •  
  •   hh7418695 · 4 天前 · 282 次点击
    这是 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}
    "}
    2 条回复
    warcell0
        1
    warcell0  
       3 天前
    看日志应该是命令行却少文件
    iorilu
        2
    iorilu  
       3 天前
    你在阿里云上部署, 基本很快就会被警告封掉
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   6062 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 02:41 · PVG 10:41 · LAX 18:41 · JFK 21:41
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.