Coder Social home page Coder Social logo

Restarting pi services about indi-allsky HOT 9 OPEN

Adrien5353 avatar Adrien5353 commented on June 3, 2024
Restarting pi services

from indi-allsky.

Comments (9)

aaronwmorris avatar aaronwmorris commented on June 3, 2024

How are you restarting the services?

from indi-allsky.

Adrien5353 avatar Adrien5353 commented on June 3, 2024

Allsky starts its services on its own, and I put my script as a service on the pi, loaded AT the boot.
When the crash occurs, allsky restarts itself after a few seconds. I don't act on anything.
In fact, I cannot determine if it allsky which takes all the resources or if my problem is elsewhere

from indi-allsky.

aaronwmorris avatar aaronwmorris commented on June 3, 2024

Can you describe the crash? What behavior indicates a crash?

from indi-allsky.

Adrien5353 avatar Adrien5353 commented on June 3, 2024

The connection to the Raspberry Pi is temporarily cut off: SSH, ASCOM client, and also, I have to refresh the indi-allsky web page to get the new camera images; otherwise, it remains stuck on the last capture before the "crash". My script that collects weather sensor data is also stopped. In fact, it's as if all services were abruptly halted. Only indi-allsky resumes on its own.

However, the crash never occurs if I stop the services (from the web interface, for example). With indi-allsky running, the crash frequency is random (between 10 minutes and 1-2 hours).

sorry if it's not clear :/

from indi-allsky.

aaronwmorris avatar aaronwmorris commented on June 3, 2024

Is the Pi rebooting itself?

from indi-allsky.

Adrien5353 avatar Adrien5353 commented on June 3, 2024

no , the pi does not seems to reboot as it's really fast : few seconds later i can log in again, while it takes more time when it's a complete reboot

from indi-allsky.

aaronwmorris avatar aaronwmorris commented on June 3, 2024

That sounds really weird, I have not experienced this behavior previously. Are you connected via ethernet or wifi?

from indi-allsky.

Adrien5353 avatar Adrien5353 commented on June 3, 2024

connected with ethernet.
really frustrating :(

i'm installing debian 11 right now on an old nuc. i would have prefered use my pi4, but i'll try this way

from indi-allsky.

aaronwmorris avatar aaronwmorris commented on June 3, 2024

What kind of camera are you using? Could you post the I2C script?

Have you checked the logs in /var/log/syslog?

You could post the results of ./misc/support_info.sh ?

from indi-allsky.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.