Raneydazed
Raneydazed
IImmich
Created by Raneydazed on 10/31/2023 in #help-desk-support
Error from most of the containers when starting compose stack with config file
Oh fantastic, thank you : )
40 replies
IImmich
Created by Raneydazed on 10/31/2023 in #help-desk-support
Error from most of the containers when starting compose stack with config file
all set. mostly user error. :p tyvm for the help @bo0tzz : ) Also, I think machine learning does too, as the default compose has it in there.
...
immich-machine-learning:
container_name: immich_machine_learning
image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
volumes:
- model-cache:/cache
env_file:
- .env
restart: always
...
...
immich-machine-learning:
container_name: immich_machine_learning
image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
volumes:
- model-cache:/cache
env_file:
- .env
restart: always
...
QQ about this error when you have a moment, I'm sure it has something to do with my using cloudflare.
immich_server | [Nest] 7 - 10/31/2023, 10:20:36 AM ERROR [ExpressAdapter] Premature close
immich_server | Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
immich_server | at new NodeError (node:internal/errors:406:5)
immich_server | at ServerResponse.onclose (node:internal/streams/end-of-stream:159:30)
immich_server | at ServerResponse.emit (node:events:526:35)
immich_server | at emitCloseNT (node:_http_server:1023:10)
immich_server | at Socket.onServerResponseClose (node:_http_server:278:5)
immich_server | at Socket.emit (node:events:526:35)
immich_server | at TCP.<anonymous> (node:net:337:12)
immich_server | [Nest] 7 - 10/31/2023, 10:20:38 AM LOG [CommunicationRepository] Websocket Connect: OzpSvQXr7YsDrve8AAAF
immich_server | [Nest] 7 - 10/31/2023, 10:20:36 AM ERROR [ExpressAdapter] Premature close
immich_server | Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
immich_server | at new NodeError (node:internal/errors:406:5)
immich_server | at ServerResponse.onclose (node:internal/streams/end-of-stream:159:30)
immich_server | at ServerResponse.emit (node:events:526:35)
immich_server | at emitCloseNT (node:_http_server:1023:10)
immich_server | at Socket.onServerResponseClose (node:_http_server:278:5)
immich_server | at Socket.emit (node:events:526:35)
immich_server | at TCP.<anonymous> (node:net:337:12)
immich_server | [Nest] 7 - 10/31/2023, 10:20:38 AM LOG [CommunicationRepository] Websocket Connect: OzpSvQXr7YsDrve8AAAF
40 replies
IImmich
Created by Raneydazed on 10/31/2023 in #help-desk-support
Error from most of the containers when starting compose stack with config file
well for ML at least.
40 replies
IImmich
Created by Raneydazed on 10/31/2023 in #help-desk-support
Error from most of the containers when starting compose stack with config file
got it figured out.
40 replies
IImmich
Created by Raneydazed on 10/31/2023 in #help-desk-support
Error from most of the containers when starting compose stack with config file
I don't currently have that mounted to the containers though. I removed it at some point. just a sec
40 replies
IImmich
Created by Raneydazed on 10/31/2023 in #help-desk-support
Error from most of the containers when starting compose stack with config file
root@immich_machine_learning:/usr/src/app# echo $IMMICH_CONFIG_FILE; cat $IMMICH_CONFIG_FILE
/opt/immich/immich.config
cat: /opt/immich/immich.config: No such file or directory
root@immich_machine_learning:/usr/src/app# echo $IMMICH_CONFIG_FILE; cat $IMMICH_CONFIG_FILE
/opt/immich/immich.config
cat: /opt/immich/immich.config: No such file or directory
40 replies
IImmich
Created by Raneydazed on 10/31/2023 in #help-desk-support
Error from most of the containers when starting compose stack with config file
ML is running.
40 replies
IImmich
Created by Raneydazed on 10/31/2023 in #help-desk-support
Error from most of the containers when starting compose stack with config file
docker exec -it immich_microservices /bin/bash
Error response from daemon: Container 4e93d9a6196a3f3fa9f22b2d30e896592cc59c3c8aeffb8c3ef93b8812813e8f is restarting, wait until the container is running
docker exec -it immich_microservices /bin/bash
Error response from daemon: Container 4e93d9a6196a3f3fa9f22b2d30e896592cc59c3c8aeffb8c3ef93b8812813e8f is restarting, wait until the container is running
40 replies
IImmich
Created by Raneydazed on 10/31/2023 in #help-desk-support
Error from most of the containers when starting compose stack with config file
not going to be able to as it keeps restarting.
40 replies
IImmich
Created by Raneydazed on 10/31/2023 in #help-desk-support
Error from most of the containers when starting compose stack with config file
sure, gotta start it back up just a sec
40 replies
IImmich
Created by Raneydazed on 10/31/2023 in #help-desk-support
Error from most of the containers when starting compose stack with config file
yes, tried that just now as well.
40 replies
IImmich
Created by Raneydazed on 10/31/2023 in #help-desk-support
Error from most of the containers when starting compose stack with config file
oh I suppose I should mention its non-root.
40 replies
IImmich
Created by Raneydazed on 10/31/2023 in #help-desk-support
Error from most of the containers when starting compose stack with config file
perms shouldn't be an issue as the file is owned by my user and perms are 775
40 replies
IImmich
Created by Raneydazed on 10/31/2023 in #help-desk-support
Error from most of the containers when starting compose stack with config file
both server and microservices have the mount.
40 replies
IImmich
Created by Raneydazed on 10/31/2023 in #help-desk-support
Error from most of the containers when starting compose stack with config file
it should be good now afaik. still getting the same errors. mount: - /opt/immich/immich.config:/immich.config .env: IMMICH_CONFIG_FILE=immich.config
40 replies
IImmich
Created by Raneydazed on 10/31/2023 in #help-desk-support
Error from most of the containers when starting compose stack with config file
is there a docker env variable for config?
Now it's looking for the file at /opt/immich/immich.config, which doesn't exist in the container. (Your mount is /opt/immich/immich.config:/immich.config)
yeah I realized that just now. :p
40 replies
IImmich
Created by Raneydazed on 10/31/2023 in #help-desk-support
Error from most of the containers when starting compose stack with config file
immich_server | [Nest] 7 - 10/31/2023, 9:59:27 AM LOG [NestFactory] Starting Nest application...
immich_server | [Nest] 7 - 10/31/2023, 9:59:27 AM LOG [InstanceLoader] TypeOrmModule dependencies initialized +25ms
immich_server | [Nest] 7 - 10/31/2023, 9:59:27 AM LOG [InstanceLoader] BullModule dependencies initialized +0ms
immich_server | [Nest] 7 - 10/31/2023, 9:59:27 AM LOG [InstanceLoader] ConfigHostModule dependencies initialized +0ms
immich_server | [Nest] 7 - 10/31/2023, 9:59:27 AM LOG [InstanceLoader] DiscoveryModule dependencies initialized +0ms
immich_server | [Nest] 7 - 10/31/2023, 9:59:27 AM LOG [InstanceLoader] ConfigModule dependencies initialized +5ms
immich_server | [Nest] 7 - 10/31/2023, 9:59:27 AM LOG [InstanceLoader] ScheduleModule dependencies initialized +0ms
immich_server | [Nest] 7 - 10/31/2023, 9:59:27 AM LOG [InstanceLoader] BullModule dependencies initialized +0ms
immich_server | [Nest] 7 - 10/31/2023, 9:59:27 AM LOG [InstanceLoader] BullModule dependencies initialized +0ms
immich_microservices exited with code 1
immich_server | [Nest] 7 - 10/31/2023, 9:59:27 AM LOG [InstanceLoader] TypeOrmCoreModule dependencies initialized +160ms
immich_server | [Nest] 7 - 10/31/2023, 9:59:27 AM LOG [InstanceLoader] TypeOrmModule dependencies initialized +0ms
immich_server | [Nest] 7 - 10/31/2023, 9:59:27 AM LOG [InstanceLoader] TypeOrmModule dependencies initialized +0ms
immich_server | [Nest] 7 - 10/31/2023, 9:59:27 AM LOG [InstanceLoader] InfraModule dependencies initialized +2ms
immich_server | [Nest] 7 - 10/31/2023, 9:59:27 AM LOG [InstanceLoader] AppModule dependencies initialized +3ms
immich_server | [Nest] 7 - 10/31/2023, 9:59:27 AM ERROR [SystemConfigCore] Unable to load configuration file: /opt/immich/immich.config due to Error: ENOENT: no such file or directory, open '/opt/immich/immich.config'
immich_server | Error: ENOENT: no such file or directory, open '/opt/immich/immich.config'
immich_server | [Nest] 7 - 10/31/2023, 9:59:27 AM ERROR [ExceptionHandler] Invalid configuration file
immich_server | Error: Invalid configuration file
immich_server | at SystemConfigCore.loadFromFile (/usr/src/app/dist/domain/system-config/system-config.core.js:312:23)
immich_server | at async SystemConfigCore.getConfig (/usr/src/app/dist/domain/system-config/system-config.core.js:234:44)
immich_server | at async SystemConfigService.getConfig (/usr/src/app/dist/domain/system-config/system-config.service.js:37:24)
immich_server | at async Injector.instantiateClass (/usr/src/app/node_modules/@nestjs/core/injector/injector.js:369:37)
immich_server | at async callback (/usr/src/app/node_modules/@nestjs/core/injector/injector.js:65:34)
immich_server | at async Injector.resolveConstructorParams (/usr/src/app/node_modules/@nestjs/core/injector/injector.js:144:24)
immich_server | at async Injector.loadInstance (/usr/src/app/node_modules/@nestjs/core/injector/injector.js:70:13)
immich_server | at async Injector.loadProvider (/usr/src/app/node_modules/@nestjs/core/injector/injector.js:97:9)
immich_server | at async /usr/src/app/node_modules/@nestjs/core/injector/instance-loader.js:56:13
immich_server | at async Promise.all (index 23)
immich_server exited with code 1
immich_server | [Nest] 7 - 10/31/2023, 9:59:27 AM LOG [NestFactory] Starting Nest application...
immich_server | [Nest] 7 - 10/31/2023, 9:59:27 AM LOG [InstanceLoader] TypeOrmModule dependencies initialized +25ms
immich_server | [Nest] 7 - 10/31/2023, 9:59:27 AM LOG [InstanceLoader] BullModule dependencies initialized +0ms
immich_server | [Nest] 7 - 10/31/2023, 9:59:27 AM LOG [InstanceLoader] ConfigHostModule dependencies initialized +0ms
immich_server | [Nest] 7 - 10/31/2023, 9:59:27 AM LOG [InstanceLoader] DiscoveryModule dependencies initialized +0ms
immich_server | [Nest] 7 - 10/31/2023, 9:59:27 AM LOG [InstanceLoader] ConfigModule dependencies initialized +5ms
immich_server | [Nest] 7 - 10/31/2023, 9:59:27 AM LOG [InstanceLoader] ScheduleModule dependencies initialized +0ms
immich_server | [Nest] 7 - 10/31/2023, 9:59:27 AM LOG [InstanceLoader] BullModule dependencies initialized +0ms
immich_server | [Nest] 7 - 10/31/2023, 9:59:27 AM LOG [InstanceLoader] BullModule dependencies initialized +0ms
immich_microservices exited with code 1
immich_server | [Nest] 7 - 10/31/2023, 9:59:27 AM LOG [InstanceLoader] TypeOrmCoreModule dependencies initialized +160ms
immich_server | [Nest] 7 - 10/31/2023, 9:59:27 AM LOG [InstanceLoader] TypeOrmModule dependencies initialized +0ms
immich_server | [Nest] 7 - 10/31/2023, 9:59:27 AM LOG [InstanceLoader] TypeOrmModule dependencies initialized +0ms
immich_server | [Nest] 7 - 10/31/2023, 9:59:27 AM LOG [InstanceLoader] InfraModule dependencies initialized +2ms
immich_server | [Nest] 7 - 10/31/2023, 9:59:27 AM LOG [InstanceLoader] AppModule dependencies initialized +3ms
immich_server | [Nest] 7 - 10/31/2023, 9:59:27 AM ERROR [SystemConfigCore] Unable to load configuration file: /opt/immich/immich.config due to Error: ENOENT: no such file or directory, open '/opt/immich/immich.config'
immich_server | Error: ENOENT: no such file or directory, open '/opt/immich/immich.config'
immich_server | [Nest] 7 - 10/31/2023, 9:59:27 AM ERROR [ExceptionHandler] Invalid configuration file
immich_server | Error: Invalid configuration file
immich_server | at SystemConfigCore.loadFromFile (/usr/src/app/dist/domain/system-config/system-config.core.js:312:23)
immich_server | at async SystemConfigCore.getConfig (/usr/src/app/dist/domain/system-config/system-config.core.js:234:44)
immich_server | at async SystemConfigService.getConfig (/usr/src/app/dist/domain/system-config/system-config.service.js:37:24)
immich_server | at async Injector.instantiateClass (/usr/src/app/node_modules/@nestjs/core/injector/injector.js:369:37)
immich_server | at async callback (/usr/src/app/node_modules/@nestjs/core/injector/injector.js:65:34)
immich_server | at async Injector.resolveConstructorParams (/usr/src/app/node_modules/@nestjs/core/injector/injector.js:144:24)
immich_server | at async Injector.loadInstance (/usr/src/app/node_modules/@nestjs/core/injector/injector.js:70:13)
immich_server | at async Injector.loadProvider (/usr/src/app/node_modules/@nestjs/core/injector/injector.js:97:9)
immich_server | at async /usr/src/app/node_modules/@nestjs/core/injector/instance-loader.js:56:13
immich_server | at async Promise.all (index 23)
immich_server exited with code 1
40 replies
IImmich
Created by Raneydazed on 10/31/2023 in #help-desk-support
Error from most of the containers when starting compose stack with config file
no good
40 replies
IImmich
Created by Raneydazed on 10/31/2023 in #help-desk-support
Error from most of the containers when starting compose stack with config file
ill give it a whirl just a sec
40 replies
IImmich
Created by Raneydazed on 10/31/2023 in #help-desk-support
Error from most of the containers when starting compose stack with config file
legitimately didn't think of that. idk why. fwiw it worked fine like this before. the compose has the config mapped to immich server just as a test. I figured I'd ask here first.
40 replies