Comments (10)
Please post your crontab / supervisor configuration scripts and tell us steps you taken to perform this.
from jiotv_go.
crontab: @reboot /home/pi/.jiotv_go/bin/jiotv_go background run -a "--public"
supervisorctl: [program:jiotv]
command=/home/pi/.jiotv_go/bin/jiotv_go background run -a "--public --config /h>
directory=/home/pi/.jiotv_go/bin/
user=pi
autostart=true
autorestart=true
redirect_stderr=true
stdout_logfile=/var/log/jiotv.log
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.
from jiotv_go.
crontab: @reboot /home/pi/.jiotv_go/bin/jiotv_go background run -a "--public"
supervisorctl: [program:jiotv]
command=/home/pi/.jiotv_go/bin/jiotv_go background run -a "--public --config /h>
directory=/home/pi/.jiotv_go/bin/
user=pi
autostart=true
autorestart=true
redirect_stderr=true
stdout_logfile=/var/log/jiotv.logI 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
Can u please set the environment variable HOME=/home/pi
and check
from jiotv_go.
@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
from jiotv_go.
@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
from jiotv_go.
from jiotv_go.
hello
the crontab script worked for 2 days but then it stopped again.
even your docker container does not have option for --restart=always.
crontab works well for other commands. the syntax is also exactly as per your instructions.
what is the solution?
from jiotv_go.
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 !
from jiotv_go.
the above solution did not work.
As per the latest update, I followed the guide to create an user, usergroup and daemon to autostart.
the script worked for 3 days, but it stopped working today.
this was the output i got after giving sudo systemctl status jiotv_go:
● jiotv_go.service - JioTV Go Client Daemon
Loaded: loaded (/etc/systemd/system/jiotv_go.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/jiotv_go.service.d
└─user.conf
Active: failed (Result: exit-code) since Tue 2024-05-14 03:35:27 IST; 14h ago
Process: 741 ExecStart=/home/pi/.jiotv_go/bin/jiotv_go serve -P (code=exited, status=1/FAILURE)
Main PID: 741 (code=exited, status=1/FAILURE)
CPU: 23ms
May 14 03:35:27 raspberrypi systemd[1]: jiotv_go.service: Failed with result 'exit-code'.
May 14 03:35:27 raspberrypi systemd[1]: jiotv_go.service: Scheduled restart job, restart counter is at 5.
May 14 03:35:27 raspberrypi systemd[1]: Stopped JioTV Go Client Daemon.
May 14 03:35:27 raspberrypi systemd[1]: jiotv_go.service: Start request repeated too quickly.
May 14 03:35:27 raspberrypi systemd[1]: jiotv_go.service: Failed with result 'exit-code'.
May 14 03:35:27 raspberrypi systemd[1]: Failed to start JioTV Go Client Daemon.
from jiotv_go.
@dhanuhammer The error is because of JioTV Go Bug in Auth service.
This thread shall be closed and another one should be opened with your logs, right when u experienced crash.
from jiotv_go.
Related Issues (20)
- feat: why can't I bind ipv6 address and port HOT 4
- bug: unable to play sony channels now HOT 4
- bug: Add Sony BBC Earth HOT 2
- feat: Allow iFrame of /player to cross-origin HOT 3
- feat: Hindi Sony BBC Earth Channel HOT 1
- bug: Logos not displaying HOT 3
- m3u8 file generating feature HOT 1
- bug: Getting error in docker - 'exec ./jiotv_go: exec format error' HOT 13
- bug: Most channels no longer working HOT 2
- feat: EPG interval filter HOT 5
- bug: no such file or directory in docker container from CASAOS homelab HOT 2
- Cloud server HOT 1
- Add subtitles
- bug: Channel not working HOT 1
- bug: jiotv_go: line 1: Not: command not found HOT 3
- feat: Support for Non-residential VPN (think there's a workaround) HOT 3
- bug: OTP verification failing, errors in logs HOT 7
- feat: its possible to host it on Heroku etc. platforms HOT 3
- bug: EPG not available in tivimate and iptv smarters HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jiotv_go.