Black screen on live stream after update to version 4.2

Hi, after the update to version 4.2, I have a problem with the live stream, in some streams after a few minutes or hours the control buttons and the image disappear but it shows me that the live stream is active. All that’s left is the black screen instead of the player and only helps restart the server. Has anyone encountered such problems?

Hello,

Do you have errors in server logs?

errors:

error[15/06/2022, 10:09:30] Cannot process segments

{
« err »: {
« stack »: « Error: ENOENT: no such file or directory, open ‹ /var/www/peertube/storage/streaming-playlists/hls/ed6eaa07-2156-4fdd-972a-8a20f35cc8a7/0-000029.ts › »,
« message »: « ENOENT: no such file or directory, open ‹ /var/www/peertube/storage/streaming-playlists/hls/ed6eaa07-2156-4fdd-972a-8a20f35cc8a7/0-000029.ts › »,
« errno »: -2,
« code »: « ENOENT »,
« syscall »: « open »,
« path »: « /var/www/peertube/storage/streaming-playlists/hls/ed6eaa07-2156-4fdd-972a-8a20f35cc8a7/0-000029.ts »
},
« tags »: [
« live »,
« IK51P6JR »,
« ed6eaa07-2156-4fdd-972a-8a20f35cc8a7 »
]
}

error[15/06/2022, 10:09:35] Cannot process segments

{
« err »: {
« stack »: « Error: ENOENT: no such file or directory, open ‹ /var/www/peertube/storage/streaming-playlists/hls/bd22d252-30c4-4cf1-a92e-c05b14b4c641/0-000029.ts › »,
« message »: « ENOENT: no such file or directory, open ‹ /var/www/peertube/storage/streaming-playlists/hls/bd22d252-30c4-4cf1-a92e-c05b14b4c641/0-000029.ts › »,
« errno »: -2,
« code »: « ENOENT »,
« syscall »: « open »,
« path »: « /var/www/peertube/storage/streaming-playlists/hls/bd22d252-30c4-4cf1-a92e-c05b14b4c641/0-000029.ts »
},
« tags »: [
« live »,
« LTFLV9SZ »,
« bd22d252-30c4-4cf1-a92e-c05b14b4c641 »
]
}

error[15/06/2022, 10:19:22] Cannot process segments

{
« err »: {
« stack »: « Error: ENOENT: no such file or directory, open ‹ /var/www/peertube/storage/streaming-playlists/hls/ed6eaa07-2156-4fdd-972a-8a20f35cc8a7/0-000029.ts › »,
« message »: « ENOENT: no such file or directory, open ‹ /var/www/peertube/storage/streaming-playlists/hls/ed6eaa07-2156-4fdd-972a-8a20f35cc8a7/0-000029.ts › »,
« errno »: -2,
« code »: « ENOENT »,
« syscall »: « open »,
« path »: « /var/www/peertube/storage/streaming-playlists/hls/ed6eaa07-2156-4fdd-972a-8a20f35cc8a7/0-000029.ts »
},
« tags »: [
« live »,
« 238ZU7YN »,
« ed6eaa07-2156-4fdd-972a-8a20f35cc8a7 »
]
}

error[15/06/2022, 10:34:04] Cannot process segments

{
« err »: {
« stack »: « Error: ENOENT: no such file or directory, open ‹ /var/www/peertube/storage/streaming-playlists/hls/ed6eaa07-2156-4fdd-972a-8a20f35cc8a7/0-000029.ts › »,
« message »: « ENOENT: no such file or directory, open ‹ /var/www/peertube/storage/streaming-playlists/hls/ed6eaa07-2156-4fdd-972a-8a20f35cc8a7/0-000029.ts › »,
« errno »: -2,
« code »: « ENOENT »,
« syscall »: « open »,
« path »: « /var/www/peertube/storage/streaming-playlists/hls/ed6eaa07-2156-4fdd-972a-8a20f35cc8a7/0-000029.ts »
},
« tags »: [
« live »,
« KPUDOK9S »,
« ed6eaa07-2156-4fdd-972a-8a20f35cc8a7 »
]
}

error[15/06/2022, 10:34:06] Cannot process segments

{
« err »: {
« stack »: « Error: ENOENT: no such file or directory, open ‹ /var/www/peertube/storage/streaming-playlists/hls/bd22d252-30c4-4cf1-a92e-c05b14b4c641/0-000029.ts › »,
« message »: « ENOENT: no such file or directory, open ‹ /var/www/peertube/storage/streaming-playlists/hls/bd22d252-30c4-4cf1-a92e-c05b14b4c641/0-000029.ts › »,
« errno »: -2,
« code »: « ENOENT »,
« syscall »: « open »,
« path »: « /var/www/peertube/storage/streaming-playlists/hls/bd22d252-30c4-4cf1-a92e-c05b14b4c641/0-000029.ts »
},
« tags »: [
« live »,
« E7NS25FC »,
« bd22d252-30c4-4cf1-a92e-c05b14b4c641 »
]
}

There are no errors in nginx.

I switched to version 4.1, the 2nd server which is as follower is on version 4.2 and the same problem.

4.1 - https://stream.trm.md
4.2 - follower - https://peer.trm.md