收起左侧

相册无法扫描文件夹内的图

1
回复
154
查看
[ 复制链接 ]

2

主题

4

回帖

0

牛值

江湖小虾

2026-4-1 14:38:10 显示全部楼层 阅读模式

系统版本:X86

设备环境:(物理机、局域网、系统1.1.26/相册APP版本号 0.9.0)

BUG现象:系统版本和相册版本升级以后,不能正常扫描挂载的相册文件夹。

我是通过cryptsetup 命令将加密硬盘解密后挂载到/vol1/1000/sdc路径的,

cryptsetup open /dev/sda disk_sdc
mount /dev/mapper/disk_sdc /vol1/1000/sdc

在升级前都是正常使用的,升级后发现扫描不全了。

相册扫描任务界面会报错runtime error: invalid
查日志里会有这些报错

memory address or nil pointer dereference

[QUOTA]: Quotas are disabled.
[QUOTA]: Cannot determine quota format!

跟 ChatGPT 聊了一整天,终于定位出来问题,应该是某些 jpg 照片格式信息错误的问题

报错日志如下

error.log 文件:

time="2026-04-01T14:27:48+08:00" level=error msg="key:1 index is not exist"
time="2026-04-01T14:29:00+08:00" level=error msg="scan folder error: runtime error: invalid memory address or nil pointer dereference, file path: /vol1/1000/sdc/Photos/perflog/xhs/1698822721528.jpg" error="runtime error: invalid memory address or nil pointer dereference"
app/core/service.WalkVisitFolder.func4.1()
/root/go/src/app/core/service/user_folder.go:476 +0x272
panic({0x563b5b931200?, 0x563b5c6a0780?})
/usr/local/go/src/runtime/panic.go:783 +0x132
app/core/service.(*PhotoService).BuildPreparePhoto(0x563b5c920d00, {0xc002243700, 0x33})
/root/go/src/app/core/service/photo.go:127 +0x628
app/core/service.(*PhotoService).Save(0x563b5c920d00, {0xc002243700, 0x33})
/root/go/src/app/core/service/photo.go:37 +0xe5
app/core/service.WalkVisitFolder.func4({0xc002243700, 0x33}, {0x563b5bb73788, 0xc0022468f0}, {0x0, 0x0})
/root/go/src/app/core/service/user_folder.go:529 +0x4e5
app/core/util/fileutil.walkHelper({0xc002243700, 0x33}, 0xc005e4be68, 0xc005e4be38)
/root/go/src/app/core/util/fileutil/walk.go:38 +0x104
app/core/util/fileutil.walkHelper({0xc0057e7ec0, 0x21}, 0xc005e4be68, 0xc005e4be38)
/root/go/src/app/core/util/fileutil/walk.go:57 +0x2d8
app/core/util/fileutil.Walk(...)
/root/go/src/app/core/util/fileutil/walk.go:19
app/core/service.WalkVisitFolder({0x563b5bb6e5b8, 0x563b5c920d00}, 0x1, 0x2, {0xc006c14c30, 0x21}, 0xc005a28900)
/root/go/src/app/core/service/user_folder.go:567 +0x705
app/core/service.(*UserFolderService).createFolderScanTask.func2()
/root/go/src/app/core/service/user_folder.go:400 +0x35
github.com/panjf2000/ants/v2.(*goWorker).run.func1()
/usr/local/go/bin/pkg/mod/github.com/panjf2000/ants/v2@v2.11.4/worker.go:73 +0x8a
created by github.com/panjf2000/ants/v2.(*goWorker).run in goroutine 525
/usr/local/go/bin/pkg/mod/github.com/panjf2000/ants/v2@v2.11.4/worker.go:50 +0x65
time="2026-04-01T14:29:00+08:00" level=error msg="filepath.Walk is fail err:runtime error: invalid memory address or nil pointer dereference userId:1"

info.log 文件:

time="2026-04-01T14:26:14+08:00" level=info msg="exec init func: git.teiron-inc.cn/ai-infra/ai-manager-cli.Init completed"
time="2026-04-01T14:26:14+08:00" level=info msg="exec init func: git.teiron-inc.cn/infra/coredb.Init completed"
time="2026-04-01T14:26:14+08:00" level=info msg="exec init func: git.teiron-inc.cn/infra/trimrpc.defaultInit completed"
time="2026-04-01T14:26:14+08:00" level=info msg="record exif instance info:[{745389 /usr/local/bin/exiftool -stay_open True -@ - -source_id trim-photos}]"
time="2026-04-01T14:26:14+08:00" level=info msg="json.Marshal(processInfos):[{"Pid":745389,"Cmd":"/usr/local/bin/exiftool -stay_open True -@ - -source_id trim-photos"}]"
time="2026-04-01T14:26:14+08:00" level=info msg="init exiftool pool size: 10"
time="2026-04-01T14:26:14+08:00" level=info msg="exec init func: app/core/util/exif.InitExifToolPool completed"
time="2026-04-01T14:26:14+08:00" level=info msg="set dns server with trim dns query"
time="2026-04-01T14:26:14+08:00" level=info msg="exec init func: app/core/util/geo.initClient completed"
time="2026-04-01T14:26:14+08:00" level=info msg="exec init func: app/core/util/mediasrv.Init completed"
time="2026-04-01T14:26:14+08:00" level=info msg="LD_LIBRARY_PATH: /usr/trim/lib/photosrv"
time="2026-04-01T14:26:14+08:00" level=info msg="LD_LIBRARY_PATH: /usr/trim/lib/photosrv"
time="2026-04-01T14:26:14+08:00" level=info msg="exec init func: app/core/service.initEnv completed"
time="2026-04-01T14:26:14+08:00" level=info msg="exec init func: app/core/service.unMountPoint completed"
time="2026-04-01T14:26:14+08:00" level=info msg="exec init func: git.teiron-inc.cn/infra/coreweb.Init completed"
time="2026-04-01T14:26:14+08:00" level=info msg="sacclient client created:&{/var/run/trim_sac.socket http://localhost 0xc000157050}"
time="2026-04-01T14:26:14+08:00" level=info msg="exec biz init func: app/core/util/sac.initClient completed"
time="2026-04-01T14:26:14+08:00" level=info msg="exec biz init func: app/core/common.setMachineId completed"
time="2026-04-01T14:26:14+08:00" level=info msg="get device base diy:true official:false"
time="2026-04-01T14:26:14+08:00" level=info msg="exec biz init func: app/core/util/license.initClient completed"
time="2026-04-01T14:26:14+08:00" level=info msg="sharelink client created:&{0xc00070e808}"
time="2026-04-01T14:26:14+08:00" level=info msg="exec biz init func: app/core/util/share_link.initClient completed"
time="2026-04-01T14:26:14+08:00" level=info msg="InitDefaultAiModelVersionFromPartition partition not exist"
time="2026-04-01T14:26:14+08:00" level=info msg="exec biz init func: app/core/service.(*AIBaseService).InitDefaultAiModelVersionFromPartition-fm completed"
time="2026-04-01T14:26:14+08:00" level=info msg="Single instance lock acquired, PID: 745374, lock file: /var/run/trim_photos.lock"
time="2026-04-01T14:26:14+08:00" level=info msg="init BatchUpdateUserFolderStatueDone func"
time="2026-04-01T14:26:14+08:00" level=info msg="file event queue initialized: buffer_size=50000"
time="2026-04-01T14:26:14+08:00" level=info msg="file event consumer started"
time="2026-04-01T14:26:14+08:00" level=info msg="event consumer loop started"
time="2026-04-01T14:26:15+08:00" level=info msg="dic_path :/var/apps/trim.photos/target/dict/s_1.txt"
time="2026-04-01T14:26:15+08:00" level=info msg="成功注册自定义分词器"
time="2026-04-01T14:26:15+08:00" level=info msg="start checkLanguage (mainland edition, using default language: zh-CN)"
time="2026-04-01T14:26:15+08:00" level=warning msg="failed to read smart_categories_zh-CN.json: open /var/apps/trim.photos/target/i18n/output/smart_categories_zh-CN.json: no such file or directory"
time="2026-04-01T14:26:15+08:00" level=info msg="Initialized 172 smart categories for language: zh-CN"
time="2026-04-01T14:26:15+08:00" level=info msg="start checkTimeZone!"
time="2026-04-01T14:26:15+08:00" level=info msg="db timeZoneOffset: system timezone:{"offset":"+08:00","zone":"Asia/Shanghai","zone_name":"Asia/Shanghai"}"
time="2026-04-01T14:26:15+08:00" level=info msg="localCache time_zone: &{+08:00 Asia/Shanghai Asia/Shanghai 480}"
time="2026-04-01T14:26:15+08:00" level=info msg="compensation callback set successfully"
time="2026-04-01T14:26:15+08:00" level=info msg="init queue :/var/apps/trim.photos/var/db/queue.db?_journal_mode=WAL"
time="2026-04-01T14:26:15+08:00" level=info msg="Current db version: 1007"
time="2026-04-01T14:26:15+08:00" level=info msg="Current db version: 1007"
time="2026-04-01T14:26:15+08:00" level=info msg="正在升级: 从版本 6 到版本 7...\n"
time="2026-04-01T14:26:15+08:00" level=info msg="升级任务从版本 6 到版本 7 异步执行中"
time="2026-04-01T14:26:15+08:00" level=info msg="Start to upgrade data to version 7"
time="2026-04-01T14:26:15+08:00" level=info msg="time setting:{"timezone":{"offset":"+08:00","zone":"Asia/Shanghai","zone_name":"Asia/Shanghai"},"time":1775024775,"ntpEnable":true,"ntpPool":["ntp.tencent.com"],"sysNtpPool":["ntp.tencent.com","ntp.aliyun.com","pool.ntp.org","time.google.com","time.cloudflare.com","time.apple.com","time.windows.com","time.nist.gov"]},offsetMinutes:480"
time="2026-04-01T14:26:15+08:00" level=info msg="Starting migration to UTC storage"
time="2026-04-01T14:26:15+08:00" level=info msg="RecycleBin timezone migration completed"
time="2026-04-01T14:26:15+08:00" level=info msg="UTC storage migration completed successfully"
time="2026-04-01T14:26:15+08:00" level=info msg="Upgrade data to version 7 Done"
time="2026-04-01T14:26:15+08:00" level=info msg="升级任务从版本 6 到版本 7 异步执行完成"
time="2026-04-01T14:26:15+08:00" level=debug msg="release lock: create_user:1000"
time="2026-04-01T14:26:21+08:00" level=debug msg="hasFileWriteAccess nasUid :1000, fileName:/vol1/1000 ,success"
time="2026-04-01T14:26:23+08:00" level=warning msg="failed to read magic_search_prompts_zh-CN.json: open /var/apps/trim.photos/target/i18n/output/magic_search_prompts_zh-CN.json: no such file or directory"
time="2026-04-01T14:27:03+08:00" level=debug msg="release lock: config_setting:1"
time="2026-04-01T14:27:03+08:00" level=debug msg="release lock: config_setting:1"
time="2026-04-01T14:27:03+08:00" level=debug msg="hasFileWriteAccess nasUid :1000, fileName:/vol1/1000 ,success"
time="2026-04-01T14:27:03+08:00" level=debug msg="hasFileWriteAccess nasUid :1000, fileName:/vol1/1000 ,success"
time="2026-04-01T14:27:03+08:00" level=debug msg="nasUid:1000 sharedDir: []"
time="2026-04-01T14:27:03+08:00" level=debug msg="hasFileWriteAccess nasUid :1000, fileName:/vol1/1000 ,success"
time="2026-04-01T14:27:03+08:00" level=debug msg="hasFileWriteAccess nasUid :1000, fileName:/vol1/1000 ,success"
time="2026-04-01T14:27:03+08:00" level=debug msg="nasUid:1000 favorites: []"
time="2026-04-01T14:27:03+08:00" level=debug msg="nasUid:1000 removables: [{Samsung SSD 970 PRO 512GB_1 /vol00/Samsung SSD 970 PRO 512GB_1 3584 33277440} {Samsung SSD 970 PRO 512GB /vol00/Samsung SSD 970 PRO 512GB 487410499584 512059899904}]"
time="2026-04-01T14:27:03+08:00" level=debug msg="hasFileWriteAccess nasUid :1000, fileName:/vol1/1000 ,success"
time="2026-04-01T14:27:14+08:00" level=info msg="record exif instance info:[]"
time="2026-04-01T14:27:14+08:00" level=info msg="json.Marshal(processInfos):[]"
time="2026-04-01T14:27:47+08:00" level=debug msg="hasFileWriteAccess nasUid :1000, fileName:/vol1/1000/sdc/Photos/perflog/lisa ,success"
time="2026-04-01T14:27:47+08:00" level=info msg="receive folder channel event"
time="2026-04-01T14:27:47+08:00" level=info msg="visit folderId:1 info:lisa is Dir"
time="2026-04-01T14:27:47+08:00" level=info msg="get file path lock: /vol1/1000/sdc/Photos/perflog/lisa/IMG_0477.JPG"
time="2026-04-01T14:27:47+08:00" level=info msg="starting monitor folder: /vol1/1000/sdc/Photos/perflog/lisa"
time="2026-04-01T14:27:47+08:00" level=info msg="monitor started. folder: /vol1/1000/sdc/Photos/perflog/lisa, mask: 1073743816"
time="2026-04-01T14:27:47+08:00" level=info msg="reload file monitor succeed, watched folders:\n [/vol1/1000/sdc/Photos/perflog/lisa]"
time="2026-04-01T14:27:48+08:00" level=debug msg="hasFileWriteAccess nasUid :1000, fileName:/vol1/1000/sdc/Photos/perflog/lisa/.@#local ,success"
time="2026-04-01T14:27:48+08:00" level=debug msg="hasFileWriteAccess nasUid :1000, fileName:/vol1/1000 ,success"
time="2026-04-01T14:27:48+08:00" level=info msg="calculate file hash cost(ms): 0"
time="2026-04-01T14:27:48+08:00" level=info msg="fallbackDataTime: &{Content:2018:05:10 07:25:00 Year:2018 Month:5 Day:10 TimeZoneMinutes:0xc006918ad8}"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 12(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 1(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 1(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 0(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="thumb cost: 16(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="release lock: file:/vol1/1000/sdc/Photos/perflog/lisa/IMG_0477.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="get file path lock: /vol1/1000/sdc/Photos/perflog/lisa/IMG_0478.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="calculate file hash cost(ms): 0"
time="2026-04-01T14:27:48+08:00" level=info msg="fallbackDataTime: &{Content:2018:05:10 07:25:02 Year:2018 Month:5 Day:10 TimeZoneMinutes:0xc006962a08}"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 9(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 4(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 1(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 1(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="thumb cost: 18(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="release lock: file:/vol1/1000/sdc/Photos/perflog/lisa/IMG_0478.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="get file path lock: /vol1/1000/sdc/Photos/perflog/lisa/IMG_0479.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="calculate file hash cost(ms): 0"
time="2026-04-01T14:27:48+08:00" level=info msg="fallbackDataTime: &{Content:2018:05:10 07:24:58 Year:2018 Month:5 Day:10 TimeZoneMinutes:0xc006b8e8c8}"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 6(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 3(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 1(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 1(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="thumb cost: 13(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="release lock: file:/vol1/1000/sdc/Photos/perflog/lisa/IMG_0479.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="get file path lock: /vol1/1000/sdc/Photos/perflog/lisa/IMG_0480.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="calculate file hash cost(ms): 0"
time="2026-04-01T14:27:48+08:00" level=info msg="fallbackDataTime: &{Content:2018:05:10 07:24:58 Year:2018 Month:5 Day:10 TimeZoneMinutes:0xc0064ef788}"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 3(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 2(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 1(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 1(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="thumb cost: 9(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="release lock: file:/vol1/1000/sdc/Photos/perflog/lisa/IMG_0480.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="get file path lock: /vol1/1000/sdc/Photos/perflog/lisa/IMG_0481.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="calculate file hash cost(ms): 0"
time="2026-04-01T14:27:48+08:00" level=info msg="fallbackDataTime: &{Content:2018:05:10 07:25:00 Year:2018 Month:5 Day:10 TimeZoneMinutes:0xc006ab1668}"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 4(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 3(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 1(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 0(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="thumb cost: 11(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="release lock: file:/vol1/1000/sdc/Photos/perflog/lisa/IMG_0481.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="get file path lock: /vol1/1000/sdc/Photos/perflog/lisa/IMG_0482.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="calculate file hash cost(ms): 0"
time="2026-04-01T14:27:48+08:00" level=info msg="fallbackDataTime: &{Content:2018:05:10 07:24:54 Year:2018 Month:5 Day:10 TimeZoneMinutes:0xc006af1548}"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 2(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 2(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 1(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 1(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="thumb cost: 8(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="release lock: file:/vol1/1000/sdc/Photos/perflog/lisa/IMG_0482.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="get file path lock: /vol1/1000/sdc/Photos/perflog/lisa/IMG_0483.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="calculate file hash cost(ms): 0"
time="2026-04-01T14:27:48+08:00" level=info msg="fallbackDataTime: &{Content:2018:05:10 07:24:56 Year:2018 Month:5 Day:10 TimeZoneMinutes:0xc006bc8b38}"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 6(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 4(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 1(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 0(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="thumb cost: 15(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="release lock: file:/vol1/1000/sdc/Photos/perflog/lisa/IMG_0483.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="get file path lock: /vol1/1000/sdc/Photos/perflog/lisa/IMG_0484.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="calculate file hash cost(ms): 0"
time="2026-04-01T14:27:48+08:00" level=info msg="fallbackDataTime: &{Content:2018:05:10 07:24:56 Year:2018 Month:5 Day:10 TimeZoneMinutes:0xc006cc4a18}"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 5(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 3(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 1(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 0(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="thumb cost: 12(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="release lock: file:/vol1/1000/sdc/Photos/perflog/lisa/IMG_0484.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="get file path lock: /vol1/1000/sdc/Photos/perflog/lisa/IMG_0485.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="calculate file hash cost(ms): 0"
time="2026-04-01T14:27:48+08:00" level=info msg="fallbackDataTime: &{Content:2018:05:10 07:24:50 Year:2018 Month:5 Day:10 TimeZoneMinutes:0xc006c26c68}"
time="2026-04-01T14:27:48+08:00" level=info msg="initIndex successfully!"
time="2026-04-01T14:27:48+08:00" level=info msg="成功创建索引:/var/apps/trim.photos/meta/index/1.bleve\n"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 6(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 5(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 1(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 0(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="thumb cost: 15(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="release lock: file:/vol1/1000/sdc/Photos/perflog/lisa/IMG_0485.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="get file path lock: /vol1/1000/sdc/Photos/perflog/lisa/IMG_0486.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="calculate file hash cost(ms): 0"
time="2026-04-01T14:27:48+08:00" level=info msg="fallbackDataTime: &{Content:2018:05:10 07:24:52 Year:2018 Month:5 Day:10 TimeZoneMinutes:0xc005ec1488}"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 8(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 4(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 1(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 0(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="thumb cost: 16(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="release lock: file:/vol1/1000/sdc/Photos/perflog/lisa/IMG_0486.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="get file path lock: /vol1/1000/sdc/Photos/perflog/lisa/IMG_0487.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="calculate file hash cost(ms): 0"
time="2026-04-01T14:27:48+08:00" level=info msg="fallbackDataTime: &{Content:2018:05:10 07:24:52 Year:2018 Month:5 Day:10 TimeZoneMinutes:0xc006c70b68}"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 4(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 3(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 1(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 1(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="thumb cost: 11(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="release lock: file:/vol1/1000/sdc/Photos/perflog/lisa/IMG_0487.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="get file path lock: /vol1/1000/sdc/Photos/perflog/lisa/IMG_0488.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="calculate file hash cost(ms): 0"
time="2026-04-01T14:27:48+08:00" level=info msg="fallbackDataTime: &{Content:2018:05:10 07:24:48 Year:2018 Month:5 Day:10 TimeZoneMinutes:0xc007082e08}"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 9(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 4(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 1(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 1(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="thumb cost: 17(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="release lock: file:/vol1/1000/sdc/Photos/perflog/lisa/IMG_0488.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="get file path lock: /vol1/1000/sdc/Photos/perflog/lisa/IMG_0489.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="calculate file hash cost(ms): 0"
time="2026-04-01T14:27:48+08:00" level=info msg="fallbackDataTime: &{Content:2018:05:10 07:24:48 Year:2018 Month:5 Day:10 TimeZoneMinutes:0xc006d8a898}"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 10(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 3(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 1(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 1(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="thumb cost: 18(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="release lock: file:/vol1/1000/sdc/Photos/perflog/lisa/IMG_0489.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="get file path lock: /vol1/1000/sdc/Photos/perflog/lisa/IMG_0490.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="calculate file hash cost(ms): 0"
time="2026-04-01T14:27:48+08:00" level=info msg="fallbackDataTime: &{Content:2018:05:10 07:24:50 Year:2018 Month:5 Day:10 TimeZoneMinutes:0xc006dc27b8}"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 11(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 5(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 1(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 0(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="thumb cost: 20(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="release lock: file:/vol1/1000/sdc/Photos/perflog/lisa/IMG_0490.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="get file path lock: /vol1/1000/sdc/Photos/perflog/lisa/IMG_0491.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="calculate file hash cost(ms): 0"
time="2026-04-01T14:27:48+08:00" level=info msg="fallbackDataTime: &{Content:2018:05:10 07:24:44 Year:2018 Month:5 Day:10 TimeZoneMinutes:0xc0070c9008}"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 7(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 2(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 1(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 0(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="thumb cost: 12(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="release lock: file:/vol1/1000/sdc/Photos/perflog/lisa/IMG_0491.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="get file path lock: /vol1/1000/sdc/Photos/perflog/lisa/IMG_0492.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="calculate file hash cost(ms): 0"
time="2026-04-01T14:27:48+08:00" level=info msg="fallbackDataTime: &{Content:2018:05:10 07:24:46 Year:2018 Month:5 Day:10 TimeZoneMinutes:0xc006de8558}"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 7(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 4(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 1(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 0(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="thumb cost: 14(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="release lock: file:/vol1/1000/sdc/Photos/perflog/lisa/IMG_0492.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="get file path lock: /vol1/1000/sdc/Photos/perflog/lisa/IMG_0493.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="calculate file hash cost(ms): 0"
time="2026-04-01T14:27:48+08:00" level=info msg="fallbackDataTime: &{Content:2018:05:10 07:24:46 Year:2018 Month:5 Day:10 TimeZoneMinutes:0xc006e7e1f8}"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 15(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 7(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 1(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 0(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="thumb cost: 24(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="release lock: file:/vol1/1000/sdc/Photos/perflog/lisa/IMG_0493.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="get file path lock: /vol1/1000/sdc/Photos/perflog/lisa/IMG_0494.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="calculate file hash cost(ms): 0"
time="2026-04-01T14:27:48+08:00" level=info msg="fallbackDataTime: &{Content:2018:05:10 07:24:42 Year:2018 Month:5 Day:10 TimeZoneMinutes:0xc005b9e948}"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 10(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 4(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 0(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 0(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="thumb cost: 17(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="release lock: file:/vol1/1000/sdc/Photos/perflog/lisa/IMG_0494.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="get file path lock: /vol1/1000/sdc/Photos/perflog/lisa/IMG_0495.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="calculate file hash cost(ms): 0"
time="2026-04-01T14:27:48+08:00" level=info msg="fallbackDataTime: &{Content:2018:05:10 07:24:42 Year:2018 Month:5 Day:10 TimeZoneMinutes:0xc006d4d288}"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 6(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 3(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 1(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 0(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="thumb cost: 13(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="release lock: file:/vol1/1000/sdc/Photos/perflog/lisa/IMG_0495.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="get file path lock: /vol1/1000/sdc/Photos/perflog/lisa/IMG_0496.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="calculate file hash cost(ms): 0"
time="2026-04-01T14:27:48+08:00" level=info msg="fallbackDataTime: &{Content:2018:05:10 07:24:44 Year:2018 Month:5 Day:10 TimeZoneMinutes:0xc005d21898}"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 6(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 3(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 1(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="gen jpeg thumb cost: 1(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="thumb cost: 13(ms)"
time="2026-04-01T14:27:48+08:00" level=debug msg="release lock: file:/vol1/1000/sdc/Photos/perflog/lisa/IMG_0496.JPG"
time="2026-04-01T14:27:48+08:00" level=info msg="get file path lock: /vol1/1000/sdc/Photos/perflog/lisa/Thumbs.db"
time="2026-04-01T14:27:48+08:00" level=debug msg="release lock: file:/vol1/1000/sdc/Photos/perflog/lisa/Thumbs.db"
time="2026-04-01T14:27:48+08:00" level=info msg="allPhotos :20 freshPhotos:20"
time="2026-04-01T14:27:48+08:00" level=debug msg="release lock: user_folder:1"
time="2026-04-01T14:27:51+08:00" level=debug msg="hasFileWriteAccess nasUid :1000, fileName:/vol1/1000/sdc/Photos/perflog/lisa ,success"
time="2026-04-01T14:28:20+08:00" level=debug msg="hasFileWriteAccess nasUid :1000, fileName:/vol1/1000/sdc/Photos/perflog/lisa/.@#local ,success"
time="2026-04-01T14:29:00+08:00" level=debug msg="hasFileWriteAccess nasUid :1000, fileName:/vol1/1000/sdc/Photos/perflog/lisa/.@#local ,success"
time="2026-04-01T14:29:00+08:00" level=debug msg="hasFileWriteAccess nasUid :1000, fileName:/vol1/1000/sdc/Photos/perflog/xhs ,success"
time="2026-04-01T14:29:00+08:00" level=info msg="receive folder channel event"
time="2026-04-01T14:29:00+08:00" level=info msg="starting monitor folder: /vol1/1000/sdc/Photos/perflog/xhs"
time="2026-04-01T14:29:00+08:00" level=info msg="visit folderId:2 info:xhs is Dir"
time="2026-04-01T14:29:00+08:00" level=info msg="get file path lock: /vol1/1000/sdc/Photos/perflog/xhs/1698822721528.jpg"
time="2026-04-01T14:29:00+08:00" level=info msg="monitor started. folder: /vol1/1000/sdc/Photos/perflog/xhs, mask: 1073743816"
time="2026-04-01T14:29:00+08:00" level=info msg="reload file monitor succeed, watched folders:\n [/vol1/1000/sdc/Photos/perflog/lisa /vol1/1000/sdc/Photos/perflog/xhs]"
time="2026-04-01T14:29:00+08:00" level=info msg="calculate file hash cost(ms): 0"
time="2026-04-01T14:29:00+08:00" level=debug msg="hasFileWriteAccess nasUid :1000, fileName:/vol1/1000/sdc/Photos/perflog/lisa ,success"
time="2026-04-01T14:29:00+08:00" level=debug msg="release lock: file:/vol1/1000/sdc/Photos/perflog/xhs/1698822721528.jpg"
time="2026-04-01T14:29:00+08:00" level=debug msg="release lock: user_folder:2"

存储空间 1/我的文件/sdc/Photos/perflog/lisa 这个路径文件夹可以正常扫描

存储空间 1/我的文件/sdc/Photos/perflog/xhs这个有错误

现在gpt 告诉我要用ffmepg 修复,但是我的文件实在太多了,这样太麻烦了,还是烦请大大们看一下这个 bug 怎么解决啊,非常感谢!敬礼!麻烦修一下哦,很喜欢飞牛 ai 相册的功能

出现频率:(必现)

联系方式:站内联系吧

日志文件:截图文件upload 附件:trim.photos.zip
截屏2026-04-0114.29.18.png

截屏2026-04-019.35.38.png

收藏
送赞
分享

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x

2

主题

4

回帖

0

牛值

江湖小虾

2026-4-4 16:05:43 楼主 显示全部楼层
已经解决,是jpg文件exif里的修改时间为零的错误,用touch把信息改一下就好了。ai真不错啊,一直跟gpt对话就解决了
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则