Giter Site home page Giter Site logo

Comments (5)

rmens avatar rmens commented on June 13, 2024 1

Oops! I’ll give the correct way a spin and will report back with the results.

from owncast.

gabek avatar gabek commented on June 13, 2024

That's not a supported use case, and I'm surprised it didn't completely break. Though I guess it kind of totally broke. But I'm surprised it worked at all!

However, with v0.1.2 path prefixes went in. It seems to be just what you're looking for, except it's supported and hopefully works. Though, I don't think anybody has used it, so you'll be an early adopter.

Remove /2/ from your thing above and put it in the thing below.

image

from owncast.

rmens avatar rmens commented on June 13, 2024

Seems to go OK-ish. I enabled verbose logging and am seeing these errors quite a lot. They don't seem to affect streaming much and the bucket do gets cleaned.

time="2024-01-15T14:59:26+01:00" level=trace msg="Removing chat messages older than 2 hours"
time="2024-01-15T14:59:40+01:00" level=debug msg="Deleting 60 objects from S3 bucket: zwtv"
time="2024-01-15T15:00:20+01:00" level=debug msg="data/hls/0/stream.m3u8 does not yet exist locally when trying to upload to S3 storage."
time="2024-01-15T15:00:23+01:00" level=error msg="remove data/hls/0/stream.m3u8: no such file or directory"
time="2024-01-15T15:00:41+01:00" level=debug msg="Deleting 60 objects from S3 bucket: zwtv"
time="2024-01-15T15:01:41+01:00" level=debug msg="Deleting 63 objects from S3 bucket: zwtv"

I did notice the thumbnail not getting updated (its 40mins old now) and there is a mysterious exit status 1 in the logs. Maybe the thumnailer crashed.

time="2024-01-15T14:17:42+01:00" level=debug msg="Deleting 60 objects from S3 bucket: zwtv"
time="2024-01-15T14:18:41+01:00" level=debug msg="Deleting 60 objects from S3 bucket: zwtv"
time="2024-01-15T14:19:26+01:00" level=trace msg="Removing chat messages older than 2 hours"
time="2024-01-15T14:19:40+01:00" level=debug msg="Deleting 60 objects from S3 bucket: zwtv"
time="2024-01-15T14:20:21+01:00" level=error msg="exit status 1"
time="2024-01-15T14:20:24+01:00" level=error msg="remove data/hls/1/stream.m3u8: no such file or directory"
time="2024-01-15T14:20:41+01:00" level=debug msg="Deleting 60 objects from S3 bucket: zwtv"
time="2024-01-15T14:21:41+01:00" level=debug msg="Deleting 60 objects from S3 bucket: zwtv"
time="2024-01-15T14:22:41+01:00" level=debug msg="Deleting 60 objects from S3 bucket: zwtv"
time="2024-01-15T14:23:41+01:00" level=debug msg="Deleting 60 objects from S3 bucket: zwtv"

@gabek Would -enableDebugOptions give me more clarity about the thumbs?

from owncast.

gabek avatar gabek commented on June 13, 2024

It certainly can't hurt!

from owncast.

rmens avatar rmens commented on June 13, 2024

This doesn't only occur when using a path prefix. I'll make a new ticket and close this one #3522

from owncast.

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.