Skip to content

Update function is broken #62

@eduardomozart

Description

@eduardomozart

Describe the bug
Auto-update function seems broken.
I believe that a custom GitHub action should be made to update this JSON file on the fly when a new release is made, which seems to be the case with older releases e.g. 0.0.16 (Update/update.xml), but for some reason the current file version downgraded the current version: https://github.com/KangLin/RabbitRemoteControl/blob/master/Update/update.xml and https://github.com/KangLin/RabbitRemoteControl/blob/master/Update/update.json

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Help'
  2. Click on 'Update'
  3. See error

Expected behavior
Show if there's an update available for the program.

Screenshots

Image

Application details

  • The application version (Open applicatoin → help → about): 0.0.36-316-g67f307d9
  • Compile date (Open applicatoin → help → about): Aug 29 2025/04:29:05
  • Log file:
[10:52:18.092 46127|4862859 I] RabbitCommon.DownloadFile - Download file: 0 QUrl("https://github.com/KangLin/RabbitRemoteControl/raw/master/Update/update.json") (redirection: false ) "/private/var/folders/rg/cc9t7c356znd9wdv_0xy2c0w0000gn/T/Rabbit/RabbitRemoteControl/0/update.json"
[10:52:18.378 46127|4862859 I] RabbitCommon.DownloadFile - Download file: 1 QUrl("https://gitee.com/kl222/RabbitRemoteControl/raw/master/Update/update.json") (redirection: false ) "/private/var/folders/rg/cc9t7c356znd9wdv_0xy2c0w0000gn/T/Rabbit/RabbitRemoteControl/1/update.json"
[10:52:18.379 46127|4862859 I] RabbitCommon.DownloadFile - Download file: 2 QUrl("https://sourceforge.net/p/RabbitRemoteControl/ci/master/tree/Update/update.json?format=raw") (redirection: false ) "/private/var/folders/rg/cc9t7c356znd9wdv_0xy2c0w0000gn/T/Rabbit/RabbitRemoteControl/2/update.json"
[10:52:18.381 46127|4862859 I] RabbitCommon.DownloadFile - Download file: 3 QUrl("https://gitlab.com/kl222/RabbitRemoteControl/-/raw/master/Update/update.json") (redirection: false ) "/private/var/folders/rg/cc9t7c356znd9wdv_0xy2c0w0000gn/T/Rabbit/RabbitRemoteControl/3/update.json"
[10:52:18.881 46127|4862859 I] RabbitCommon.DownloadFile - Download finished: 3 QUrl("https://gitlab.com/kl222/RabbitRemoteControl/-/raw/master/Update/update.json")
[10:52:18.884 46127|4862859 I] RabbitCommon.Updater - Download finished: rename "/private/var/folders/rg/cc9t7c356znd9wdv_0xy2c0w0000gn/T/Rabbit/RabbitRemoteControl/3/update.json" to "/private/var/folders/rg/cc9t7c356znd9wdv_0xy2c0w0000gn/T/Rabbit/RabbitRemoteControl/update.json"
[10:52:18.892 46127|4862859 I] RabbitCommon.Updater - Redirect. Version: "v0.1.0-alpha.2" QList(QUrl("https://github.com/KangLin/RabbitRemoteControl/releases/download/v0.1.0-alpha.2/update.json"), QUrl("https://master.dl.sourceforge.net/project/RabbitRemoteControl/v0.1.0-alpha.2/update.json?viasf=1"))
[10:52:18.893 46127|4862859 I] RabbitCommon.DownloadFile - Download file: 0 QUrl("https://github.com/KangLin/RabbitRemoteControl/releases/download/v0.1.0-alpha.2/update.json") (redirection: false ) "/private/var/folders/rg/cc9t7c356znd9wdv_0xy2c0w0000gn/T/Rabbit/RabbitRemoteControl/0/update.json"
[10:52:18.896 46127|4862859 I] RabbitCommon.DownloadFile - Download file: 1 QUrl("https://master.dl.sourceforge.net/project/RabbitRemoteControl/v0.1.0-alpha.2/update.json?viasf=1") (redirection: false ) "/private/var/folders/rg/cc9t7c356znd9wdv_0xy2c0w0000gn/T/Rabbit/RabbitRemoteControl/1/update.json"
[10:52:19.985 46127|4862859 E] RabbitCommon.Updater - "Failed:Download file is Failed.(Network error: Error transferring https://master.dl.sourceforge.net/project/RabbitRemoteControl/v0.1.0-alpha.2/update.json?viasf=1 - server replied: Not Found; from https://master.dl.sourceforge.net/project/RabbitRemoteControl/v0.1.0-alpha.2/update.json?viasf=1 to /private/var/folders/rg/cc9t7c356znd9wdv_0xy2c0w0000gn/T/Rabbit/RabbitRemoteControl/1/update.json)" 203

Qt
Version: 6.9.2

System information

Desktop (please complete the following information):

  • OS: macOS
  • Version: Sequoia (15.6.1)

Smartphone (please complete the following information):

  • Device: [e.g. Android/iPhone6/...]
  • OS: [e.g. iOS8.1]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions