rishikanthc / Scriberr

Self-hosted AI audio transcription
MIT License
232 stars 7 forks source link

Transcription doesn't begin after uploading audio file. #6

Closed dillydogg closed 1 day ago

dillydogg commented 1 day ago

Issue: After dragging and dropping file into the "Drag and Drop audio" box, no transcription begins.

Installation method: Docker compose example in repo, though I did change the exposed port to - "6272:3000".

Attempts to fix:

Deleted container and all files, then pulled fresh images.
Removed bind mount

Proof of upload from container log:

2024-10-05 15:38:31 from upload file File {
2024-10-05 15:38:31   size: 8745270,
2024-10-05 15:38:31   type: 'audio/wav',
2024-10-05 15:38:31   name: 'hp0.wav',
2024-10-05 15:38:31   lastModified: 1728157111278
2024-10-05 15:38:31 }
2024-10-05 15:38:32 Created job: 1

image

dillydogg commented 1 day ago

The file appears in the pb_data directory, under:

\scriberr\pb_data\storage\pp2k4onq38xlk63\fu62huwj3lvxme6\blob_MYAkvrdpEs.wav

But the scriberr_files directory remains empty.

rishikanthc commented 1 day ago

can you create 2 sub-folders under the directory you are mapping to SCRIBO_FILES ? if you are doing files:/scriberr then under files can you create audio and transcripts folders and then try again ? Let me know what happens

dillydogg commented 1 day ago

I think it is getting closer. I was able to upload a file, but the Transcript visual did not appear. The error I see is:

2024-10-05 15:56:45 stderr: Output #0, wav, to '/scriberr/audio/ae0edpoc883l975-ffmpeg.wav':
2024-10-05 15:56:45   Metadata:
2024-10-05 15:56:45     ISFT            : Lavf60.16.100
2024-10-05 15:56:45   Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, mono, s16, 256 kb/s
2024-10-05 15:56:45     Metadata:
2024-10-05 15:56:45       encoder         : 
2024-10-05 15:56:45 stderr: Lavc60.31.102 pcm_s16le
2024-10-05 15:56:45 size=       0kB time=00:00:00.00 bitrate=N/A speed=N/A    
2024-10-05 15:56:45 stderr: [out#0/wav @ 0x7fcbb33147c0] video:0kB audio:8540kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000892%
2024-10-05 15:56:45 size=    8540kB time=00:04:33.28 bitrate= 256.0kbits/s speed= 927x    
2024-10-05 15:56:45 
2024-10-05 15:56:45 stderr: whisper_init_from_file_with_params_no_state: loading model from './whisper.cpp/models/ggml-medium.en.bin'
2024-10-05 15:56:45 
2024-10-05 15:56:45 stderr: whisper_init_from_file_with_params_no_state: failed to open './whisper.cpp/models/ggml-medium.en.bin'
2024-10-05 15:56:45 error: failed to initialize whisper context
rishikanthc commented 1 day ago

Ahh I see the problem. Looks like I didn't download the medium sized model into the image. can you try again with small, tiny or base and let me know what happens ?

dillydogg commented 1 day ago

Okay, once more with base. Still not seeing anything in the transcripts folder, but maybe that could be because the one with the medium image is stopping progression?

(Editing to trim down useless logs, sorry)

2024-10-05 16:06:21 from upload file File {
2024-10-05 16:06:21   size: 4075450,
2024-10-05 16:06:21   type: 'audio/wav',
2024-10-05 16:06:21   name: 'gb0.wav',
2024-10-05 16:06:21   lastModified: 1728158781088
2024-10-05 16:06:21 }
2024-10-05 16:06:21 Created job: 5
2024-10-05 16:06:21 Auth state after loading cookie: true
2024-10-05 16:06:21 Auth token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjkzNjc2NjgsImlkIjoiemE5cHVxZTFhc2U1NHJpIiwidHlwZSI6ImFkbWluIn0.8L4-dYN05IdG4ZLJf0tDNCt5E0keT-LLypf3EhAT0F4
2024-10-05 16:06:21 stderr: Input file: /scriberr/audio/fvt42vv0it4ulmc.wav
2024-10-05 16:06:21 Frames: 2037686
2024-10-05 16:06:21 Sample rate: 16000 Hz
2024-10-05 16:06:21 Channels: 1
2024-10-05 16:06:21 Format: 0x10002
2024-10-05 16:06:21 stderr: 
2024-10-05 16:06:21 Sections: 1
2024-10-05 16:06:21 Seekable: yes
2024-10-05 16:06:21 Generating waveform data...
2024-10-05 16:06:21 Samples per pixel: 256
2024-10-05 16:06:21 Input channels: 1
2024-10-05 16:06:21 Output channels: 1

2024-10-05 16:06:21 stderr: 
Done: 100%

2024-10-05 16:06:21 stderr: ffmpeg version 6.1.1 Copyright (c) 2000-2023 the FFmpeg developers
2024-10-05 16:06:21   built with gcc 13.2.1 (Alpine 13.2.1_git20240309) 20240309
2024-10-05 16:06:21   configuration: --prefix=/usr --disable-librtmp --disable-lzma --disable-static --disable-stripping --enable-avfilter --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-libmp3lame --enable-libopenmpt --enable-libopus --enable-libplacebo --enable-libpulse --enable-librav1e --enable-librist --enable-libsoxr --enable-libsrt --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-lto=auto --enable-lv2 --enable-openssl --enable-pic --enable-postproc --enable-pthreads --enable-shared --enable-vaapi --enable-vdpau --enable-version3 --enable-vulkan --optflags=-O3 --enable-libjxl --enable-libsvtav1 --enable-libvpl

2024-10-05 16:06:21 stderr: Output #0, wav, to '/scriberr/audio/fvt42vv0it4ulmc-ffmpeg.wav':
2024-10-05 16:06:21   Metadata:
2024-10-05 16:06:21     ISFT            : Lavf60.16.100
2024-10-05 16:06:21   Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, mono, s16, 256 kb/s
2024-10-05 16:06:21     Metadata:
2024-10-05 16:06:21       encoder         : Lavc60.31.102 pcm_s16le
2024-10-05 16:06:21 
2024-10-05 16:06:21 stderr: size=       0kB time=00:00:00.00 bitrate=N/A speed=N/A    
2024-10-05 16:06:22 stderr: [out#0/wav @ 0x7f832bd117c0] video:0kB audio:3980kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.001914%
2024-10-05 16:06:22 size=    3980kB time=00:02:07.23 bitrate= 256.3kbits/s speed= 907x    
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_from_file_with_params_no_state: loading model from './whisper.cpp/models/ggml-base.en.bin'
2024-10-05 16:06:22 whisper_init_with_params_no_state: use gpu    = 1
2024-10-05 16:06:22 whisper_init_with_params_no_state: flash attn = 0
2024-10-05 16:06:22 whisper_init_with_params_no_state: gpu_device = 0
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_with_params_no_state: dtw        = 0
2024-10-05 16:06:22 whisper_model_load: loading model
2024-10-05 16:06:22 whisper_model_load: n_vocab       = 51864
2024-10-05 16:06:22 whisper_model_load: n_audio_ctx   = 1500
2024-10-05 16:06:22 whisper_model_load: n_audio_state = 512
2024-10-05 16:06:22 whisper_model_load: n_audio_head  = 8
2024-10-05 16:06:22 whisper_model_load: n_audio_layer = 6
2024-10-05 16:06:22 whisper_model_load: n_text_ctx    = 448
2024-10-05 16:06:22 whisper_model_load: n_text_state  = 512
2024-10-05 16:06:22 whisper_model_load: n_text_head   = 8
2024-10-05 16:06:22 whisper_model_load: n_text_layer  = 6
2024-10-05 16:06:22 whisper_model_load: n_mels        = 80
2024-10-05 16:06:22 whisper_model_load: ftype         = 1
2024-10-05 16:06:22 whisper_model_load: qntvr         = 0
2024-10-05 16:06:22 whisper_model_load: type          = 2 (base)
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_model_load: adding 1607 extra tokens
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_model_load: n_langs       = 99
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_model_load:      CPU total size =   147.37 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_model_load: model size    =  147.37 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: kv self size  =   18.87 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: kv cross size =   18.87 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: kv pad  size  =    3.15 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: compute buffer (conv)   =   16.26 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: compute buffer (encode) =  131.94 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: compute buffer (cross)  =    4.65 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: compute buffer (decode) =   96.35 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: 
2024-10-05 16:06:22 system_info: n_threads = 100 / 12 | AVX = 0 | AVX2 = 0 | AVX512 = 0 | FMA = 0 | NEON = 0 | ARM_FMA = 0 | METAL = 0 | F16C = 0 | FP16_VA = 0 | WASM_SIMD = 0 | BLAS = 0 | SSE3 = 1 | SSSE3 = 1 | VSX = 0 | CUDA = 0 | COREML = 0 | OPENVINO = 0 | CANN = 0
2024-10-05 16:06:22 
2024-10-05 16:06:22 main: processing '/scriberr/audio/fvt42vv0it4ulmc-ffmpeg.wav' (2037686 samples, 127.4 sec), 10 threads, 10 processors, 5 beams + best of 5, lang = en, task = transcribe, timestamps = 1 ...
2024-10-05 16:06:22 
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: kv self size  =   18.87 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: kv cross size =   18.87 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: kv pad  size  =    3.15 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: compute buffer (conv)   =   16.26 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: compute buffer (encode) =  131.94 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: compute buffer (cross)  =    4.65 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: compute buffer (decode) =   96.35 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: kv self size  =   18.87 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: kv cross size =   18.87 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: kv pad  size  =    3.15 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: compute buffer (conv)   =   16.26 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: compute buffer (encode) =  131.94 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: compute buffer (cross)  =    4.65 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: compute buffer (decode) =   96.35 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: kv self size  =   18.87 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: kv cross size =   18.87 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: kv pad  size  =    3.15 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: compute buffer (conv)   =   16.26 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: compute buffer (encode) =  131.94 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: compute buffer (cross)  =    4.65 MB
2024-10-05 16:06:22 whisper_init_state: compute buffer (decode) =   96.35 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: kv self size  =   18.87 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: kv cross size =   18.87 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: kv pad  size  =    3.15 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: compute buffer (conv)   =   16.26 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: compute buffer (encode) =  131.94 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: compute buffer (cross)  =    4.65 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: compute buffer (decode) =   96.35 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: kv self size  =   18.87 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: kv cross size =   18.87 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: kv pad  size  =    3.15 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: compute buffer (conv)   =   16.26 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: compute buffer (encode) =  131.94 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: compute buffer (cross)  =    4.65 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: compute buffer (decode) =   96.35 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: kv self size  =   18.87 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: kv cross size =   18.87 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: kv pad  size  =    3.15 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: compute buffer (conv)   =   16.26 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: compute buffer (encode) =  131.94 MB
2024-10-05 16:06:22 whisper_init_state: compute buffer (cross)  =    4.65 MB
2024-10-05 16:06:22 whisper_init_state: compute buffer (decode) =   96.35 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: kv self size  =   18.87 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: kv cross size =   18.87 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: kv pad  size  =    3.15 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: compute buffer (conv)   =   16.26 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: compute buffer (encode) =  131.94 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 stderr: whisper_init_state: compute buffer (cross)  =    4.65 MB
2024-10-05 16:06:22 
2024-10-05 16:06:22 Auth state after loading cookie: true
2024-10-05 16:06:22 Auth token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjkzNjc2NjgsImlkIjoiemE5cHVxZTFhc2U1NHJpIiwidHlwZSI6ImFkbWluIn0.8L4-dYN05IdG4ZLJf0tDNCt5E0keT-LLypf3EhAT0F4
2024-10-05 16:06:22 Auth state after loading cookie: true
2024-10-05 16:06:22 Auth token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjkzNjc2NjgsImlkIjoiemE5cHVxZTFhc2U1NHJpIiwidHlwZSI6ImFkbWluIn0.8L4-dYN05IdG4ZLJf0tDNCt5E0keT-LLypf3EhAT0F4
2024-10-05 16:06:28 Auth state after loading cookie: true
2024-10-05 16:06:28 Auth token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjkzNjc2NjgsImlkIjoiemE5cHVxZTFhc2U1NHJpIiwidHlwZSI6ImFkbWluIn0.8L4-dYN05IdG4ZLJf0tDNCt5E0keT-LLypf3EhAT0F4
2024-10-05 16:06:28 Auth state after loading cookie: true
2024-10-05 16:06:28 Auth token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjkzNjc2NjgsImlkIjoiemE5cHVxZTFhc2U1NHJpIiwidHlwZSI6ImFkbWluIn0.8L4-dYN05IdG4ZLJf0tDNCt5E0keT-LLypf3EhAT0F4
2024-10-05 16:06:49 Auth state after loading cookie: true
2024-10-05 16:06:49 Auth token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjkzNjc2NjgsImlkIjoiemE5cHVxZTFhc2U1NHJpIiwidHlwZSI6ImFkbWluIn0.8L4-dYN05IdG4ZLJf0tDNCt5E0keT-LLypf3EhAT0F4
2024-10-05 16:06:49 Auth state after loading cookie: true
2024-10-05 16:06:49 Auth token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjkzNjc2NjgsImlkIjoiemE5cHVxZTFhc2U1NHJpIiwidHlwZSI6ImFkbWluIn0.8L4-dYN05IdG4ZLJf0tDNCt5E0keT-LLypf3EhAT0F4
2024-10-05 16:06:49 Auth state after loading cookie: true
2024-10-05 16:06:49 Auth token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjkzNjc2NjgsImlkIjoiemE5cHVxZTFhc2U1NHJpIiwidHlwZSI6ImFkbWluIn0.8L4-dYN05IdG4ZLJf0tDNCt5E0keT-LLypf3EhAT0F4
2024-10-05 16:06:49 templates =====  [
2024-10-05 16:06:49   {
2024-10-05 16:06:49     collectionId: 'e29zkh9zofgcct4',
2024-10-05 16:06:49     collectionName: 'templates',
2024-10-05 16:06:49     created: '2024-10-05 19:35:49.474Z',
2024-10-05 16:06:49     id: 'r062ilsdpf622xr',
2024-10-05 16:06:49     prompt: 'Provide a concise and comprehensive summary for the transcript.',
2024-10-05 16:06:49     title: 'Default template',
2024-10-05 16:06:49     updated: '2024-10-05 19:35:49.474Z'
2024-10-05 16:06:49   }
2024-10-05 16:06:49 ]
2024-10-05 16:06:49 Home page - fetched 7
2024-10-05 16:06:49 settings not loaded yet
2024-10-05 16:06:49 TEMPLATES undefined
2024-10-05 16:06:49 Auth state after loading cookie: true
2024-10-05 16:06:49 Auth token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjkzNjc2NjgsImlkIjoiemE5cHVxZTFhc2U1NHJpIiwidHlwZSI6ImFkbWluIn0.8L4-dYN05IdG4ZLJf0tDNCt5E0keT-LLypf3EhAT0F4
2024-10-05 16:06:49 Auth state after loading cookie: true
2024-10-05 16:06:49 Auth token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjkzNjc2NjgsImlkIjoiemE5cHVxZTFhc2U1NHJpIiwidHlwZSI6ImFkbWluIn0.8L4-dYN05IdG4ZLJf0tDNCt5E0keT-LLypf3EhAT0F4
2024-10-05 16:06:57 Auth state after loading cookie: true
2024-10-05 16:06:57 Auth token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjkzNjc2NjgsImlkIjoiemE5cHVxZTFhc2U1NHJpIiwidHlwZSI6ImFkbWluIn0.8L4-dYN05IdG4ZLJf0tDNCt5E0keT-LLypf3EhAT0F4
2024-10-05 16:06:57 Auth state after loading cookie: true
2024-10-05 16:06:57 Auth token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjkzNjc2NjgsImlkIjoiemE5cHVxZTFhc2U1NHJpIiwidHlwZSI6ImFkbWluIn0.8L4-dYN05IdG4ZLJf0tDNCt5E0keT-LLypf3EhAT0F4
rishikanthc commented 1 day ago

can you navigate to http://localhost:9243/admin/queues ? Use the port you mapped 9243 to. This should open the Job Queue dashboard where we will get access to job logs. Can you check on there and show me the logs or errors you get ?

dillydogg commented 1 day ago

When I navigate there I get the error:

Cannot GET /

rishikanthc commented 1 day ago

are you accessing it on the correct port ? You should be able to access this as it's not part of the web app. It's exposed directly by the job queue library I used. I can help verify if you show me your docker-compose

dillydogg commented 1 day ago

Yes, I didn't change that port, but I did expose it. It is not available on localhost:9243 or MyIP:9243, same error.

When I inspect the page I get the message:

Content-Security-Policy: The page’s settings blocked the loading of a resource (img-src) at http://192.168.1.112:9243/favicon.ico because it violates the following directive: “default-src 'none'”

docker-compose.yml

services:
  scriberr:
    image: ghcr.io/rishikanthc/scriberr:beta
    ports:
      - "6272:3000"
      - "8085:8080" #Optionally expose DB UI
      - "9243:9243" #Optionally expose JobQueue UI
    environment:
      - POCKETBASE_ADMIN_EMAIL=madeupemail@localserver.com
      - POCKETBASE_ADMIN_PASSWORD=myverysecurepassword;)
      - REDIS_HOST=127.0.0.1
      - REDIS_PORT=6379
      - SCRIBO_FILES=/scriberr
    volumes:
      - ./pb_data:/app/db
      - ./scriberr_files:/scriberr
dillydogg commented 1 day ago

Okay, actually progress again. I just needed to navigate to: http://localhost:9243/admin/queues/queue/transcriptionQueue.

There is nothing here.

rishikanthc commented 1 day ago

There's nothing there ? You don't see any jobs (running, failed or completed) ?

dillydogg commented 1 day ago

There were none. But I tried uploading one more, and it did appear! But here is the output:

{
  "jobData": {
    "recordId": "2e4vbfrd8iouy4a"
  },
  "returnValue": null
}
dillydogg commented 1 day ago

Each tab from the failure:

Data

{
  "jobData": {
    "recordId": "2e4vbfrd8iouy4a"
  },
  "returnValue": null
}

Options

{
  "attempts": 0,
  "delay": 0
}

Error

Error: Command failed with exit code null
    at ChildProcess.<anonymous> (file:///app/build/server/chunks/queue-C2m1Jwu2.js:43875:16)
    at ChildProcess.emit (node:events:531:35)
    at maybeClose (node:internal/child_process:1104:16)
    at ChildProcess._handle.onexit (node:internal/child_process:304:5)
rishikanthc commented 1 day ago

Can you also post the logs ? Also, what's the # threads and # cpus you have set in the app ?

dillydogg commented 1 day ago

The logs are very similar to that before. I can post the logs again, however, your idea seems to have worked! I foolishly set the threads and cpu to max (hoping to save time), but when I set the CPU down to 6 it works.

rishikanthc commented 1 day ago

Ahh gotcha. Yeah another user faced the same thing. If the resources are too high then the process gets killed without much information. I'll work on adding some notifications or alerts to let the user know what's going on and if things are working or breaking. Appreciate you bringing this up ! If this fixed it can I close the issue ? Let me know if you face other problems

dillydogg commented 1 day ago

No other problems, I think this is safe to close! Thanks again, I'm very excited for the future of this app!

rishikanthc commented 1 day ago

No problem. Thanks for trying the app. Hope you like it !