bartimeus
bartimeus
IImmich
Created by bartimeus on 6/10/2023 in #help-desk-support
Unable to play videos uploaded after upgrading to 1.60.0
I did a large upgrade from v1.49.0 to v1.60.0 (I neglected my homelab for a bit, oops). Videos that I've uploaded since the upgrade do not play (I get a red !), however photos seem fine, previously uploaded videos seem fine, and I can download these videos and play them locally. They just won't stream. The only logs I can definitely correlate to attempting to play the video are from immich-server.
[Nest] 1 - 06/10/2023, 5:05:38 AM ERROR [ExpressAdapter] Premature close
Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
at new NodeError (node:internal/errors:399:5)
at onclose (node:internal/streams/end-of-stream:154:30)
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
[Nest] 1 - 06/10/2023, 5:05:38 AM ERROR [ExpressAdapter] Premature close
Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
at new NodeError (node:internal/errors:399:5)
at onclose (node:internal/streams/end-of-stream:154:30)
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
I've searched a bit for this error but all the older threads seem unrelated since I am actually trying to play this and do not want it terminated.
12 replies
IImmich
Created by bartimeus on 2/23/2023 in #help-desk-support
Machine Learning container running in development mode
I just upgraded from 1.46.1 to 1.48.1 and it all came up fine. I noticed that the machine learning container starts up with the following message in stderr
Downloading (…)rocessor_config.json: 0%| | 0.00/275 [00:00<?, ?B/s]
Downloading (…)rocessor_config.json: 100%|██████████| 275/275 [00:00<00:00, 189kB/s]
/root/.local/lib/python3.10/site-packages/transformers/models/yolos/feature_extraction_yolos.py:28: FutureWarning: The class YolosFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please use YolosImageProcessor instead.
warnings.warn(
/root/.local/lib/python3.10/site-packages/transformers/models/yolos/image_processing_yolos.py:704: FutureWarning: The `max_size` parameter is deprecated and will be removed in v4.26. Please specify in `size['longest_edge'] instead`.
warnings.warn(
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:3003
* Running on http://172.26.64.38:3003
Press CTRL+C to quit
Downloading (…)rocessor_config.json: 0%| | 0.00/275 [00:00<?, ?B/s]
Downloading (…)rocessor_config.json: 100%|██████████| 275/275 [00:00<00:00, 189kB/s]
/root/.local/lib/python3.10/site-packages/transformers/models/yolos/feature_extraction_yolos.py:28: FutureWarning: The class YolosFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please use YolosImageProcessor instead.
warnings.warn(
/root/.local/lib/python3.10/site-packages/transformers/models/yolos/image_processing_yolos.py:704: FutureWarning: The `max_size` parameter is deprecated and will be removed in v4.26. Please specify in `size['longest_edge'] instead`.
warnings.warn(
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:3003
* Running on http://172.26.64.38:3003
Press CTRL+C to quit
All I did was update the image tag and change the entrypoint from
entrypoint = ["/bin/sh", "./entrypoint.sh"]
entrypoint = ["/bin/sh", "./entrypoint.sh"]
to
entrypoint = ["python", "src/main.py"]
entrypoint = ["python", "src/main.py"]
because it was saying there is no entrypoint.sh and this is similar to the reference docker compose file. This is running in Nomad but that shouldn't matter.
2 replies