1.Multiple rows were found when one or none was required

修改/app/app/plugins/p115strmhelper/db_manager/models下的file.py和folder.py文件

file.py

  #修改前
  # return db.execute(
  #     select(File).where(File.path == file_path)
  # ).scalar_one_or_none()
  # # 修改后
  return db.execute(
      select(File).where(File.path == file_path)
  ).scalars().first()

folder.py

#修改前
# return db.execute(
#     select(Folder).where(Folder.path == file_path)
# ).scalar_one_or_none()
# 修改后
return db.execute(
    select(Folder).where(Folder.path == file_path)
).scalars().first()

修改完重启mp容器即可

2.115插件ui界面打不开,但是正常运行

报错:2025/08/11 09:13:07 [error] 39#39: *99 open() "/public/api/v1/plugin/file/p115strmhelper/dist/assets/remoteEntry.js" failed (2: No such file or directory), client: 192.168.2.1, server: moviepilot, request: "GET /api/v1/plugin/file/p115strmhelper/dist/assets/remoteEntry.js HTTP/1.1", host: "127.0.0.1"

mp容器内命令行执行

mkdir -p /public/api/v1/plugin/file/p115strmhelper/dist
cd /public/api/v1/plugin/file/p115strmhelper/dist
cp -r /app/app/plugins/p115strmhelper/dist/assets/ ./

刷新插件管理界面后,115插件就能正常进去了