CasaOS: All casaos-cli app-management commands result in 401 error after 0.4.4 upgrade

Describe the bug

After upgrading to the official 0.4.4 from the 0.4.4 alpha, I can’t run any casaos-cli app-management commands without getting 401 unauthorized.

If I revert to 0.4.3, the commands run successfully. Upgrading back to 0.4.4, I get 401 unauthorized again. For example, running the following command gives me this error:

casaos-cli app-management list app-stores -u "localhost:86"

To Reproduce

  1. Upgrade to 0.4.4 from 0.4.4 alpha
  2. Run any casaos-cli app-management commands
  3. See error

Expected behavior Expect to see the results from the command that was run

Desktop (please complete the following information):

 - Host: Raspberry Pi 4 Model B Rev 1.4
 - OS: Ubuntu 22.04.2 LTS aarch64
 - Browser N/A (cli)
 - Version: 0.4.4

System Time

Fri 2023-07-14 21:25:58 UTC

Logs

Lots of app-management service errors due to custom stores not being recognized correctly, but can’t find any errors directly related to my issue casaos-cli app-management service log pastebin

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 18 (8 by maintainers)

Commits related to this issue

Most upvoted comments

😗OK, I got it and fixed it in IceWhaleTech/CasaOS-Gateway#37.

Updated and working fine! Thanks!