-
Notifications
You must be signed in to change notification settings - Fork 105
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
tmpfs solution for /var/cache/unifi-video on kubernetes #194
Comments
I have the exact same issue. |
I think it would be helpful to see you config. |
It works now for me but with issues: https://github.com/eugeneccnp/unifi-video-controller The trick was I had to create the tmpfs on the worker node in advance, I still haven't figured out redundancy but for now I got it to work running off one worker node in a bare metal cluster environment with metallb Layer 2 (ARP) setup, I will keep improving upon this repo as I learn. Now I need to figure out the recording issue: 1603679386.693 2020-10-26 02:29:46.693/UTC: ERROR [uv.recording.svc] [RecordingService] Free disk space has recovered, disabling emergency shutoff in RecordingService-EmergencyShutOffCheck |
@mattster98 Have you tried something like this:
|
I've got almost the exact same issue with no recordings happening at all and I've been reading this issue and #178.
I've tried the above suggestion with no luck unfortunately
Shelling into the container the related directories |
@ssteveli |
I'm admittedly a kubernetes n00b. I have leveraged a lot of copy/pasted yaml from a buddy to get most of my infrastructure up and running.
I am copy/pasting a working config of another docker container and attempting to get it serving unifi-video.
the tmpfs volume is the current problem - I have tried pointing that voluemount at just a regular directory on my ceph filesystem, as well as setting up a emptyDir on Memory which should operate more like a typical tmpfs, but both have the same error.. log below. Both a ceph volume and a emptyDir result in the "cannot remount tmpfs read-write".
I'm stuck.. any assistance greatly appreciated!
2020-10-22 21:50:12.632135 [info] UMASK defined as '002'.
2020-10-22 21:50:12.676326 [info] PUID defined as '1000'
2020-10-22 21:50:14.234623 [info] PGID defined as '100'
2020-10-22 21:50:14.294305 [info] File perms.txt blocks chown/chmod of videos.
mount: /var/cache/unifi-video: cannot remount tmpfs read-write, is write-protected.
2020-10-22 21:50:14.327750 Starting unifi-video... failed.
stream closed
The text was updated successfully, but these errors were encountered: