图片来源日志
系统正常
A
Admin Administrator

Retu8 运行日志

来源代码:retu8 · 当前状态:idle · 最后消息:Picture V1 Final 同步完成

当前状态 IDLE
最后开始 2026-07-25 05:51:59
最后完成 2026-07-25 06:23:15
退出码 0
采集运行日志(最后 300 行)
[2026-07-25 05:22:47] ==================================================
[2026-07-25 05:22:47] Run V2 开始运行
[2026-07-25 05:22:47] 来源:Retu8 [retu8]
[2026-07-25 05:22:47] 模式:daily
[2026-07-25 05:22:47] PID:152739
[2026-07-25 05:22:47] PHP_BINARY:/usr/bin/php8.4
[2026-07-25 05:22:47] PHP_SAPI:cli
[2026-07-25 05:22:47] 采集器目录:/opt/hunao-cms/collector/image/retu8
[2026-07-25 05:22:47] Python:/usr/bin/python3
[2026-07-25 05:22:47] 执行步骤:发现图集
[2026-07-25 05:22:47] 命令:/usr/bin/python3 discover.py
usage: discover.py [-h] --category CATEGORY [--limit LIMIT] [--delay DELAY] [--album-delay ALBUM_DELAY] [--show-only]
discover.py: error: the following arguments are required: --category
[2026-07-25 05:22:48] 步骤退出码:2
[2026-07-25 05:22:48] 运行失败:发现图集 执行失败,退出码:2
[2026-07-25 05:54:42] ==================================================
[2026-07-25 05:54:42] Run V3 开始
[2026-07-25 05:54:42] 来源:Retu8 [retu8]
[2026-07-25 05:54:42] 模式:daily
[2026-07-25 05:54:42] PID:153212
[2026-07-25 05:54:42] PHP:/usr/bin/php8.4
[2026-07-25 05:54:42] SAPI:cli
[2026-07-25 05:54:42] 来源目录:/opt/hunao-cms/collector/image/retu8
[2026-07-25 05:54:42] 总控脚本:/opt/hunao-cms/collector/image/run_daily.sh
[2026-07-25 05:54:42] 执行命令:/bin/bash /opt/hunao-cms/collector/image/run_daily.sh
[2026-07-25 06:09:44] ==================================================
[2026-07-25 06:09:44] Run V3 开始
[2026-07-25 06:09:44] 来源:Retu8 [retu8]
[2026-07-25 06:09:44] 模式:daily
[2026-07-25 06:09:44] PID:153515
[2026-07-25 06:09:44] PHP:/usr/bin/php8.4
[2026-07-25 06:09:44] SAPI:cli
[2026-07-25 06:09:44] 来源目录:/opt/hunao-cms/collector/image/retu8
[2026-07-25 06:09:44] 总控脚本:/opt/hunao-cms/collector/image/run_daily.sh
[2026-07-25 06:09:44] 执行命令:/bin/bash /opt/hunao-cms/collector/image/run_daily.sh
[2026-07-25 06:11:53] Shell 总控退出码:1
[2026-07-25 06:11:53] Run V3 失败:run_daily.sh 执行失败,退出码:1
后台启动日志(最后 100 行)
Usage: php-fpm8.4 [-n] [-e] [-h] [-i] [-m] [-v] [-t] [-p <prefix>] [-g <pid>] [-c <file>] [-d foo[=bar]] [-y <file>] [-D] [-F [-O]]
  -c <path>|<file> Look for php.ini file in this directory
  -n               No php.ini file will be used
  -d foo[=bar]     Define INI entry foo with value 'bar'
  -e               Generate extended information for debugger/profiler
  -h               This help
  -i               PHP information
  -m               Show compiled in modules
  -v               Version number
  -p, --prefix <dir>
                   Specify alternative prefix path to FastCGI process manager (default: /usr).
  -g, --pid <file>
                   Specify the PID file location.
  -y, --fpm-config <file>
                   Specify alternative path to FastCGI process manager config file.
  -t, --test       Test FPM configuration and exit
  -D, --daemonize  force to run in background, and ignore daemonize option from config file
  -F, --nodaemonize
                   force to stay in foreground, and ignore daemonize option from config file
  -O, --force-stderr
                   force output to stderr in nodaemonize even if stderr is not a TTY
  -R, --allow-to-run-as-root
                   Allow pool to run as root (disabled by default)

==================================================
[2026-07-25 05:15:34] Run V2 启动
PHP CLI: /usr/bin/php
Artisan: /opt/hunao-cms/artisan
Collector: /opt/hunao-cms/collector/image/retu8
Source: retu8

   ErrorException 

  file_put_contents(/opt/hunao-cms/storage/app/image-source-locks/retu8.lock): Failed to open stream: Permission denied

  at /opt/hunao-cms/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:204
    200▕      * @return int|bool
    201▕      */
    202▕     public function put($path, $contents, $lock = false)
    203▕     {
  ➜ 204▕         return file_put_contents($path, $contents, $lock ? LOCK_EX : 0);
    205▕     }
    206▕ 
    207▕     /**
    208▕      * Write the contents of a file, replacing it atomically if it already exists.

      +2 vendor frames 

  3   /opt/hunao-cms/app/Console/Commands/RunMediaImageSource.php:95
      Illuminate\Support\Facades\Facade::__callStatic()
      +13 vendor frames 

  17  /opt/hunao-cms/artisan:16
      Illuminate\Foundation\Application::handleCommand()


==================================================
[2026-07-25 05:15:43] Run V2 启动
PHP CLI: /usr/bin/php
Artisan: /opt/hunao-cms/artisan
Collector: /opt/hunao-cms/collector/image/retu8
Source: retu8

   ErrorException 

  file_put_contents(/opt/hunao-cms/storage/app/image-source-locks/retu8.lock): Failed to open stream: Permission denied

  at /opt/hunao-cms/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:204
    200▕      * @return int|bool
    201▕      */
    202▕     public function put($path, $contents, $lock = false)
    203▕     {
  ➜ 204▕         return file_put_contents($path, $contents, $lock ? LOCK_EX : 0);
    205▕     }
    206▕ 
    207▕     /**
    208▕      * Write the contents of a file, replacing it atomically if it already exists.

      +2 vendor frames 

  3   /opt/hunao-cms/app/Console/Commands/RunMediaImageSource.php:95
      Illuminate\Support\Facades\Facade::__callStatic()
      +13 vendor frames 

  17  /opt/hunao-cms/artisan:16
      Illuminate\Foundation\Application::handleCommand()


==================================================
[2026-07-25 05:51:59] Run V3 启动
PHP CLI: /usr/bin/php
Artisan: /opt/hunao-cms/artisan
Mode: daily
Runner: /opt/hunao-cms/collector/image/run_daily.sh
PHP Fatal error:  Access level to App\Console\Commands\RunMediaImageSource::fail() must be public (as in class Illuminate\Console\Command) in /opt/hunao-cms/app/Console/Commands/RunMediaImageSource.php on line 396

   Symfony\Component\ErrorHandler\Error\FatalError 

  Access level to App\Console\Commands\RunMediaImageSource::fail() must be public (as in class Illuminate\Console\Command)

  at /opt/hunao-cms/app/Console/Commands/RunMediaImageSource.php:396
    392▕ 
    393▕         return '无需额外扫描';
    394▕     }
    395▕ 
  ➜ 396▕     private function fail(
    397▕         MediaImageSource $source,
    398▕         string $logPath,
    399▕         string $lockPath,
    400▕         string $pidPath,


   Whoops\Exception\ErrorException 

  Access level to App\Console\Commands\RunMediaImageSource::fail() must be public (as in class Illuminate\Console\Command)

  at /opt/hunao-cms/app/Console/Commands/RunMediaImageSource.php:396
    392▕ 
    393▕         return '无需额外扫描';
    394▕     }
    395▕ 
  ➜ 396▕     private function fail(
    397▕         MediaImageSource $source,
    398▕         string $logPath,
    399▕         string $lockPath,
    400▕         string $pidPath,

      +1 vendor frames 

  2   [internal]:0
      Whoops\Run::handleShutdown()