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
bug: Unable to start the server without opening the terminal in Raspberry Pi, unable to set autostart on boot with crontab #301
Comments
Please post your crontab / supervisor configuration scripts and tell us steps you taken to perform this. |
crontab: @reboot /home/pi/.jiotv_go/bin/jiotv_go background run -a "--public" supervisorctl: [program:jiotv] I tried using crontab as pi user, root user but still jiotvgo does not start on reboot. I reboot the Pi everyday at midnight and everything works properly except for this script. |
In your crontab script |
@reboot HOME= /home/pi /home/pi/.jiotv_go/bin/jiotv_go background run -a "--public" |
Remove space after = |
I removed the space and tried already too.
The script does not start.
…On Sat, 27 Apr, 2024, 21:53 Mohammed Rabil, ***@***.***> wrote:
@reboot <https://github.com/reboot> HOME= /home/pi
/home/pi/.jiotv_go/bin/jiotv_go background run -a "--public"
this is how I edited the crontab line, but still jiotvgo does not start
after reboot.
The script was started in the background before I rebooted the pi
Remove space after =
HOME=/home/pi
—
Reply to this email directly, view it on GitHub
<#301 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJ2BTSDWBQ6IH227OBXSSBLY7PGH5AVCNFSM6AAAAABGYVI2POVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBRGAYTKMJSGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
hello |
For those facing issues with Pi autostart, you need to set the full path. This worked for me: sudo crontab -e @reboot /root/.jiotv_go/bin/jiotv_go bg run --args "--host 0.0.0.0 --port 5001" Try with root user Thanks @sloBlocks for the hint ! |
the above solution did not work. this was the output i got after giving sudo systemctl status jiotv_go: ● jiotv_go.service - JioTV Go Client Daemon May 14 03:35:27 raspberrypi systemd[1]: jiotv_go.service: Failed with result 'exit-code'. |
@dhanuhammer The error is because of JioTV Go Bug in Auth service. |
Bug description
there seems to be no way this application works without giving the commnd after opening the terminal. There seems to be no way to start the server on boot. Crontab, supervisor nothing works.
Steps to reproduce
Relevant log output
Screenshots or videos
No response
Solution
No response
Additional context
No response
Acknowledgements
The text was updated successfully, but these errors were encountered: