Error in controller
-
here my error log
error[4/1/2021, 12:51:05 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/01039bb6-b9db-43af-b441-c7201a85fa9d/segments-sha256.json › » } error[4/1/2021, 12:51:05 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/01039bb6-b9db-43af-b441-c7201a85fa9d/master.m3u8 › » } error[4/1/2021, 12:51:06 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/01039bb6-b9db-43af-b441-c7201a85fa9d/master.m3u8 › » } error[4/1/2021, 12:52:51 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/59995ea1-333c-4a3c-81be-2407d0b3e853/segments-sha256.json › » } error[4/1/2021, 12:52:51 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/59995ea1-333c-4a3c-81be-2407d0b3e853/master.m3u8 › » } error[4/1/2021, 12:52:52 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/59995ea1-333c-4a3c-81be-2407d0b3e853/master.m3u8 › » } error[4/1/2021, 12:53:26 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/e7b4b682-884b-4fad-a5fa-0ab1d0d4815b/segments-sha256.json › » } error[4/1/2021, 12:53:26 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/e7b4b682-884b-4fad-a5fa-0ab1d0d4815b/master.m3u8 › » } error[4/1/2021, 12:53:26 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/e7b4b682-884b-4fad-a5fa-0ab1d0d4815b/master.m3u8 › » } error[4/1/2021, 12:56:26 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/97b26180-0e56-48dc-a47d-c2fdfd35d27e/segments-sha256.json › » } error[4/1/2021, 12:56:26 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/97b26180-0e56-48dc-a47d-c2fdfd35d27e/master.m3u8 › » } error[4/1/2021, 12:56:27 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/97b26180-0e56-48dc-a47d-c2fdfd35d27e/master.m3u8 › » } error[4/1/2021, 12:56:51 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/31bb8009-d699-421c-a5d0-df6558865911/segments-sha256.json › » } error[4/1/2021, 12:56:51 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/31bb8009-d699-421c-a5d0-df6558865911/master.m3u8 › » } error[4/1/2021, 12:56:51 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/31bb8009-d699-421c-a5d0-df6558865911/master.m3u8 › » } error[4/1/2021, 12:58:21 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/124142d5-9a5c-4abb-b090-e2ee885f67c1/segments-sha256.json › » } error[4/1/2021, 12:58:21 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/124142d5-9a5c-4abb-b090-e2ee885f67c1/master.m3u8 › » } error[4/1/2021, 12:58:22 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/124142d5-9a5c-4abb-b090-e2ee885f67c1/master.m3u8 › » } error[4/1/2021, 12:58:58 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/198f0e69-a19b-429c-af1a-60fbc3e2227c/segments-sha256.json › » } error[4/1/2021, 12:58:58 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/198f0e69-a19b-429c-af1a-60fbc3e2227c/master.m3u8 › » } error[4/1/2021, 12:58:58 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/198f0e69-a19b-429c-af1a-60fbc3e2227c/master.m3u8 › » } error[4/1/2021, 1:00:05 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/587b3f4b-a781-41eb-b437-aec45a02d832/segments-sha256.json › » } error[4/1/2021, 1:00:06 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/587b3f4b-a781-41eb-b437-aec45a02d832/master.m3u8 › » } error[4/1/2021, 1:00:07 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/587b3f4b-a781-41eb-b437-aec45a02d832/master.m3u8 › » } error[4/1/2021, 1:01:13 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/2eb97d00-6567-4a40-9dcb-bce08179bc0b/segments-sha256.json › » } error[4/1/2021, 1:01:13 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/2eb97d00-6567-4a40-9dcb-bce08179bc0b/master.m3u8 › » } error[4/1/2021, 1:01:14 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/2eb97d00-6567-4a40-9dcb-bce08179bc0b/master.m3u8 › » } error[4/1/2021, 1:03:34 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/c09c6c91-ba30-42db-bf62-03804348bc61/segments-sha256.json › » } error[4/1/2021, 1:03:35 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/c09c6c91-ba30-42db-bf62-03804348bc61/master.m3u8 › » } error[4/1/2021, 1:03:36 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/c09c6c91-ba30-42db-bf62-03804348bc61/master.m3u8 › » } error[4/1/2021, 1:03:51 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/3c348e00-1b81-41c0-aa65-9ff23c7941e5/segments-sha256.json › » } error[4/1/2021, 1:03:51 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/3c348e00-1b81-41c0-aa65-9ff23c7941e5/master.m3u8 › » } error[4/1/2021, 1:03:51 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/3c348e00-1b81-41c0-aa65-9ff23c7941e5/master.m3u8 › » } error[4/1/2021, 1:04:24 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/c09c6c91-ba30-42db-bf62-03804348bc61/segments-sha256.json › » } error[4/1/2021, 1:04:25 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/c09c6c91-ba30-42db-bf62-03804348bc61/segments-sha256.json › » } error[4/1/2021, 1:05:30 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/68ceee01-5a6b-4c42-82db-2dc1a1354ca8/segments-sha256.json › » } error[4/1/2021, 1:05:30 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/68ceee01-5a6b-4c42-82db-2dc1a1354ca8/master.m3u8 › » } error[4/1/2021, 1:05:31 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/68ceee01-5a6b-4c42-82db-2dc1a1354ca8/master.m3u8 › » } error[4/1/2021, 1:06:17 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/b019f46c-e90c-4a27-8c98-b27fa998e555/segments-sha256.json › » } error[4/1/2021, 1:06:17 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/b019f46c-e90c-4a27-8c98-b27fa998e555/master.m3u8 › » } error[4/1/2021, 1:06:18 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/b019f46c-e90c-4a27-8c98-b27fa998e555/master.m3u8 › » } error[4/1/2021, 1:14:57 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/6a798565-bdc1-4586-a21d-6d3003e9c3c0/segments-sha256.json › » } error[4/1/2021, 1:14:57 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/6a798565-bdc1-4586-a21d-6d3003e9c3c0/master.m3u8 › » } error[4/1/2021, 1:14:58 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/6a798565-bdc1-4586-a21d-6d3003e9c3c0/master.m3u8 › » } error[4/1/2021, 1:17:52 AM] Error in controller. { « err »: « TypeError: Cannot read property ‹ timestamp › of null\n at /app/code/server/dist/server/lib/job-queue/job-queue.js:131:24\n at Array.sort ()\n at JobQueue. (/app/code/server/dist/server/lib/job-queue/job-queue.js:130:21)\n at Generator.next ()\n at fulfilled (/app/code/server/node_modules/tslib/tslib.js:114:62)\n at runMicrotasks ()\n at processTicksAndRejections (internal/process/task_queues.js:93:5) » } error[4/1/2021, 1:18:14 AM] Error in controller. { « err »: « TypeError: Cannot read property ‹ timestamp › of null\n at /app/code/server/dist/server/lib/job-queue/job-queue.js:131:24\n at Array.sort ()\n at JobQueue. (/app/code/server/dist/server/lib/job-queue/job-queue.js:130:21)\n at Generator.next ()\n at fulfilled (/app/code/server/node_modules/tslib/tslib.js:114:62)\n at runMicrotasks ()\n at processTicksAndRejections (internal/process/task_queues.js:93:5) » } error[4/1/2021, 1:19:01 AM] Error in controller. { « err »: « TypeError: Cannot read property ‹ timestamp › of null\n at /app/code/server/dist/server/lib/job-queue/job-queue.js:131:24\n at Array.sort ()\n at JobQueue. (/app/code/server/dist/server/lib/job-queue/job-queue.js:130:21)\n at Generator.next ()\n at fulfilled (/app/code/server/node_modules/tslib/tslib.js:114:62)\n at runMicrotasks ()\n at processTicksAndRejections (internal/process/task_queues.js:93:5) » } error[4/1/2021, 1:19:35 AM] Error in controller. { « err »: « TypeError: Cannot read property ‹ timestamp › of null\n at /app/code/server/dist/server/lib/job-queue/job-queue.js:131:24\n at Array.sort ()\n at JobQueue. (/app/code/server/dist/server/lib/job-queue/job-queue.js:130:21)\n at Generator.next ()\n at fulfilled (/app/code/server/node_modules/tslib/tslib.js:114:62)\n at runMicrotasks ()\n at processTicksAndRejections (internal/process/task_queues.js:93:5) » } error[4/1/2021, 1:19:37 AM] Error in controller. { « err »: « TypeError: Cannot read property ‹ timestamp › of null\n at /app/code/server/dist/server/lib/job-queue/job-queue.js:131:24\n at Array.sort ()\n at JobQueue. (/app/code/server/dist/server/lib/job-queue/job-queue.js:130:21)\n at Generator.next ()\n at fulfilled (/app/code/server/node_modules/tslib/tslib.js:114:62)\n at runMicrotasks ()\n at processTicksAndRejections (internal/process/task_queues.js:93:5) » } error[4/1/2021, 1:20:47 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/849649ef-4db3-4dd2-b38e-eb050818e826/segments-sha256.json › » } error[4/1/2021, 1:20:47 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/849649ef-4db3-4dd2-b38e-eb050818e826/master.m3u8 › » } error[4/1/2021, 1:20:48 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/849649ef-4db3-4dd2-b38e-eb050818e826/master.m3u8 › » } error[4/1/2021, 1:21:44 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/d8b22efd-1e52-4103-98b6-710a63ccec6d/segments-sha256.json › » } error[4/1/2021, 1:21:44 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/d8b22efd-1e52-4103-98b6-710a63ccec6d/master.m3u8 › » } error[4/1/2021, 1:21:45 AM] Error in controller. { « err »: « Error: ENOENT: no such file or directory, stat ‹ /app/data/storage/streaming-playlists/hls/d8b22efd-1e52-4103-98b6-710a63ccec6d/master.m3u8 › » } error[4/1/2021, 1:23:52 AM] Error in controller. { « err »: « TypeError: Cannot read property ‹ timestamp › of null\n at /app/code/server/dist/server/lib/job-queue/job-queue.js:131:24\n at Array.sort ()\n at JobQueue. (/app/code/server/dist/server/lib/job-queue/job-queue.js:130:21)\n at Generator.next ()\n at fulfilled (/app/code/server/node_modules/tslib/tslib.js:114:62)\n at runMicrotasks ()\n at processTicksAndRejections (internal/process/task_queues.js:93:5) » } error[4/1/2021, 1:28:58 AM] Error in controller. { « err »: « TypeError: Cannot read property ‹ timestamp › of null\n at /app/code/server/dist/server/lib/job-queue/job-queue.js:131:24\n at Array.sort ()\n at JobQueue. (/app/code/server/dist/server/lib/job-queue/job-queue.js:130:21)\n at Generator.next ()\n at fulfilled (/app/code/server/node_modules/tslib/tslib.js:114:62)\n at runMicrotasks ()\n at processTicksAndRejections (internal/process/task_queues.js:93:5) » } error[4/1/2021, 1:48:48 AM] Error in controller. { « err »: « TypeError: Cannot read property ‹ timestamp › of null\n at /app/code/server/dist/server/lib/job-queue/job-queue.js:131:24\n at Array.sort ()\n at JobQueue. (/app/code/server/dist/server/lib/job-queue/job-queue.js:130:21)\n at Generator.next ()\n at fulfilled (/app/code/server/node_modules/tslib/tslib.js:114:62)\n at runMicrotasks ()\n at processTicksAndRejections (internal/process/task_queues.js:93:5) » }
-
right now only showing this error and i cant open system jobs log on peertube.
error[4/1/2021, 10:19:37 AM] Error in controller. { "err": "Error: ENOENT: no such file or directory, stat '/app/data/storage/streaming-playlists/hls/24390784-cbdb-48fc-885d-c5a7b147c25b/master.m3u8'" } error[4/1/2021, 10:23:36 AM] Error in controller. { "err": "TypeError: Cannot read property 'timestamp' of null\n at /app/code/server/dist/server/lib/job-queue/job-queue.js:131:24\n at Array.sort (<anonymous>)\n at JobQueue.<anonymous> (/app/code/server/dist/server/lib/job-queue/job-queue.js:130:21)\n at Generator.next (<anonymous>)\n at fulfilled (/app/code/server/node_modules/tslib/tslib.js:114:62)\n at runMicrotasks (<anonymous>)\n at processTicksAndRejections (internal/process/task_queues.js:93:5)" }
-
@awnzky No, I mean use the Cloudron built in File Manager from the dashboard.
Find the gear icon on your Peertube app, then the File Manager button in the upper right.
Then navigate to the directory as shown in the error messages until you find the missing one.
-
@robi
the directory specified in the error message does not exist , i cant find them.error about missing directory is now gone, may error message because any request from client side request video that was deleted.
this error log still persist
error[4/1/2021, 3:55:22 PM] Error in controller. { "err": "TypeError: Cannot read property 'timestamp' of null\n at /app/code/server/dist/server/lib/job-queue/job-queue.js:131:24\n at Array.sort (<anonymous>)\n at JobQueue.<anonymous> (/app/code/server/dist/server/lib/job-queue/job-queue.js:130:21)\n at Generator.next (<anonymous>)\n at fulfilled (/app/code/server/node_modules/tslib/tslib.js:114:62)\n at runMicrotasks (<anonymous>)\n at processTicksAndRejections (internal/process/task_queues.js:93:5)" } error[4/1/2021, 3:55:24 PM] Error in controller. { "err": "TypeError: Cannot read property 'timestamp' of null\n at /app/code/server/dist/server/lib/job-queue/job-queue.js:131:24\n at Array.sort (<anonymous>)\n at JobQueue.<anonymous> (/app/code/server/dist/server/lib/job-queue/job-queue.js:130:21)\n at Generator.next (<anonymous>)\n at fulfilled (/app/code/server/node_modules/tslib/tslib.js:114:62)\n at runMicrotasks (<anonymous>)\n at processTicksAndRejections (internal/process/task_queues.js:93:5)" }
-
@awnzky this looks like a peertube upstream bug as such. For some reason it expects this folder/file to exist and since this is not the case, it crashes.
Have you looked at the peertube project to see if someone else has encountered this already? Also did this happen suddenly or after and update/restore?
-
@awnzky looks like the video is still in the database but not on the disk anymore. What have you done to get over the first error message about the missing folder?
Can you maybe login as admin and try to find that video and delete it then using the webinterface?
I was not able to quickly find some kind of rescan or so to purge outdated database entries.
-
@nebulon
error message already gone, and peertube system jobs log from peertube interface. its now work properly.
yesterday i force to stop during updating to 3.1. its broke peertube. so i decide to restore from known backup from cloudron.