Closed OtisPresley closed 6 years ago
What happens when you spin up a those tags with a fresh /config
folder?
Wondering if it's an issue with the upgrade or the container from fresh.
Also, I don't think you need all those -e
options and you don't need to list the ports if you are running in host mode.
Thanks for your response!
It does stay up with a fresh /config
folder, but a fresh folder means no config. I was able to enable the tuners and pull guide data after configuring tv_grab_na_dd
without a crash.
Also did some cleanup of failed and missing recordings under the old /config
, but the crash still happens. Looks like it will be a long process trying to figure out what in there is causing the crash without losing data.
You are right about not needing the -e
and -p
options. I keep the ports in case I want to switch to the bridge network. The environment options are there because I extracted the docker run
command from the inspect output.
Also, don't run the container as root. Having the config on a cifs share is also not recommanded as al sort of issues might happen. If you have an issue with the two latest tags, it's most likely a tvheadend problem. Check their issue tracker for any bug reports.
As long as you don't need a feature or a bug fix in the development branch (that our latest tag follows), I suggest you use the stable realease-4.2 tag.
Is there any issue with data migration from 4.3 to release-4.2, or would I have to start fresh?
It might or might not work. We don't follow the development of tvheadend that close, so can't say. Backup your /config mount and try.
Here is what I have done:
After doing that, the results are still the same, including with tag 174 and release-4.2. I am just going to stay on tag 165 until such a time as I can start over without losing the existing recordings and my wife being very unhappy.
I have this same problem. Only fix was to revert back to 165. I am running this on Unraid and completely wiped the container and config folders and started from scratch. As soon as it finishes "writing" the schedule, it crashes. Problem is, it never actually writes the schedule. So after it restarts, it tries to fetch the schedule again and when it gets to the point of "writing" the schedule, it crashes again. The guide never has data in it and it enters a constant crash loop. It also makes watching live tv or recording anything, impossible. Because every 3-5 minutes, when it crashes and restarts, so does the stream.
When you are running latest, you are using the development branch and crashes and bugs are to be expected. Try running the stable tag instead.
I am running Docker 18.03.1-ce on Ubuntu 18.04.1 LTS inside a Hyper-V VM with /config and /recordings being on a CIFS share to the underlying Server 2016 host. The TVHeadend Docker image with tag 165 is running perfectly using Schedules Direct as the EPG grabber. When I upgrade to images with tag 172 or 173, a crash occurs after the EPG grabber runs and TVHeadend reloads...it the continues to crash and reload. Here is the
docker run
command extracted fromdocker inspect
:Here are the logs: