Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Stats When I use Yacht on Debian Testing #320

Closed
My-Zones opened this issue Feb 26, 2021 · 24 comments
Closed

No Stats When I use Yacht on Debian Testing #320

My-Zones opened this issue Feb 26, 2021 · 24 comments
Labels
bug Something isn't working

Comments

@My-Zones
Copy link

Describe the bug
The stats don't show anything when I use Yatch on Debian Testing

Screenshots
Stats on Debian Stable
Capture d’écran 2021-02-26 à 16 00 19

Stats on Debian Testing
Capture d’écran 2021-02-26 à 15 57 46

Desktop :

  • OS: Debian Testing
  • Docker version 20.10.3, build 48d30b5
  • docker-compose version 1.28.4, build cabd5cfb
  • Browser: Firefox, Chrome, Safari
  • Yacht Version : Latest
version: '3'
services:
  yacht:
    image: selfhostedpro/yacht:latest
    container_name: Yacht
    network_mode: bridge
    volumes:
      - /srv/Yacht:/config
      - /var/run/docker.sock:/var/run/docker.sock
    environment:
      - PUID=1000
      - PGID=1000
    ports:
      - 8000:8000
    restart: unless-stopped

Thank you very much in advance

@My-Zones My-Zones added the bug Something isn't working label Feb 26, 2021
@SelfhostedPro
Copy link
Owner

Can you try using the devel tag and see if it works for you? I made some changes yesterday that I'm testing related to this there.

version: '3'
services:
  yacht:
    image: selfhostedpro/yacht:devel
    container_name: Yacht
    network_mode: bridge
    volumes:
      - /srv/Yacht:/config
      - /var/run/docker.sock:/var/run/docker.sock
    environment:
      - PUID=1000
      - PGID=1000
    ports:
      - 8000:8000
    restart: unless-stopped

@My-Zones
Copy link
Author

Works very well on devel version.
Thanks a lot for your reactivity.

@SysAdmin74
Copy link

Hello I have same issues on fedora server when running with latest tag. But it is okay when changing to devel tag

@SelfhostedPro
Copy link
Owner

Good to hear. I'll close this when I merge the fix to master next release.

@davidandrasi
Copy link

Hello, I have the same issue on Raspberry Pi, here are the logs from the container after clicking to stat button:
https://imgur.com/PT6hPue

Is this the same issue which You will fix in the next release?
BTW, when do you plan the next release if I may ask?

Thanks ;)

@SysAdmin74
Copy link

Which Raspberry Pi model are you using? It work find on mine raspberrypi. Mine is Raspberry Pi 3B and using the latest tags.

@davidandrasi
Copy link

davidandrasi commented Mar 3, 2021

I am using Raspberry Pi 4, and the latest tags too.

@SysAdmin74
Copy link

Try refreshing it?

@davidandrasi
Copy link

What do you mean by refresh? I just recreated the container, and same result.

@SysAdmin74
Copy link

SysAdmin74 commented Mar 3, 2021

Refresh the browser page. At first it doesn't load. do you add this line as well? "cgroup_enable=cpuset cgroup_enable=memory cgroup_memory=1" in cmdline.txt

@davidandrasi
Copy link

Thank you very much, adding those to cmdline.txt helped, now works perfectly.
Could you please explain in short, that why are those needed?

@SelfhostedPro
Copy link
Owner

Thank you very much, adding those to cmdline.txt helped, now works perfectly.
Could you please explain in short, that why are those needed?

cgroup memory is disabled by default on raspberry pis. I'm not sure of the reasoning for that but it's how docker calculates memory usage. There's already documentation on it here: https://yacht.sh/docs/Installation/ARM

@bitFez
Copy link

bitFez commented Mar 13, 2021

I had the same issue on the RPi 3b where the stats were not showing. I added the line:

cgroup_enable=cpuset cgroup_enable=memory cgroup_memory=1 to boot/cmdline.txt
unfortunately now the interface does not load at all. I can't log in to yacht but containers I have run using Yacht such as Bitwarden are still working.

@SysAdmin74
Copy link

SysAdmin74 commented Mar 13, 2021

Have you try clean the browser caches? Sometime the cache can cause problem
I am RPi 3B too it work fine for me
Raspi OS and ArchARM all good

@bitFez
Copy link

bitFez commented Mar 13, 2021

Have you try clean the browser caches? Sometime the cache can cause problem
I am RPi 3B too it work fine for me
Raspi OS and ArchARM all good

No luck im afraid.

@SysAdmin74
Copy link

Have you restart the container?? if not recreate the container.

@bitFez
Copy link

bitFez commented Mar 13, 2021

Yes sorry for wasting your time!
Rookie mistake. didnt noticed the container stopped running after I added the line to cmdline.txt.

It is now working correctly with stats showing

@SysAdmin74
Copy link

Ah it is alright. Same rank sir. XD

@fisherd80
Copy link

Good Afternoon,

I tried to do this to display the stats. But this failed. Can someone upload what the boot.txt file is meant to look like and the full steps. As when I tried it caused my RPI to freeze up and crash.

@SelfhostedPro
Copy link
Owner

Good Afternoon,

I tried to do this to display the stats. But this failed. Can someone upload what the boot.txt file is meant to look like and the full steps. As when I tried it caused my RPI to freeze up and crash.

You want to just add the line to your cmdline.txt not boot.txt I don't have my pi setup or else I would paste the content here for you.

@fisherd80
Copy link

Good Afternoon,
I tried to do this to display the stats. But this failed. Can someone upload what the boot.txt file is meant to look like and the full steps. As when I tried it caused my RPI to freeze up and crash.

You want to just add the line to your cmdline.txt not boot.txt I don't have my pi setup or else I would paste the content here for you.

Hi Thank you for the quick replay. Sorry I meant to write the cmdline.txt in the original comment. I have tried again and the PI wont reboot until I remove this line.

Sorry for the inconvenience

@wickedyoda
Copy link
Collaborator

It looks like this is related to SelfhostedPro/Yacht-Docs@master...zarevskaya:patch-2 also, more instructions were given at the bottom of the readme.MD file @ https://github.com/SelfhostedPro/Yacht/blob/9dead849c74eed251b517ae6e912fe69c44c1fe3/README.md about ARM devices.

@wickedyoda
Copy link
Collaborator

Also, see closed issue #115 and docker/for-linux#1112

@wickedyoda
Copy link
Collaborator

The solution has been stated above, fix is addressed in the documentation and Docker documentation site now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants