从机系统centos7
报错:http://www.darktool.cn/usr/uploads/time/6495da94e3e26.jpg
尝试过3.8.0版本下使用本地存储是可以生成缩略图的
以下是根据教程配置的从机配置文件
[System]
Mode = slave
[Slave]
Secret = *************
; 回调请求超时时间 (s)
CallbackTimeout = 60
; ; 签名有效期
SignatureTTL = 120
[CORS]
AllowOrigins =
AllowMethods = OPTIONS,GET,POST
AllowHeaders =
AllowCredentials = false
SameSite = Default
Secure = lse
; 从机配置覆盖
[OptionOverwrite]
; 任务队列最多并行执行的任务数
max_worker_num = 50
; 任务队列中转任务传输时,最大并行协程数
max_parallel_transfer = 10
; 中转分片上传失败后重试的最大次数
chunk_retries = 10
; 缩略图配置
thumb_width = 400
thumb_height = 300
thumb_file_suffix = ._thumb
thumb_max_task_count = -1
thumb_encode_method = jpg
thumb_gc_after_gen = 0
thumb_encode_quality = 85
thumb_builtin_enabled = 1
thumb_ffmpeg_enabled = 1
thumb_ffmpeg_path = ffmpeg
thumb_ffmpeg_exts = mp4,avi
thumb_ffmpeg_seek = 00:00:01.00
thumb_libreoffice_enabled = 0
thumb_libreoffice_path = soffice
thumb_libreoffice_exts = pptx,docx
thumb_vips_enabled = 0
thumb_vips_path = vips
thumb_vips_exts = csv,mat,img,hdr,pbm,pgm,ppm,pfm,pnm,svg,svgz,j2k,jp2,jpt,j2c,jpc,gif,png,jpg,jpeg,jpe,webp,tif,tiff,fits,fit,fts,exr,jxl,pdf,heic,heif,avif,svs,vms,vmu,ndpi,scn,mrxs,svslide,bif,raw