Chocobozzz / PeerTube

ActivityPub-federated video streaming platform using P2P directly in your web browser
https://joinpeertube.org/
GNU Affero General Public License v3.0
13.07k stars 1.51k forks source link

Videos don't load after server restart #2680

Closed codeplexnl closed 4 years ago

codeplexnl commented 4 years ago

What happened? For a change to the server i need3ed to restart the server. After the restart videos are not able to play back. Newly uploaded ones are.

What do you expect to happen instead? The instance would startup and i could watch the videos

Steps to reproduce:

  1. Upload a video
  2. restart the server
  3. try to view said video

Other info The weird part is that when i upload a new video it does playback.

I am running it in a docker container with a nginx proxy_pass. Peertube version: 2.1.1

Javascript console logs

main-es2015.6456c1c5494801106ae9.js:1 Injecting 1 themes.
main-es2015.6456c1c5494801106ae9.js:1 Enabling bittube-light-mode theme.
main-es2015.6456c1c5494801106ae9.js:1 Adding scripts of theme bittube-light-mode.
main-es2015.6456c1c5494801106ae9.js:1 Injecting 2 themes.
main-es2015.6456c1c5494801106ae9.js:1 Removing scripts of old theme bittube-light-mode.
main-es2015.6456c1c5494801106ae9.js:1 Enabling bittube-light-mode theme.
main-es2015.6456c1c5494801106ae9.js:1 Adding scripts of theme bittube-light-mode.
main-es2015.6456c1c5494801106ae9.js:1 Loading script /plugins/simplelogo/0.0.3/client-scripts/client/common-client-plugin.js of plugin simplelogo.
main-es2015.6456c1c5494801106ae9.js:1 Loading script /themes/bittube-light-mode/2.2.2/client-scripts/client/common-client-plugin.js of plugin bittube-light-mode.
main-es2015.6456c1c5494801106ae9.js:1 Client credentials loaded.
main-es2015.6456c1c5494801106ae9.js:1 Running hook action:router.navigation-end of plugin bittube-light-mode.
polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1 GET https://<site>/static/streaming-playlists/hls/be473362-cdc9-4f1b-a683-48ac05d06379/segments-sha256.json 404
(anonymous) @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
_i @ 18-es2015.6fa3b3395350217dca76.js:1
addP2PMediaLoaderOptions @ 18-es2015.6fa3b3395350217dca76.js:1
getVideojsOptions @ 18-es2015.6fa3b3395350217dca76.js:1
(anonymous) @ 18-es2015.6fa3b3395350217dca76.js:1
l @ main-es2015.6456c1c5494801106ae9.js:1
invoke @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
run @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
(anonymous) @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
invokeTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
runTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
b @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
Promise.then (async)
v @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
scheduleTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
scheduleTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
scheduleMicroTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
A @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
D @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
(anonymous) @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
r @ runtime-es2015.0c8cffc412d85bfac45c.js:1
(anonymous) @ 23-es2015.c4e97cdb4af1f804167e.js:1
18-es2015.6fa3b3395350217dca76.js:1 Cannot get sha256 segments SyntaxError: Unexpected end of JSON input
    at 18-es2015.6fa3b3395350217dca76.js:1
    at u.invoke (polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1)
    at a.run (polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1)
    at polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
    at u.invokeTask (polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1)
    at a.runTask (polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1)
    at b (polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1)
(anonymous) @ 18-es2015.6fa3b3395350217dca76.js:1
invoke @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
run @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
(anonymous) @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
invokeTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
runTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
b @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
Promise.then (async)
v @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
scheduleTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
scheduleTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
scheduleMicroTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
A @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
D @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
(anonymous) @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
Promise.then (async)
(anonymous) @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
C @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
L.t.then @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
D @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
(anonymous) @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
invokeTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
runTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
b @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
Promise.then (async)
v @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
scheduleTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
scheduleTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
scheduleMicroTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
A @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
D @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
(anonymous) @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
Promise.then (async)
(anonymous) @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
C @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
L.t.then @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
_i @ 18-es2015.6fa3b3395350217dca76.js:1
addP2PMediaLoaderOptions @ 18-es2015.6fa3b3395350217dca76.js:1
getVideojsOptions @ 18-es2015.6fa3b3395350217dca76.js:1
(anonymous) @ 18-es2015.6fa3b3395350217dca76.js:1
l @ main-es2015.6456c1c5494801106ae9.js:1
invoke @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
run @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
(anonymous) @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
invokeTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
runTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
b @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
Promise.then (async)
v @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
scheduleTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
scheduleTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
scheduleMicroTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
A @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
D @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
(anonymous) @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
r @ runtime-es2015.0c8cffc412d85bfac45c.js:1
(anonymous) @ 23-es2015.c4e97cdb4af1f804167e.js:1
polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1 GET https://<site>/static/streaming-playlists/hls/be473362-cdc9-4f1b-a683-48ac05d06379/master.m3u8 404
b @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
scheduleTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
scheduleTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
scheduleMacroTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
p @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
(anonymous) @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
B.i.<computed> @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
(anonymous) @ 7-es2015.ed937ad064a0d7dfbfd5.js:1
C @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
loadContent @ 7-es2015.ed937ad064a0d7dfbfd5.js:1
loadPlaylist @ 7-es2015.ed937ad064a0d7dfbfd5.js:1
load @ 7-es2015.ed937ad064a0d7dfbfd5.js:1
s.load @ 7-es2015.ed937ad064a0d7dfbfd5.js:1
v.load @ 23-es2015.c4e97cdb4af1f804167e.js:1
v.onManifestLoading @ 23-es2015.c4e97cdb4af1f804167e.js:1
l.onEventGeneric @ 23-es2015.c4e97cdb4af1f804167e.js:1
l.onEvent @ 23-es2015.c4e97cdb4af1f804167e.js:1
u.emit @ 23-es2015.c4e97cdb4af1f804167e.js:1
l.trigger @ 23-es2015.c4e97cdb4af1f804167e.js:1
T.loadSource @ 23-es2015.c4e97cdb4af1f804167e.js:1
(anonymous) @ 23-es2015.c4e97cdb4af1f804167e.js:1
r @ 23-es2015.c4e97cdb4af1f804167e.js:1
handleSource @ 23-es2015.c4e97cdb4af1f804167e.js:1
t.setSource @ 18-es2015.6fa3b3395350217dca76.js:1
(anonymous) @ 18-es2015.6fa3b3395350217dca76.js:1
n.ready @ 18-es2015.6fa3b3395350217dca76.js:1
a.techCall_ @ 18-es2015.6fa3b3395350217dca76.js:1
(anonymous) @ 18-es2015.6fa3b3395350217dca76.js:1
n.ready @ 18-es2015.6fa3b3395350217dca76.js:1
a.src_ @ 18-es2015.6fa3b3395350217dca76.js:1
o @ 18-es2015.6fa3b3395350217dca76.js:1
t @ 18-es2015.6fa3b3395350217dca76.js:1
t @ 18-es2015.6fa3b3395350217dca76.js:1
(anonymous) @ 18-es2015.6fa3b3395350217dca76.js:1
(anonymous) @ 18-es2015.6fa3b3395350217dca76.js:1
invokeTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
runTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
invokeTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
invoke @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
n.args.<computed> @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
setTimeout (async)
a @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
scheduleTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
scheduleTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
scheduleMacroTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
p @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
(anonymous) @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
B.i.<computed> @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
n.setTimeout @ 18-es2015.6fa3b3395350217dca76.js:1
a.src @ 18-es2015.6fa3b3395350217dca76.js:1
l @ 23-es2015.c4e97cdb4af1f804167e.js:1
(anonymous) @ 18-es2015.6fa3b3395350217dca76.js:1
(anonymous) @ 18-es2015.6fa3b3395350217dca76.js:1
r @ 18-es2015.6fa3b3395350217dca76.js:1
Dl @ 18-es2015.6fa3b3395350217dca76.js:1
(anonymous) @ 18-es2015.6fa3b3395350217dca76.js:1
C @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
(anonymous) @ 18-es2015.6fa3b3395350217dca76.js:1
l @ main-es2015.6456c1c5494801106ae9.js:1
invoke @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
run @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
(anonymous) @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
invokeTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
runTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
b @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
Promise.then (async)
v @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
scheduleTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
scheduleTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
scheduleMicroTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
A @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
D @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
(anonymous) @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
r @ runtime-es2015.0c8cffc412d85bfac45c.js:1
(anonymous) @ 23-es2015.c4e97cdb4af1f804167e.js:1
Show 10 more frames
18-es2015.6fa3b3395350217dca76.js:1 VIDEOJS: ERROR: (CODE:2 MEDIA_ERR_NETWORK) HLS.js error: networkError - fatal: true - manifestLoadError fe {code: 2, message: "HLS.js error: networkError - fatal: true - manifestLoadError"}
(anonymous) @ 18-es2015.6fa3b3395350217dca76.js:1
r.error @ 18-es2015.6fa3b3395350217dca76.js:1
a.error @ 18-es2015.6fa3b3395350217dca76.js:1
a.handleTechError_ @ 18-es2015.6fa3b3395350217dca76.js:1
i.dispatcher.i.dispatcher @ 18-es2015.6fa3b3395350217dca76.js:1
st @ 18-es2015.6fa3b3395350217dca76.js:1
trigger @ 18-es2015.6fa3b3395350217dca76.js:1
(anonymous) @ 23-es2015.c4e97cdb4af1f804167e.js:1
(anonymous) @ 23-es2015.c4e97cdb4af1f804167e.js:1
u.emit @ 23-es2015.c4e97cdb4af1f804167e.js:1
l.trigger @ 23-es2015.c4e97cdb4af1f804167e.js:1
v._handleNetworkError @ 23-es2015.c4e97cdb4af1f804167e.js:1
v.loaderror @ 23-es2015.c4e97cdb4af1f804167e.js:1
error @ 7-es2015.ed937ad064a0d7dfbfd5.js:1
load @ 7-es2015.ed937ad064a0d7dfbfd5.js:1
async function (async)
load @ 7-es2015.ed937ad064a0d7dfbfd5.js:1
s.load @ 7-es2015.ed937ad064a0d7dfbfd5.js:1
v.load @ 23-es2015.c4e97cdb4af1f804167e.js:1
v.onManifestLoading @ 23-es2015.c4e97cdb4af1f804167e.js:1
l.onEventGeneric @ 23-es2015.c4e97cdb4af1f804167e.js:1
l.onEvent @ 23-es2015.c4e97cdb4af1f804167e.js:1
u.emit @ 23-es2015.c4e97cdb4af1f804167e.js:1
l.trigger @ 23-es2015.c4e97cdb4af1f804167e.js:1
T.loadSource @ 23-es2015.c4e97cdb4af1f804167e.js:1
(anonymous) @ 23-es2015.c4e97cdb4af1f804167e.js:1
r @ 23-es2015.c4e97cdb4af1f804167e.js:1
handleSource @ 23-es2015.c4e97cdb4af1f804167e.js:1
t.setSource @ 18-es2015.6fa3b3395350217dca76.js:1
(anonymous) @ 18-es2015.6fa3b3395350217dca76.js:1
n.ready @ 18-es2015.6fa3b3395350217dca76.js:1
a.techCall_ @ 18-es2015.6fa3b3395350217dca76.js:1
(anonymous) @ 18-es2015.6fa3b3395350217dca76.js:1
n.ready @ 18-es2015.6fa3b3395350217dca76.js:1
a.src_ @ 18-es2015.6fa3b3395350217dca76.js:1
o @ 18-es2015.6fa3b3395350217dca76.js:1
t @ 18-es2015.6fa3b3395350217dca76.js:1
t @ 18-es2015.6fa3b3395350217dca76.js:1
(anonymous) @ 18-es2015.6fa3b3395350217dca76.js:1
(anonymous) @ 18-es2015.6fa3b3395350217dca76.js:1
invokeTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
runTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
invokeTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
invoke @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
n.args.<computed> @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
setTimeout (async)
a @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
scheduleTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
scheduleTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
scheduleMacroTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
p @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
(anonymous) @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
B.i.<computed> @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
n.setTimeout @ 18-es2015.6fa3b3395350217dca76.js:1
a.src @ 18-es2015.6fa3b3395350217dca76.js:1
l @ 23-es2015.c4e97cdb4af1f804167e.js:1
(anonymous) @ 18-es2015.6fa3b3395350217dca76.js:1
(anonymous) @ 18-es2015.6fa3b3395350217dca76.js:1
r @ 18-es2015.6fa3b3395350217dca76.js:1
Dl @ 18-es2015.6fa3b3395350217dca76.js:1
(anonymous) @ 18-es2015.6fa3b3395350217dca76.js:1
C @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
(anonymous) @ 18-es2015.6fa3b3395350217dca76.js:1
l @ main-es2015.6456c1c5494801106ae9.js:1
invoke @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
run @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
(anonymous) @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
invokeTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
runTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
b @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
Promise.then (async)
v @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
scheduleTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
scheduleTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
scheduleMicroTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
A @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
D @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
(anonymous) @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
r @ runtime-es2015.0c8cffc412d85bfac45c.js:1
(anonymous) @ 23-es2015.c4e97cdb4af1f804167e.js:1
18-es2015.6fa3b3395350217dca76.js:1 Fallback to webtorrent.
polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1 Uncaught TypeError: Cannot read property 'magnetUri' of undefined
    at Qt.updateVideoFile (5-es2015.3d53daa84b125ac98c0c.js:1)
    at Qt.initializePlayer (5-es2015.3d53daa84b125ac98c0c.js:1)
    at r.<anonymous> (5-es2015.3d53daa84b125ac98c0c.js:1)
    at r.<anonymous> (18-es2015.6fa3b3395350217dca76.js:1)
    at Array.forEach (<anonymous>)
    at r.<anonymous> (18-es2015.6fa3b3395350217dca76.js:1)
    at 18-es2015.6fa3b3395350217dca76.js:1
    at u.invokeTask (polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1)
    at a.runTask (polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1)
    at invokeTask (polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1)
updateVideoFile @ 5-es2015.3d53daa84b125ac98c0c.js:1
initializePlayer @ 5-es2015.3d53daa84b125ac98c0c.js:1
(anonymous) @ 5-es2015.3d53daa84b125ac98c0c.js:1
(anonymous) @ 18-es2015.6fa3b3395350217dca76.js:1
(anonymous) @ 18-es2015.6fa3b3395350217dca76.js:1
(anonymous) @ 18-es2015.6fa3b3395350217dca76.js:1
invokeTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
runTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
invokeTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
invoke @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
n.args.<computed> @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
setTimeout (async)
a @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
scheduleTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
scheduleTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
scheduleMacroTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
p @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
(anonymous) @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
B.i.<computed> @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
n.setTimeout @ 18-es2015.6fa3b3395350217dca76.js:1
n.triggerReady @ 18-es2015.6fa3b3395350217dca76.js:1
a.handleTechReady_ @ 18-es2015.6fa3b3395350217dca76.js:1
n.ready @ 18-es2015.6fa3b3395350217dca76.js:1
a.loadTech_ @ 18-es2015.6fa3b3395350217dca76.js:1
e @ 18-es2015.6fa3b3395350217dca76.js:1
n.addChild @ 18-es2015.6fa3b3395350217dca76.js:1
(anonymous) @ 18-es2015.6fa3b3395350217dca76.js:1
n.initChildren @ 18-es2015.6fa3b3395350217dca76.js:1
r @ 18-es2015.6fa3b3395350217dca76.js:1
Dl @ 18-es2015.6fa3b3395350217dca76.js:1
(anonymous) @ 18-es2015.6fa3b3395350217dca76.js:1
l @ main-es2015.6456c1c5494801106ae9.js:1
invoke @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
run @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
(anonymous) @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
invokeTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
runTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
b @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
Promise.then (async)
v @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
scheduleTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
scheduleTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
scheduleMicroTask @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
A @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
D @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
(anonymous) @ polyfills-es2015.65ea6e6f4e37ff0c4ef4.js:1
r @ runtime-es2015.0c8cffc412d85bfac45c.js:1
(anonymous) @ 5-es2015.3d53daa84b125ac98c0c.js:1
rigelk commented 4 years ago

What is the content of your Nginx configuration?

codeplexnl commented 4 years ago

The content of my nginx config is:

server {
    if ($host =<site>l) {
        return 301 https://$host$request_uri;
    } # managed by Certbot

    listen 80 default_server;
    listen [::]:80 default_server;
    root /var/www/html;
    server_name <site>;
}

server {
        listen 443 ssl http2;
        listen [::]:443 ssl http2;

        server_name<site>;

        ssl on;
        ssl_certificate /etc/letsencrypt/live/<site>/fullchain.pem; # managed by Certbot
        ssl_certificate_key /etc/letsencrypt/live/<site>/privkey.pem; # managed by Certbot

        root /var/www;
        index index.html;

        if ($scheme != "https") {
            return 301 https://$host$request_uri;
        }

        location / {
            proxy_pass http://127.0.0.1:8080;

            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header Host $host;
            proxy_http_version 1.1;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection "upgrade";
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

            client_max_body_size 8G;

            proxy_connect_timeout       600;
            proxy_send_timeout          600;
            proxy_read_timeout          600;
            send_timeout                600;

        }

        location /tracker/socket {
          proxy_read_timeout 1200s;
          proxy_set_header Upgrade $http_upgrade;
          proxy_set_header Connection "upgrade";
          proxy_http_version 1.1;
          proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
          proxy_set_header Host $host;
          proxy_pass http://127.0.0.1:8080;
       }

}
Chocobozzz commented 4 years ago

Check https://github.com/Chocobozzz/PeerTube/issues/2613#issuecomment-611373823

codeplexnl commented 4 years ago

I adjusted the config but does this mean that all videos should be uploaded again?

Chocobozzz commented 4 years ago

I think you could find them in your old containers (if you did not delete them).