IceWhaleTech / CasaOS

CasaOS - A simple, easy-to-use, elegant open-source Personal Cloud system.
https://casaos.io
Apache License 2.0
25.63k stars 1.39k forks source link

[Bug] There was an error when loading App Store list. Please try again. #988

Closed R-Josef closed 1 year ago

R-Josef commented 1 year ago

Describe the bug The install button from the app store doesn't work, and the import doesn't work. similar to #874, but i think it may not because the network.

To Reproduce Steps to reproduce the behavior:

  1. Open app store
  2. Choose an app and click Install
  3. See error There was an error when loading App Store list. Please try again.
  4. Click on Custom install
  5. The configuration of the application I just clicked to install has been fully loaded in this interface
  6. click install
  7. The installation was successful

Expected behavior The install button should works.

Desktop (please complete the following information):

Additional context I don't know if you can reproduce this bug, because I was able to use the install button of the app store normally at the beginning, but the next day after I custom installed two apps, I found that it couldn't be used.

When the error occurred, I also tried to clone https://github.com/IceWhaleTech/CasaOS-AppStore and import the appfile.json in it, but CasaOS told me that the json file was incorrect, and I also tried to copy the contents in docker-compose.yml, and an error is also displayed.

This is after steps in: https://wiki.casaos.io/en/troubleshooting/appstore-does-not-load

{"code":200,"mssage":"ok","data":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6IiIsInBhc3N3b3JkIjoiIiwiZXhwIjoxNjgwMjk0MzE5LCJpc3MiOiJnaW4tYmxvZyJ9.pAeyR5VmK_FpzRVpo7d0Dx3Ow712e1mKDFukUj_2SyQ"}feng@debian:~$ curl https://api.casaos.io/casaos-api/v2/app/newlist  -H "Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6IiIsInBhc3N3b3JkIjoiIiwiZXhwIjoxNjgwMjk0MzE5LCJpc3MiOiJnaW4tYmxvZyJ9.pAeyR5VmK_FpzRVpo7d0Dx3Ow712e1mKDFukUj_2SyQ"
{"code":200,"mssage":"ok","data":{"community":[{"id":89,"title":"OpenSpeedTest","tagline":"HTML5 Network Speed Test Server.","icon":"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/OpenSpeedTest/icon.png","category_id":29,"category":"Utilities","image_version":"latest","network_model":"","image":"openspeedtest/latest","envs":null,"ports":null,"volumes":null,"devices":null,"index":"","author":"","min_memory":0,"min_disk":0,"tip":"","state":0,"created_at":"2022-08-04T17:09:32Z","updated_at":"0001-01-01T00:00:00Z","query_count":5522,"thumbnail":"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/OpenSpeedTest/thumbnail.png","healthy":"","developer":"","plugins":null,"origin":"","type":0,"version":0,"github_model":""}],"list":[{"id":74,"title":"Syncthing","tagline":"Free, secure, and distributed file synchronisation tool.","icon":"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Syncthing/icon.png","category_id":22,"category":"Backup","image_version":"latest","network_model":"","image":"linuxserver/syncthing","envs":null,"ports":null,"volumes":null,"devices":null,"index":"","author":"","min_memory":0,"min_disk":0,"tip":"","state":0,"created_at":"2021-12-28T16:06:52Z","updated_at":"0001-01-01T00:00:00Z","query_count":7078489,"thumbnail":"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Jellyfin/thumbnail.jpg","healthy":"","developer":"","plugins":null,"origin":"","type":0,"version":0,"github_model":""},{"id":111,"title":"n8n","tagline":"Workflow automation tool","icon":"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/N8n/icon.png","category_id":29,"category":"Utilities","image_version":"latest","network_model":"","image":"n8nio/n8n","envs":null,"ports":null,"volumes":null,"devices":null,"index":"","author":"","min_memory":0,"min_disk":0,"tip":"","state":0,"created_at":"2022-09-16T16:52:19Z","updated_at":"0001-01-01T00:00:00Z","query_count":25986,"thumbnail":"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/N8n/thumbnail.png","healthy":"","developer":"","plugins":null,"origin":"","type":0,"version":0,"github_model":"{\"id\":0,\"version\":\"1.0\",\"title\":\"n8n\",\"name\":\"n8n\",\"icon\":\"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/N8n/icon.png\",\"tagline\":\"Workflow automation tool\",\"overview\":\"Free and source-available fair-code licensed workflow automation tool. Easily automate tasks across different services.\",\"thumbnail\":\"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/N8n/thumbnail.png\",\"type\":0,\"screenshots\":[\"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/N8n/screenshot-1.png\",\"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/N8n/screenshot-2.png\",\"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/N8n/screenshot-3.png\"],\"category\":[\"Utilities\"],\"adaptor\":{\"name\":\"YoussofKhawaja\",\"website\":\"\",\"donate_text\":\"\",\"donate_link\":\"\"},\"developer\":{\"name\":\"n8n\",\"website\":\"https://n8n.io/\",\"donate_text\":\"\",\"donate_link\":\"\"},\"support\":\"https://community.n8n.io\",\"website\":\"https://n8n.io\",\"container\":{\"image\":\"n8nio/n8n:latest\",\"shell\":\"bash\",\"privileged\":false,\"network_model\":\"bridge\",\"healthy\":\"\",\"web_ui\":{\"http\":\"5678\",\"path\":\"/\"},\"envs\":[{\"key\":\"TZ\",\"value\":\"$TZ\",\"configurable\":\"no\",\"description\":\"TimeZone\"}],\"ports\":[{\"container\":\"5678\",\"host\":\"5678\",\"type\":\"tcp\",\"allocation\":\"preferred\",\"configurable\":\"no\",\"description\":\"web port\"}],\"volumes\":[{\"container\":\"/.n8n\",\"host\":\"/DATA/AppData/$AppID/.n8n\",\"mode\":\"rw\",\"allocation\":\"automatic\",\"configurable\":\"advanced\",\"description\":\"n8n directory.\"}],\"devices\":[],\"constraints\":{\"min_memory\":320,\"min_storage\":512},\"restart_policy\":\"unless-stopped\",\"sysctls\":[],\"cap_add\":{},\"labels\":[]},\"abilities\":{\"notification\":false,\"widgets\":false,\"authentication\":true,\"search\":false,\"upnp\":false},\"tips\":{\"before_install\":null},\"changelog\":{\"latest_updates\":\"\",\"url\":\"https://docs.n8n.io/reference/release-notes/\"},\"latest_update_date\":\"1660128804\",\"cmd\":null,\"cap_add\":null}"},{"id":132,"title":"Unifi-controller","tagline":"The Unifi-controller software is a powerful, enterprise wireless software engine ideal for high-density client deployments requiring low latency and high uptime performance.","icon":"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Unifi-controller/icon.png","category_id":27,"category":"Network","image_version":"latest","network_model":"","image":"linuxserver/unifi-controller","envs":null,"ports":null,"volumes":null,"devices":null,"index":"","author":"","min_memory":0,"min_disk":0,"tip":"","state":0,"created_at":"2023-01-18T08:35:08Z","updated_at":"0001-01-01T00:00:00Z","query_count":25804,"thumbnail":"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Unifi-controller/thumbnail.png","healthy":"","developer":"","plugins":null,"origin":"","type":0,"version":0,"github_model":""},{"id":68,"title":"Nextcloud","tagline":"The productivity platform that keeps you in control","icon":"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Nextcloud/icon.png","category_id":23,"category":"Cloud","image_version":"latest","network_model":"","image":"nextcloud","envs":null,"ports":null,"volumes":null,"devices":null,"index":"","author":"","min_memory":0,"min_disk":0,"tip":"","state":0,"created_at":"2021-12-28T16:06:49Z","updated_at":"0001-01-01T00:00:00Z","query_count":12717,"thumbnail":"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Nextcloud/thumbnail.jpg","healthy":"","developer":"","plugins":null,"origin":"","type":0,"version":0,"github_model":""},{"id":66,"title":"HomeAssistant","tagline":"Awaken your home","icon":"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/HomeAssistant/icon.png","category_id":28,"category":"Home Automation","image_version":"latest","network_model":"","image":"linuxserver/homeassistant","envs":null,"ports":null,"volumes":null,"devices":null,"index":"","author":"","min_memory":0,"min_disk":0,"tip":"","state":0,"created_at":"2021-12-28T16:06:47Z","updated_at":"0001-01-01T00:00:00Z","query_count":11899,"thumbnail":"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/HomeAssistant/thumbnail.png","healthy":"","developer":"","plugins":null,"origin":"","type":0,"version":0,"github_model":""},{"id":78,"title":"AdGuardHome","tagline":"Network-wide ads \u0026 trackers blocking DNS server ","icon":"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/AdGuardHome/icon.png","category_id":27,"category":"Network","image_version":"v0.107.5","network_model":"","image":"adguard/adguardhome","envs":null,"ports":null,"volumes":null,"devices":null,"index":"","author":"","min_memory":0,"min_disk":0,"tip":"","state":0,"created_at":"2022-04-02T17:36:29Z","updated_at":"0001-01-01T00:00:00Z","query_count":10944,"thumbnail":"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/AdGuardHome/thumbnail.png","healthy":"","developer":"","plugins":null,"origin":"","type":0,"version":0,"github_model":""},{"id":67,"title":"Jellyfin","tagline":"Puts you in control of your media.","icon":"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Jellyfin/icon.png","category_id":15,"category":"Media","image_version":"latest","network_model":"","image":"linuxserver/jellyfin","envs":null,"ports":null,"volumes":null,"devices":null,"index":"","author":"","min_memory":0,"min_disk":0,"tip":"","state":0,"created_at":"2021-12-28T16:06:48Z","updated_at":"0001-01-01T00:00:00Z","query_count":10825,"thumbnail":"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Jellyfin/thumbnail.png","healthy":"","developer":"","plugins":null,"origin":"","type":0,"version":0,"github_model":""},{"id":70,"title":"Pi-hole","tagline":"Network-wide Ad Blocking","icon":"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Pihole/icon.png","category_id":27,"category":"Network","image_version":"latest","network_model":"","image":"pihole/pihole","envs":null,"ports":null,"volumes":null,"devices":null,"index":"","author":"","min_memory":0,"min_disk":0,"tip":"","state":0,"created_at":"2021-12-28T16:06:50Z","updated_at":"0001-01-01T00:00:00Z","query_count":9996,"thumbnail":"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Pihole/thumbnail.jpg","healthy":"","developer":"","plugins":null,"origin":"","type":0,"version":0,"github_model":""},{"id":65,"title":"FileBrowser","tagline":"Upload, delete, preview, rename, edit and share your files.","icon":"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/FileBrowser/icon.png","category_id":23,"category":"Cloud","image_version":"latest","network_model":"","image":"filebrowser/filebrowser","envs":null,"ports":null,"volumes":null,"devices":null,"index":"","author":"","min_memory":0,"min_disk":0,"tip":"","state":0,"created_at":"2021-12-28T16:06:47Z","updated_at":"0001-01-01T00:00:00Z","query_count":9237,"thumbnail":"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/FileBrowser/thumbnail.jpg","healthy":"","developer":"","plugins":null,"origin":"","type":0,"version":0,"github_model":""},{"id":75,"title":"qBittorrent","tagline":"Free BitTorrent downloader","icon":"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/qBittorrent/icon.png","category_id":26,"category":"Downloader","image_version":"latest","network_model":"","image":"hotio/qbittorrent","envs":null,"ports":null,"volumes":null,"devices":null,"index":"","author":"","min_memory":0,"min_disk":0,"tip":"","state":0,"created_at":"2021-12-28T16:06:53Z","updated_at":"0001-01-01T00:00:00Z","query_count":9121,"thumbnail":"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/qBittorrent/thumbnail.jpg","healthy":"","developer":"","plugins":null,"origin":"","type":0,"version":0,"github_model":""}],"recommend":[{"id":66,"title":"HomeAssistant","tagline":"Awaken your home","icon":"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/HomeAssistant/icon.png","category_id":28,"category":"Home Automation","image_version":"latest","network_model":"","image":"linuxserver/homeassistant","envs":null,"ports":null,"volumes":null,"devices":null,"index":"","author":"","min_memory":0,"min_disk":0,"tip":"","state":0,"created_at":"2021-12-28T16:06:47Z","updated_at":"0001-01-01T00:00:00Z","query_count":11899,"thumbnail":"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/HomeAssistant/thumbnail.png","healthy":"","developer":"","plugins":null,"origin":"","type":0,"version":0,"github_model":""},{"id":78,"title":"AdGuardHome","tagline":"Network-wide ads \u0026 trackers blocking DNS server ","icon":"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/AdGuardHome/icon.png","category_id":27,"category":"Network","image_version":"v0.107.5","network_model":"","image":"adguard/adguardhome","envs":null,"ports":null,"volumes":null,"devices":null,"index":"","author":"","min_memory":0,"min_disk":0,"tip":"","state":0,"created_at":"2022-04-02T17:36:29Z","updated_at":"0001-01-01T00:00:00Z","query_count":10944,"thumbnail":"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/AdGuardHome/thumbnail.png","healthy":"","developer":"","plugins":null,"origin":"","type":0,"version":0,"github_model":""},{"id":67,"title":"Jellyfin","tagline":"Puts you in control of your media.","icon":"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Jellyfin/icon.png","category_id":15,"category":"Media","image_version":"latest","network_model":"","image":"linuxserver/jellyfin","envs":null,"ports":null,"volumes":null,"devices":null,"index":"","author":"","min_memory":0,"min_disk":0,"tip":"","state":0,"created_at":"2021-12-28T16:06:48Z","updated_at":"0001-01-01T00:00:00Z","query_count":10825,"thumbnail":"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Jellyfin/thumbnail.png","healthy":"","developer":"","plugins":null,"origin":"","type":0,"version":0,"github_model":""},{"id":69,"title":"PhotoPrism","tagline":"Browsing, organizing \u0026 sharing your photo collection","icon":"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/PhotoPrism/icon.png","category_id":12,"category":"Gallery","image_version":"latest","network_model":"","image":"photoprism/photoprism","envs":null,"ports":null,"volumes":null,"devices":null,"index":"","author":"","min_memory":0,"min_disk":0,"tip":"","state":0,"created_at":"2021-12-28T16:06:49Z","updated_at":"0001-01-01T00:00:00Z","query_count":7141,"thumbnail":"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/PhotoPrism/thumbnail.png","healthy":"","developer":"","plugins":null,"origin":"","type":0,"version":0,"github_model":""},{"id":90,"title":"Bazarr","tagline":"Letter generators for Sonarr and Radarr","icon":"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Bazarr/icon.png","category_id":15,"category":"Media","image_version":"latest","network_model":"","image":"linuxserver/bazarr","envs":null,"ports":null,"volumes":null,"devices":null,"index":"","author":"","min_memory":0,"min_disk":0,"tip":"","state":0,"created_at":"2022-08-17T07:56:03Z","updated_at":"0001-01-01T00:00:00Z","query_count":2974,"thumbnail":"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Bazarr/thumbnail.png","healthy":"","developer":"","plugins":null,"origin":"","type":0,"version":0,"github_model":""},{"id":93,"title":"Lidarr","tagline":"Music collection manager for Usenet and BitTorrent users","icon":"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Lidarr/icon.png","category_id":26,"category":"Downloader","image_version":"latest","network_model":"","image":"linuxserver/lidarr","envs":null,"ports":null,"volumes":null,"devices":null,"index":"","author":"","min_memory":0,"min_disk":0,"tip":"","state":0,"created_at":"2022-08-17T17:41:56Z","updated_at":"0001-01-01T00:00:00Z","query_count":2416,"thumbnail":"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Lidarr/thumbnail.png","healthy":"","developer":"","plugins":null,"origin":"","type":0,"version":0,"github_model":""}]}}
Okamorii commented 1 year ago

I have exactly the same problem after only one day of using it :/

truthreigns commented 1 year ago

I do not have an app store button. I do not have any apps . I cannot log in to terminal. I do not see any way to access app store.

tigerinus commented 1 year ago

Can you follow https://wiki.casaos.io/en/troubleshooting/appstore-does-not-load and share your findings?

TauGammaBeta commented 1 year ago

I am also having this issue. Was working fine this morning, and (seemingly randomly), the app store stopped working.

Fauzanmhr commented 1 year ago

I have this problem too when installing on google cloud t2 arm using debian 12

lidizi commented 1 year ago

arch linux +1

wasyady commented 1 year ago

+1 debian

Wacci@raspberrypi:~ $ timedatectl Local time: Tue 2023-06-27 12:08:25 CEST Universal time: Tue 2023-06-27 10:08:25 UTC RTC time: n/a Time zone: Europe/Budapest (CEST, +0200) System clock synchronized: yes NTP service: active RTC in local TZ: no Wacci@raspberrypi:~ $ cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"

kicker83 commented 1 year ago

+1 Zimaboard with debian, casaos v0.4.3 and timedatectl procedure done. Still not working.

nicktheone commented 1 year ago

+1 Raspberry Pi 4 with Raspberry OS (latest), CasaOS v0.4.3. Tried the troubleshooting procedure to no results.

TheLuxeon commented 1 year ago

+1 Zimaboard with original OS. I had to do a factory reset and it still doesnt work. CasaOS v0.4.3.

redtripleAAA commented 1 year ago

Installed CasaOS on Pi4 64-bit

Custom install works, app store is not

@tigerinus I did the troubleshooting steps and confirmed time and API endpoints are just fine

https://wiki.casaos.io/en/troubleshooting/appstore-does-not-load

Everything worked fine though after a while.

Something is not right with the repo server on CasaOS side.

tigerinus commented 1 year ago

Installed CasaOS on Pi4 64-bit

Custom install works, app store is not

@tigerinus I did the troubleshooting steps and confirmed time and API endpoints are just fine

https://wiki.casaos.io/en/troubleshooting/appstore-does-not-load

Everything worked fine though after a while.

Something is not right with the repo server on CasaOS side.

Does it consistently repro? Can you follow the instruction to collect the logs in the same link and share the logs?

redtripleAAA commented 1 year ago

@tigerinus I would do that if there is a command to anonymize and remove info (IP and other) from the logs before sharing.

tigerinus commented 1 year ago

@ansred - we've released v0.4.4 officially, which completely revamped the AppStore experience. Feel free to upgrade and see if AppStore loads successfully.

sm3llz commented 2 months ago

I am having this issue too. Was there a fix?

Kilo59 commented 4 days ago

I just plugged in a brand new ZimaBoard 432, first boot, got this error. Dashboard says I'm on the latest version.