AllskyTeam / allsky

A Raspberry Pi operated Wireless Allsky Camera
MIT License
1.19k stars 180 forks source link

throttle status #882

Closed pierrebilb closed 2 years ago

pierrebilb commented 2 years ago

Hi all and happy new year, i just install yesterday allsky software on orange pi+2e; on the webUI system page, i've got this message: Not able to get throttle status: sudo: no tty present and no askpass program specified Run 'sudo ~/allsky/gui/install.sh --update' to try and resolve

I run the last line without any effect. I don't know if there is a link, but timelapse and keogram creations failed.. Any help welcome Pierre

EricClaeys commented 2 years ago

@pierrebilb For the timelapse and keogram issues, please follow the directions on the Wiki page on reporting issues, then upload your log file.

Are you on Bullseye? To find out, run cat /etc/os-release.

Please do a tail -2 /etc/sudoers.d/allsky and post the results.

pierrebilb commented 2 years ago

Hi Eric, i'm on armbian Buster Here is the result of tail -2 /etc/sudoers.d/allsky: www-data ALL=(ALL) NOPASSWD:/bin/mv www-data ALL=(ALL) NOPASSWD:/usr/bin/vcgencmd

Last night, keogram and startrails worked but not the timelapse. I will report issue as on wiki after next night.. Thanks Pierre

AndreasLMeg commented 2 years ago

Hi all and happy new year, i just install yesterday allsky software on orange pi+2e; on the webUI system page, i've got this message: Not able to get throttle status:

@pierrebilb: please try the 2 commands and send us your output.

pi@allsky:~/allsky $ sudo vcgencmd get_throttled my result was: throttled=0xe0000 pi@allsky:~/allsky $ echo $? my result was: 0

EricClaeys commented 2 years ago

@AndreasLMeg I had this problem on my Pi as well. vcgencmdworked fine from the command line but not from the webUI. I'm not sure what I did to fix it, but it eventually worked. Possibly a reboot.

@pierrebilb Would you please reboot your Pi and let us know if that fixes it?

FYI, 0xe0000 means:

pierrebilb commented 2 years ago

Hi, it seems there is a problem with vcgencmd: no vcgencmd found, but after that, my orangepi crashed and don't want to restart from remote. I will tell you more when i'm able to restart my allsky

EricClaeys commented 2 years ago

@pierrebilb Any update? Can you run cat /etc/os-release and post the results? I'm thinking you may have the "light" version of the operating system which may not include vcgencmd.

After that, run sudo apt-get install libraspberrypi-bin which should install the vcgencmd command, so run vcgencmd get_throttled. If that works, try the "System" page in the WebUI again.

EricClaeys commented 2 years ago

Closing issue - no response from user in 2 months. Other people aren't having this issue so I assume it was a configuration issue on the user's Pi.