CasaOS icon indicating copy to clipboard operation
CasaOS copied to clipboard

[Bug] After update 0.4.7 -> 0.4.11 Failed to load apps, please refresh later

Open interkelstar opened this issue 1 year ago • 16 comments

Updated from 0.4.7 to 0.4.11, now all I can see on the main page is this. Tried rebooting - doesn't help. The apps are running though.

Logs are only info 22T21:58:07.744+0200 info mount then {"res": "e30K", "func": "httper.Mount", "file": "/home/runner/work/CasaOS/CasaOS/pkg/utils/httper/drive.go", "line": 93} 22T22:08:29.989+0200 info Notified systemd that casaos main service is ready {"func": "main.main", "file": "/home/runner/work/CasaOS/CasaOS/main.go", "line": 207} 22T22:08:29.992+0200 info CasaOS main service is listening... {"address": "127.0.0.1:46193", "func": "main.main", "file": "/home/runner/work/CasaOS/CasaOS/main.go", "line": 223} 22T22:08:39.849+0200 info when CheckAndMountAll storages {"storages": {"mountPoints":[]}, "func": "service.(*storageStruct).CheckAndMountAll", "file": "/home/runner/work/CasaOS/CasaOS/service/storage.go", "line": 71} 22T22:08:39.852+0200 info when CheckAndMountAll section {"section": {"remotes":["***"]}, "func": "service.(*storageStruct).CheckAndMountAll", "file": "/home/runner/work/CasaOS/CasaOS/service/storage.go", "line": 76} 22T22:08:39.855+0200 info when CheckAndMountAll MountStorage {"mountPoint": "/mnt/***", "fs": "***", "func": "service.(*storageStruct).CheckAndMountAll", "file": "/home/runner/work/CasaOS/CasaOS/service/storage.go", "line": 91} 22T22:08:40.520+0200 info mount then {"res": "e30K", "func": "httper.Mount", "file": "/home/runner/work/CasaOS/CasaOS/pkg/utils/httper/drive.go", "line": 93}

image

interkelstar avatar Aug 22 '24 20:08 interkelstar

In the network logs and casaos-cli app-management list apps there is 502 error, while i checned that casaos app managment service is active and running, so some problems with it.

Downgrade to 0.4.7 by

wget -qO- https://get.casaos.io/v0.4.7 | sudo bash

helped

interkelstar avatar Aug 22 '24 20:08 interkelstar

somebody found another solution better than downgrading version?

agus4402 avatar Aug 27 '24 23:08 agus4402

somebody found another solution better than downgrading version?

Have you run a health check? It’s important to identify what’s causing the issue first. Check out this video for guidance: https://youtu.be/mTqtkmjyGeQ

dragonfire1119 avatar Aug 28 '24 00:08 dragonfire1119

somebody found another solution better than downgrading version?

Have you run a health check? It’s important to identify what’s causing the issue first. Check out this video for guidance: https://youtu.be/mTqtkmjyGeQ

yes, i did

image

all services working

agus4402 avatar Aug 28 '24 01:08 agus4402

somebody found another solution better than downgrading version?

Have you run a health check? It’s important to identify what’s causing the issue first. Check out this video for guidance: https://youtu.be/mTqtkmjyGeQ

yes, i did

image

all services working

Have you looked at the network requests in the browser developer tools? Also, is Docker running? docker ps

dragonfire1119 avatar Aug 28 '24 01:08 dragonfire1119

somebody found another solution better than downgrading version?

Have you run a health check? It’s important to identify what’s causing the issue first. Check out this video for guidance: https://youtu.be/mTqtkmjyGeQ

yes, i did image all services working

Have you looked at the network requests in the browser developer tools? Also, is Docker running? docker ps

all services are working perfectly, and im getting this error:

image image

agus4402 avatar Aug 28 '24 02:08 agus4402

Having same issue since upgrading from v0.4.8 to v0.4.8.9 Upgrading to v0.8.11 is same. Also it's not showing any app in offline.

mah3uz avatar Aug 29 '24 16:08 mah3uz

QQ截图20240912214515 QQ截图20240912214557 sorry,i dont open some apps,how to solve? please

lonelyloulou avatar Sep 12 '24 13:09 lonelyloulou

我也遇到类似问题,但是在终端里执行更新命令过程中可以解决。 wget -qO- https://get.casaos.io | sudo bash

但是执行完重启后问题依然存在

xinxiushuo avatar Sep 13 '24 02:09 xinxiushuo

wget -qO- https://get.casaos.io/v0.4.7 | sudo bash

sdlkhfksl avatar Sep 15 '24 12:09 sdlkhfksl

I down grade to v0.4.8,the apps can load now, but it still have problem, i can't upload video into files app, but if i upload success,it video can not play,when i download the video into my device it can not play as well, i think i should reinstall my device's debian11 and then install v0.4.8

JIMQIU2000 avatar Sep 18 '24 04:09 JIMQIU2000

I think is some bugs out there cause this problem, i try to run health check script but i can't see any wrong with it, and my hard drive use about 10% usage before update, after upgrade to v0.4.11 it's usage up 90%.My device is zimaborad.

JIMQIU2000 avatar Sep 18 '24 04:09 JIMQIU2000

I also checked the healthcheck, no issues. But I think something with DNS resolution, but it should not give any issue. It should work loading the dashboard without internet.

mah3uz avatar Sep 18 '24 05:09 mah3uz

I think you are right
Dns

lonelyloulou avatar Sep 18 '24 06:09 lonelyloulou

I config mosdns cause this problem,DNS resolution!

miemienihai avatar Sep 26 '24 00:09 miemienihai

Este era o meu problema comum no raspbarry pi:

level=warning msg="WARNING: No memory limit support" level=warning msg="WARNING: No swap limit support"

O que resolveu:

Edite o arquivo /boot/cmdline.txt:

sudo nano /boot/cmdline.txt // preste atenção pode ser que este arquivo esteja em outro lugar mas o nano ira te informar onde ele está.

Adicione no final da linha existente:

cgroup_enable=memory cgroup_memory=1 swapaccount=1

Reinicie o Raspberry Pi: sudo reboot now

ts-80 avatar May 27 '25 23:05 ts-80