tryzealot / zealot

开源自部署移动应用、 macOS、Linux 和 Windows 应用分发平台,提供 iOS、Android SDK、fastlane 等丰富组件库 | Self-hosted Beta App Distribution for Android, iOS, macOS, Linux and Windows apps
https://zealot.ews.im
MIT License
1.07k stars 134 forks source link

[Bug]: 使用fastlane-plugin-zealot上传报错 #1516

Closed mlch911 closed 4 months ago

mlch911 commented 4 months ago

部署方式 | How to Deploy

Docker (Default)

部署版本 | Version

5.2.3-nightly

Git 哈希值 (长度 40)| Git Ref (40 length)

5735c3d4bfbcaf43cf6fdd896d1e3b14fd4c633d

反代服务 | Reverse Proxy

none

HTTPS 证书类型 | HTTPS(SSL)

可受信任的证书 Verified SSL

已阅读文档 | Read the document

描述 | Description

使用fastlane-plugin-zealot上传报错 更新了一次版本后,就一直报错

Error uploading to Zealot [422]: {"error"=>"参数错误,请检查请求的参数是否正确", "entry"=>{"releases"=>["是无效的"]}}

代码

ENV['ZEALOT_ENDPOINT'] = 'url'
ENV['ZEALOT_TOKEN'] = 'xxx'
ENV['ZEALOT_HIDE_USER_TOKEN'] = 'true'
ENV['ZEALOT_FAIL_ON_ERROR'] = 'false'
zealot(
  channel_key:'xxx',
  changelog: 'xxx'
)

问题日志 | Relevant log output

No response

Issues-translate-bot commented 4 months ago

Bot translate issue to English automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Title: [Bug]: Upload error when using fastlane-plugin-zealot

rie-jos commented 4 months ago

hi, i had the same problem

with current version now i get { "error": "ERROR: syntax error at or near \"WHERE\"\nLINE 1: UPDATE \"channels\" WHERE \"channels\".\"id\" = $1\n ^\n" }

icyleaf commented 4 months ago

@rieset28 Would you pull the latest nightly or nightly-2024-05-27 and deploy to test it again?

mlch911 commented 4 months ago

@rieset28 Would you pull the latest nightly or nightly-2024-05-27 and deploy to test it again?

我刚更新的e89c48e5ad9c49fde042170a115e000acb6b0818,试了还是不行

[!] Error uploading to Zealot [500]: {"error"=>"ERROR:  syntax error at or near \"WHERE\"\nLINE 1: UPDATE \"channels\" WHERE \"channels\".\"id\" = $1\n                          ^\n"}
rie-jos commented 4 months ago

@icyleaf thx - works perfectly now :-)

icyleaf commented 4 months ago

The version 5.3.0 will be released ASAP.

mlch911 commented 4 months ago

@rieset28 Would you pull the latest nightly or nightly-2024-05-27 and deploy to test it again?

我刚更新的e89c48e5ad9c49fde042170a115e000acb6b0818,试了还是不行

[!] Error uploading to Zealot [500]: {"error"=>"ERROR:  syntax error at or near \"WHERE\"\nLINE 1: UPDATE \"channels\" WHERE \"channels\".\"id\" = $1\n                          ^\n"}

又更新了,现在没问题了。