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

run indi-allsky on startup. #1713

Open
graememilne opened this issue Dec 12, 2024 · 11 comments
Open

run indi-allsky on startup. #1713

graememilne opened this issue Dec 12, 2024 · 11 comments

Comments

@graememilne
Copy link

Was running during today ,then sometime in the afternoon it said the software was down .
Tried to reboot ,but still no luck.
i can ssh into the rpi.
I ran this....sudo systemctl --type=service.
No sign of the indi-allsky service.
Where is it ?
Can i recover to get it working again ??

@aaronwmorris
Copy link
Owner

The indi-allsky service runs under the user systemd session. You have to run systemctl as the indi-allsky service user.

systemctl --user status indi-allsky.service

Also, the indi-allsky service unit is not auto-started, it is started by the indi-allsky timer 2 minutes after boot. This gives ample time for any firmwares to load and the system to settle after boot.

systemctl --user status indi-allsky.timer

@graememilne
Copy link
Author

Good morning Aaron
For what ever reason i had to enable the timer and the service.
Now the other issue is that i cannot get the web page up.
How can i recover the web page ??
services

As all ways thank you for help,it is most appreciated.
Graeme

@aaronwmorris
Copy link
Owner

The web interface runs as a gunicorn service behind an Apache reverse proxy. The log file is at /var/log/indi-allsky/webapp-indi-allsky.log.

systemctl --user status gunicorn-indi-allsky

@graememilne
Copy link
Author

web working now
It appears web was not active for some reason.
That done now enabled ,web page still not showing.
Hope you can solve this ?

@aaronwmorris
Copy link
Owner

I would suggest re-running the setup.sh script. It would normally fix errors like this.

@graememilne
Copy link
Author

graememilne commented Dec 13, 2024 via email

@aaronwmorris
Copy link
Owner

No, the setup.sh script just performs system setup to ensure the services and dependencies are configured correctly. It is designed to be re-run often and does not delete anything.

@graememilne
Copy link
Author

graememilne commented Dec 13, 2024 via email

@graememilne
Copy link
Author

Sorry to say ,i have tried different combinations from this below,but this time not working.
git config --global core.compression 0
git config --global http.postBuffer 157286400
export GIT_TRACE_PACKET=1
export GIT_TRACE=1
export GIT_CURL_VERBOSE=1

It appears to be getting stuck on this line.

error setup

@aaronwmorris
Copy link
Owner

I do not know why installing this module from source is being so difficult for people. I have updated how the requirements are handled in #1715 and rawpy should install from a wheel on 64-bit platforms. Pull down the latest code and see how this works for you.

@graememilne
Copy link
Author

graememilne commented Dec 15, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants