Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't login and many errors on mgr instance #42

Open
piotr-siedlak opened this issue Aug 23, 2024 · 11 comments
Open

Can't login and many errors on mgr instance #42

piotr-siedlak opened this issue Aug 23, 2024 · 11 comments

Comments

@piotr-siedlak
Copy link

Hi,
I can't login to app and in logs I see some error:

mngr-instance              | [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
mngr-instance              | 
mngr-instance              | [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
mngr-instance              |  - using env:	export GIN_MODE=release
mngr-instance              |  - using code:	gin.SetMode(gin.ReleaseMode)
mngr-instance              | 
mngr-instance              | 2024/08/23 09:38:08 Disk Usage has checked the disk and no action has been taken
mngr-instance              | 2024/08/23 09:38:08 user count:  1
mngr-instance              | panic: '/:id/:datestr/:hour' in new path '/records/:id/:datestr/:hour' conflicts with existing wildcard '/*filepath' in existing prefix '/records/*filepath'
mngr-instance              | 
mngr-instance              | goroutine 1 [running]:
mngr-instance              | github.com/gin-gonic/gin.(*node).addRoute(0x10f4155?, {0xc000096260, 0x1b}, {0xc000377740, 0x6, 0x6})
mngr-instance              | 	/go/pkg/mod/github.com/gin-gonic/[email protected]/tree.go:246 +0xbea
mngr-instance              | github.com/gin-gonic/gin.(*Engine).addRoute(0xc000115040, {0x10f4155, 0x3}, {0xc000096260, 0x1b}, {0xc000377740, 0x6, 0x6})
mngr-instance              | 	/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:305 +0x226
mngr-instance              | github.com/gin-gonic/gin.(*RouterGroup).handle(0xc000115040, {0x10f4155, 0x3}, {0x1118236?, 0x1102db2?}, {0xc000010178, 0x1, 0x1?})
mngr-instance              | 	/go/pkg/mod/github.com/gin-gonic/[email protected]/routergroup.go:75 +0x145
mngr-instance              | github.com/gin-gonic/gin.(*RouterGroup).GET(...)
mngr-instance              | 	/go/pkg/mod/github.com/gin-gonic/[email protected]/routergroup.go:103
mngr-instance              | mngr/api.RegisterRecordEndpoints(0xc000115040, 0x1a8fec0)
mngr-instance              | 	/app/api/record.go:38 +0x13d
mngr-instance              | main.main()
mngr-instance              | 	/app/main.go:124 +0x90d
mngr-instance              | 2024/08/23 09:38:21 Redis host:  127.0.0.1
mngr-instance              | 2024/08/23 09:38:21 Redis port:  6379
mngr-instance              | ROOT_DIR_PATHS: /records
mngr-instance              | SENSE_AI_IMAGE: 0
mngr-instance              | SENSE_AI_HOST not found
mngr-instance              | SENSE_AI_PORT not found
mngr-instance              | SNAPSHOT_PROC_COUNT: 4
mngr-instance              | MS_PORT_START not found
mngr-instance              | MS_PORT_END not found
mngr-instance              | READONLY_MODE not found
mngr-instance              | 2024/08/23 09:38:21 session timeout check time diff as seconds: 9223372036
mngr-instance              | 2024/08/23 09:38:21 An inactive user has been detected and will be removed: admin  token: b7dfd842
mngr-instance              | 2024/08/23 09:38:21 a user with a token b7dfd842 has been deleted
mngr-instance              | 2024/08/23 09:38:21 Session timeout has been checked
mngr-instance              | 2024/08/23 09:38:21 MONGODB_CS: mongodb://localhost:27017
mngr-instance              | 2024/08/23 09:38:21 DirPaths:  [/records]
mngr-instance              | 2024/08/23 09:38:21 Config file is not changed
mngr-instance              | [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
mngr-instance              | 
mngr-instance              | [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
mngr-instance              |  - using env:	export GIN_MODE=release
mngr-instance              |  - using code:	gin.SetMode(gin.ReleaseMode)
mngr-instance              | 
mngr-instance              | 2024/08/23 09:38:21 user count:  1
mngr-instance              | 2024/08/23 09:38:21 Disk Usage has checked the disk and no action has been taken
mongo-instance             | {"t":{"$date":"2024-08-23T07:38:21.910+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.19.0.1:58420","uuid":{"uuid":{"$uuid":"ace809b0-240f-40d3-ad24-41b06d06ceb6"}},"connectionId":10,"connectionCount":4}}
mongo-instance             | {"t":{"$date":"2024-08-23T07:38:21.910+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.19.0.1:58436","uuid":{"uuid":{"$uuid":"15e6cd30-55c1-4718-8c24-9de8b0b83e59"}},"connectionId":11,"connectionCount":5}}
mongo-instance             | {"t":{"$date":"2024-08-23T07:38:21.911+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn10","msg":"Connection ended","attr":{"remote":"172.19.0.1:58420","uuid":{"uuid":{"$uuid":"ace809b0-240f-40d3-ad24-41b06d06ceb6"}},"connectionId":10,"connectionCount":4}}
mongo-instance             | {"t":{"$date":"2024-08-23T07:38:21.911+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn11","msg":"Connection ended","attr":{"remote":"172.19.0.1:58436","uuid":{"uuid":{"$uuid":"15e6cd30-55c1-4718-8c24-9de8b0b83e59"}},"connectionId":11,"connectionCount":3}}
mngr-instance              | panic: '/:id/:datestr/:hour' in new path '/records/:id/:datestr/:hour' conflicts with existing wildcard '/*filepath' in existing prefix '/records/*filepath'
mngr-instance              | 
mngr-instance              | goroutine 1 [running]:
mngr-instance              | github.com/gin-gonic/gin.(*node).addRoute(0x10f4155?, {0xc00007e540, 0x1b}, {0xc00051f140, 0x6, 0x6})
mngr-instance              | 	/go/pkg/mod/github.com/gin-gonic/[email protected]/tree.go:246 +0xbea
mngr-instance              | github.com/gin-gonic/gin.(*Engine).addRoute(0xc0005d5860, {0x10f4155, 0x3}, {0xc00007e540, 0x1b}, {0xc00051f140, 0x6, 0x6})
mngr-instance              | 	/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:305 +0x226
mngr-instance              | github.com/gin-gonic/gin.(*RouterGroup).handle(0xc0005d5860, {0x10f4155, 0x3}, {0x1118236?, 0x1102db2?}, {0xc0005162c8, 0x1, 0x1?})
mngr-instance              | 	/go/pkg/mod/github.com/gin-gonic/[email protected]/routergroup.go:75 +0x145
mngr-instance              | github.com/gin-gonic/gin.(*RouterGroup).GET(...)
mngr-instance              | 	/go/pkg/mod/github.com/gin-gonic/[email protected]/routergroup.go:103
mngr-instance              | mngr/api.RegisterRecordEndpoints(0xc0005d5860, 0x1a8fec0)
mngr-instance              | 	/app/api/record.go:38 +0x13d
mngr-instance              | main.main()
mngr-instance              | 	/app/main.go:124 +0x90d
@piotr-siedlak
Copy link
Author

piotr-siedlak commented Aug 23, 2024 via email

@Mohammad699
Copy link

Please post your docker compose file

@Mohammad699
Copy link

Should I add logs only form mgr instance or from whole app ?

On 23 Aug 2024, at 18:49, Mohammad @.***> wrote: Can you please post complete logs from the start — Reply to this email directly, view it on GitHub <#42 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKA3VJUDSAT3S6GV2NAT5MLZS5R3LAVCNFSM6AAAAABM7UTCIKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBXGQ2TIMZXGI. You are receiving this because you authored the thread.

Mngr logs and your docker compose file

@Mohammad699
Copy link

@piotr-siedlak did you solve it?

@piotr-siedlak
Copy link
Author

piotr-siedlak commented Aug 24, 2024 via email

@piotr-siedlak
Copy link
Author

piotr-siedlak commented Aug 26, 2024 via email

@piotr-siedlak
Copy link
Author

piotr-siedlak commented Aug 26, 2024

version: '3'
services:
redis:
image: redis
container_name: redis-instance
restart: unless-stopped
ports:
- '6379:6379'
mongo:
image: mongo:latest
container_name: mongo-instance
restart: unless-stopped
ports:
- '27017:27017'
mngr:
image: gokalpgoren/mngr:v1.0.3-amd64
container_name: mngr-instance
restart: unless-stopped
network_mode: host
depends_on:
- redis
- mongo
environment:
- TZ=Europe/Warsaw
- REDIS_HOST=127.0.0.1
- REDIS_PORT=6379
- WEBSERVER_PORT=8072
- MONGODB_CS=mongodb://localhost:27017
- SENSE_AI_IMAGE=0
- ROOT_DIR_PATHS=/records
- SNAPSHOT_PROC_COUNT=4
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /records:/records
ffmpeg_service:
image: gokalpgoren/ffmpeg_service:v1.0.3-amd64
container_name: ffmpeg_service-instance
restart: unless-stopped
network_mode: host
depends_on:
- redis
- mngr
environment:
- TZ=Europe/Warsaw
- REDIS_HOST=127.0.0.1
- REDIS_PORT=6379
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /records:/records
snapshot_service:
image: gokalpgoren/snapshot_service:v1.0.3-amd64
container_name: snapshot_service-instance
restart: unless-stopped
network_mode: host
depends_on:
- redis
- ffmpeg_service
environment:
- TZ=Europe/Warsaw
- REDIS_HOST=127.0.0.1
- REDIS_PORT=6379
senseai_service:
image: gokalpgoren/senseai_service:v1.0.3-amd64
container_name: senseai_service-instance
restart: unless-stopped
network_mode: host
depends_on:
- redis
- ffmpeg_service
- snapshot_service
- smcp
environment:
- TZ=Europe/Warsaw
- REDIS_HOST=127.0.0.1
- REDIS_PORT=6379
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /records:/records
smcp:
image: gokalpgoren/smcp:v1.0.3-amd64
container_name: smcp-instance
restart: unless-stopped
network_mode: host
depends_on:
- redis
- mongo
- mngr
environment:
- TZ=Europe/Warsaw
- REDIS_HOST=127.0.0.1
- REDIS_PORT=6379
volumes:
- /records:/records
webapp:
image: gokalpgoren/webapp:v1.0.3-amd64
container_name: webapp-instance
restart: unless-stopped
depends_on:
- mngr
environment:
- TZ=Europe/Warsaw
- REDIS_HOST=127.0.0.1
- REDIS_PORT=6379
ports:
- '8080:80'

@piotr-siedlak
Copy link
Author

[+] Running 8/7 ✔ Container mongo-instance Created 0.1s ✔ Container redis-instance Created 0.1s ✔ Container mngr-instance Created 0.0s ✔ Container webapp-instance Created 0.1s ✔ Container smcp-instance Created 0.0s ✔ Container ffmpeg_service-instance Created 0.1s ✔ Container snapshot_service-instance Created 0.0s ✔ Container senseai_service-instance Created 0.0s Attaching to ffmpeg_service-instance, mngr-instance, mongo-instance, redis-instance, senseai_service-instance, smcp-instance, snapshot_service-instance, webapp-instance redis-instance | 1:C 26 Aug 2024 12:18:49.999 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. redis-instance | 1:C 26 Aug 2024 12:18:50.000 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo redis-instance | 1:C 26 Aug 2024 12:18:50.000 * Redis version=7.4.0, bits=64, commit=00000000, modified=0, pid=1, just started redis-instance | 1:C 26 Aug 2024 12:18:50.000 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf redis-instance | 1:M 26 Aug 2024 12:18:50.000 * monotonic clock: POSIX clock_gettime redis-instance | 1:M 26 Aug 2024 12:18:50.001 * Running mode=standalone, port=6379. redis-instance | 1:M 26 Aug 2024 12:18:50.001 * Server initialized redis-instance | 1:M 26 Aug 2024 12:18:50.001 * Ready to accept connections tcp mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.031+00:00"},"s":"I", "c":"CONTROL", "id":23285, "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.033+00:00"},"s":"I", "c":"NETWORK", "id":4915701, "ctx":"main","msg":"Initialized wire specification","attr":{"spec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":21},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":21},"outgoing":{"minWireVersion":6,"maxWireVersion":21},"isInternalClient":true}}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.034+00:00"},"s":"I", "c":"NETWORK", "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.035+00:00"},"s":"I", "c":"REPL", "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationDonorService","namespace":"config.tenantMigrationDonors"}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.035+00:00"},"s":"I", "c":"REPL", "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationRecipientService","namespace":"config.tenantMigrationRecipients"}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.035+00:00"},"s":"I", "c":"CONTROL", "id":5945603, "ctx":"main","msg":"Multi threading initialized"} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.035+00:00"},"s":"I", "c":"TENANT_M", "id":7091600, "ctx":"main","msg":"Starting TenantMigrationAccessBlockerRegistry"} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.036+00:00"},"s":"I", "c":"CONTROL", "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":1,"port":27017,"dbPath":"/data/db","architecture":"64-bit","host":"fda6ba3efbcc"}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.036+00:00"},"s":"I", "c":"CONTROL", "id":23403, "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"7.0.12","gitVersion":"b6513ce0781db6818e24619e8a461eae90bc94fc","openSSLVersion":"OpenSSL 3.0.2 15 Mar 2022","modules":[],"allocator":"tcmalloc","environment":{"distmod":"ubuntu2204","distarch":"x86_64","target_arch":"x86_64"}}}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.036+00:00"},"s":"I", "c":"CONTROL", "id":51765, "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Ubuntu","version":"22.04"}}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.036+00:00"},"s":"I", "c":"CONTROL", "id":21951, "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"net":{"bindIp":"*"}}}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.037+00:00"},"s":"I", "c":"STORAGE", "id":22297, "ctx":"initandlisten","msg":"Using the XFS filesystem is strongly recommended with the WiredTiger storage engine. See http://dochub.mongodb.org/core/prodnotes-filesystem","tags":["startupWarnings"]} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.037+00:00"},"s":"I", "c":"STORAGE", "id":22315, "ctx":"initandlisten","msg":"Opening WiredTiger","attr":{"config":"create,cache_size=7482M,session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,remove=true,path=journal,compressor=snappy),builtin_extension_config=(zstd=(compression_level=6)),file_manager=(close_idle_time=600,close_scan_interval=10,close_handle_minimum=2000),statistics_log=(wait=0),json_output=(error,message),verbose=[recovery_progress:1,checkpoint_progress:1,compact_progress:1,backup:0,checkpoint:0,compact:0,evict:0,history_store:0,recovery:0,rts:0,salvage:0,tiered:0,timestamp:0,transaction:0,verify:0,log:0],"}} mngr-instance | 2024/08/26 14:18:50 Redis host: 127.0.0.1 mngr-instance | 2024/08/26 14:18:50 Redis port: 6379 mngr-instance | 2024/08/26 14:18:50 Session timeout has been checked mngr-instance | ROOT_DIR_PATHS: /records mngr-instance | SENSE_AI_IMAGE: 0 mngr-instance | SENSE_AI_HOST not found mngr-instance | SENSE_AI_PORT not found mngr-instance | SNAPSHOT_PROC_COUNT: 4 mngr-instance | MS_PORT_START not found mngr-instance | MS_PORT_END not found mngr-instance | READONLY_MODE not found mngr-instance | 2024/08/26 14:18:50 MONGODB_CS: mongodb://localhost:27017 mngr-instance | 2024/08/26 14:18:50 DirPaths: [/records] mngr-instance | 2024/08/26 14:18:50 Config file is not changed mngr-instance | 2024/08/26 14:18:50 Disk Usage has checked the disk and no action has been taken mngr-instance | [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached. mngr-instance | mngr-instance | [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production. mngr-instance | - using env: export GIN_MODE=release mngr-instance | - using code: gin.SetMode(gin.ReleaseMode) mngr-instance | mngr-instance | 2024/08/26 14:18:50 user count: 1 mngr-instance | panic: '/:id/:datestr/:hour' in new path '/records/:id/:datestr/:hour' conflicts with existing wildcard '/*filepath' in existing prefix '/records/*filepath' mngr-instance | mngr-instance | goroutine 1 [running]: mngr-instance | github.com/gin-gonic/gin.(*node).addRoute(0x10f4155?, {0xc00045e240, 0x1b}, {0xc00021f6e0, 0x6, 0x6}) mngr-instance | /go/pkg/mod/github.com/gin-gonic/[email protected]/tree.go:246 +0xbea mngr-instance | github.com/gin-gonic/gin.(*Engine).addRoute(0xc00029f380, {0x10f4155, 0x3}, {0xc00045e240, 0x1b}, {0xc00021f6e0, 0x6, 0x6}) mngr-instance | /go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:305 +0x226 mngr-instance | github.com/gin-gonic/gin.(*RouterGroup).handle(0xc00029f380, {0x10f4155, 0x3}, {0x1118236?, 0x1102db2?}, {0xc0002801c0, 0x1, 0x1?}) mngr-instance | /go/pkg/mod/github.com/gin-gonic/[email protected]/routergroup.go:75 +0x145 mngr-instance | github.com/gin-gonic/gin.(*RouterGroup).GET(...) mngr-instance | /go/pkg/mod/github.com/gin-gonic/[email protected]/routergroup.go:103 mngr-instance | mngr/api.RegisterRecordEndpoints(0xc00029f380, 0x1a8fec0) mngr-instance | /app/api/record.go:38 +0x13d mngr-instance | main.main() mngr-instance | /app/main.go:124 +0x90d smcp-instance | 2024/08/26 14:18:50 Redis host: 127.0.0.1 smcp-instance | 2024/08/26 14:18:50 Redis port: 6379 mngr-instance exited with code 2 webapp-instance | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration webapp-instance | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ webapp-instance | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh webapp-instance | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf webapp-instance | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf webapp-instance | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh webapp-instance | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh webapp-instance | /docker-entrypoint.sh: Configuration complete; ready for start up webapp-instance | 2024/08/26 14:18:50 [notice] 1#1: using the "epoll" event method webapp-instance | 2024/08/26 14:18:50 [notice] 1#1: nginx/1.23.1 webapp-instance | 2024/08/26 14:18:50 [notice] 1#1: built by gcc 10.2.1 20210110 (Debian 10.2.1-6) webapp-instance | 2024/08/26 14:18:50 [notice] 1#1: OS: Linux 5.15.0-119-generic webapp-instance | 2024/08/26 14:18:50 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576 webapp-instance | 2024/08/26 14:18:50 [notice] 1#1: start worker processes webapp-instance | 2024/08/26 14:18:50 [notice] 1#1: start worker process 31 webapp-instance | 2024/08/26 14:18:50 [notice] 1#1: start worker process 32 webapp-instance | 2024/08/26 14:18:50 [notice] 1#1: start worker process 33 webapp-instance | 2024/08/26 14:18:50 [notice] 1#1: start worker process 34 mngr-instance | 2024/08/26 14:18:50 Redis host: 127.0.0.1 mngr-instance | 2024/08/26 14:18:50 Redis port: 6379 mngr-instance | ROOT_DIR_PATHS: /records mngr-instance | SENSE_AI_IMAGE: 0 mngr-instance | SENSE_AI_HOST not found mngr-instance | SENSE_AI_PORT not found mngr-instance | SNAPSHOT_PROC_COUNT: 4 mngr-instance | MS_PORT_START not found mngr-instance | MS_PORT_END not found mngr-instance | READONLY_MODE not found mngr-instance | 2024/08/26 14:18:50 session timeout check time diff as seconds: 9223372036 mngr-instance | 2024/08/26 14:18:50 An inactive user has been detected and will be removed: admin token: e86662b2 mngr-instance | 2024/08/26 14:18:50 a user with a token e86662b2 has been deleted mngr-instance | 2024/08/26 14:18:50 Session timeout has been checked mngr-instance | 2024/08/26 14:18:50 MONGODB_CS: mongodb://localhost:27017 mngr-instance | 2024/08/26 14:18:50 DirPaths: [/records] mngr-instance | 2024/08/26 14:18:50 Config file is not changed mngr-instance | 2024/08/26 14:18:50 Disk Usage has checked the disk and no action has been taken mngr-instance | 2024/08/26 14:18:50 user count: 1 mngr-instance | [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached. mngr-instance | mngr-instance | [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production. mngr-instance | - using env: export GIN_MODE=release mngr-instance | - using code: gin.SetMode(gin.ReleaseMode) mngr-instance | mngr-instance | panic: '/:id/:datestr/:hour' in new path '/records/:id/:datestr/:hour' conflicts with existing wildcard '/*filepath' in existing prefix '/records/*filepath' mngr-instance | mngr-instance | goroutine 1 [running]: mngr-instance | github.com/gin-gonic/gin.(*node).addRoute(0x10f4155?, {0xc0004d6160, 0x1b}, {0xc0001f87b0, 0x6, 0x6}) mngr-instance | /go/pkg/mod/github.com/gin-gonic/[email protected]/tree.go:246 +0xbea mngr-instance | github.com/gin-gonic/gin.(*Engine).addRoute(0xc00008a680, {0x10f4155, 0x3}, {0xc0004d6160, 0x1b}, {0xc0001f87b0, 0x6, 0x6}) mngr-instance | /go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:305 +0x226 mngr-instance | github.com/gin-gonic/gin.(*RouterGroup).handle(0xc00008a680, {0x10f4155, 0x3}, {0x1118236?, 0x1102db2?}, {0xc0001960e8, 0x1, 0x1?}) mngr-instance | /go/pkg/mod/github.com/gin-gonic/[email protected]/routergroup.go:75 +0x145 mngr-instance | github.com/gin-gonic/gin.(*RouterGroup).GET(...) mngr-instance | /go/pkg/mod/github.com/gin-gonic/[email protected]/routergroup.go:103 mngr-instance | mngr/api.RegisterRecordEndpoints(0xc00008a680, 0x1a8fec0) mngr-instance | /app/api/record.go:38 +0x13d mngr-instance | main.main() mngr-instance | /app/main.go:124 +0x90d mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.683+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1724674730,"ts_usec":683153,"thread":"1:0x7f805bd43c80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"recovery log replay has successfully finished and ran for 0 milliseconds"}}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.683+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1724674730,"ts_usec":683236,"thread":"1:0x7f805bd43c80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Set global recovery timestamp: (0, 0)"}}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.683+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1724674730,"ts_usec":683248,"thread":"1:0x7f805bd43c80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Set global oldest timestamp: (0, 0)"}}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.683+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1724674730,"ts_usec":683262,"thread":"1:0x7f805bd43c80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"recovery was completed successfully and took 0ms, including 0ms for the log replay, 0ms for the rollback to stable, and 0ms for the checkpoint."}}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.690+00:00"},"s":"I", "c":"STORAGE", "id":4795906, "ctx":"initandlisten","msg":"WiredTiger opened","attr":{"durationMillis":653}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.690+00:00"},"s":"I", "c":"RECOVERY", "id":23987, "ctx":"initandlisten","msg":"WiredTiger recoveryTimestamp","attr":{"recoveryTimestamp":{"$timestamp":{"t":0,"i":0}}}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.720+00:00"},"s":"W", "c":"CONTROL", "id":22120, "ctx":"initandlisten","msg":"Access control is not enabled for the database. Read and write access to data and configuration is unrestricted","tags":["startupWarnings"]} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.720+00:00"},"s":"W", "c":"CONTROL", "id":5123300, "ctx":"initandlisten","msg":"vm.max_map_count is too low","attr":{"currentValue":65530,"recommendedMinimum":1677720,"maxConns":838860},"tags":["startupWarnings"]} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.720+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"initandlisten","msg":"createCollection","attr":{"namespace":"admin.system.version","uuidDisposition":"provided","uuid":{"uuid":{"$uuid":"f4e358c7-72b2-4089-84bf-83af817aa247"}},"options":{"uuid":{"$uuid":"f4e358c7-72b2-4089-84bf-83af817aa247"}}}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.731+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"initandlisten","msg":"Index build: done building","attr":{"buildUUID":null,"collectionUUID":{"uuid":{"$uuid":"f4e358c7-72b2-4089-84bf-83af817aa247"}},"namespace":"admin.system.version","index":"_id_","ident":"index-1-4320833478191605235","collectionIdent":"collection-0-4320833478191605235","commitTimestamp":null}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.731+00:00"},"s":"I", "c":"REPL", "id":20459, "ctx":"initandlisten","msg":"Setting featureCompatibilityVersion","attr":{"newVersion":"7.0"}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.731+00:00"},"s":"I", "c":"REPL", "id":5853300, "ctx":"initandlisten","msg":"current featureCompatibilityVersion value","attr":{"featureCompatibilityVersion":"7.0","context":"setFCV"}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.731+00:00"},"s":"I", "c":"NETWORK", "id":4915702, "ctx":"initandlisten","msg":"Updated wire specification","attr":{"oldSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":21},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":21},"outgoing":{"minWireVersion":6,"maxWireVersion":21},"isInternalClient":true},"newSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":21},"incomingInternalClient":{"minWireVersion":21,"maxWireVersion":21},"outgoing":{"minWireVersion":21,"maxWireVersion":21},"isInternalClient":true}}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.732+00:00"},"s":"I", "c":"NETWORK", "id":4915702, "ctx":"initandlisten","msg":"Updated wire specification","attr":{"oldSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":21},"incomingInternalClient":{"minWireVersion":21,"maxWireVersion":21},"outgoing":{"minWireVersion":21,"maxWireVersion":21},"isInternalClient":true},"newSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":21},"incomingInternalClient":{"minWireVersion":21,"maxWireVersion":21},"outgoing":{"minWireVersion":21,"maxWireVersion":21},"isInternalClient":true}}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.732+00:00"},"s":"I", "c":"REPL", "id":5853300, "ctx":"initandlisten","msg":"current featureCompatibilityVersion value","attr":{"featureCompatibilityVersion":"7.0","context":"startup"}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.732+00:00"},"s":"I", "c":"STORAGE", "id":5071100, "ctx":"initandlisten","msg":"Clearing temp directory"} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.732+00:00"},"s":"I", "c":"CONTROL", "id":6608200, "ctx":"initandlisten","msg":"Initializing cluster server parameters from disk"} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.732+00:00"},"s":"I", "c":"CONTROL", "id":20536, "ctx":"initandlisten","msg":"Flow Control is enabled on this deployment"} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.732+00:00"},"s":"I", "c":"FTDC", "id":20625, "ctx":"initandlisten","msg":"Initializing full-time diagnostic data capture","attr":{"dataDirectory":"/data/db/diagnostic.data"}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.737+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"initandlisten","msg":"createCollection","attr":{"namespace":"local.startup_log","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"96052e80-544a-41c0-a02a-e128ffd4fb68"}},"options":{"capped":true,"size":10485760}}} senseai_service-instance | WARNING:logger:new type (AiModuleModel) added to RedisMapper cache snapshot_service-instance | WARNING:logger:new type (ServiceModel) added to RedisMapper cache mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.750+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"initandlisten","msg":"Index build: done building","attr":{"buildUUID":null,"collectionUUID":{"uuid":{"$uuid":"96052e80-544a-41c0-a02a-e128ffd4fb68"}},"namespace":"local.startup_log","index":"_id_","ident":"index-3-4320833478191605235","collectionIdent":"collection-2-4320833478191605235","commitTimestamp":null}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.750+00:00"},"s":"I", "c":"REPL", "id":6015317, "ctx":"initandlisten","msg":"Setting new configuration state","attr":{"newState":"ConfigReplicationDisabled","oldState":"ConfigPreStart"}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.750+00:00"},"s":"I", "c":"STORAGE", "id":22262, "ctx":"initandlisten","msg":"Timestamp monitor starting"} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.751+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"LogicalSessionCacheRefresh","msg":"createCollection","attr":{"namespace":"config.system.sessions","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"d2940e36-f671-4011-b6df-27bb1947c4f5"}},"options":{}}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.751+00:00"},"s":"I", "c":"CONTROL", "id":20712, "ctx":"LogicalSessionCacheReap","msg":"Sessions collection is not set up; waiting until next sessions reap interval","attr":{"error":"NamespaceNotFound: config.system.sessions does not exist"}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.755+00:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"/tmp/mongodb-27017.sock"}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.755+00:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"0.0.0.0"}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.755+00:00"},"s":"I", "c":"NETWORK", "id":23016, "ctx":"listener","msg":"Waiting for connections","attr":{"port":27017,"ssl":"off"}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.755+00:00"},"s":"I", "c":"CONTROL", "id":8423403, "ctx":"initandlisten","msg":"mongod startup complete","attr":{"Summary of time elapsed":{"Startup from clean shutdown?":true,"Statistics":{"Transport layer setup":"0 ms","Run initial syncer crash recovery":"0 ms","Create storage engine lock file in the data directory":"0 ms","Get metadata describing storage engine":"0 ms","Create storage engine":"677 ms","Write current PID to file":"0 ms","Write a new metadata for storage engine":"0 ms","Initialize FCV before rebuilding indexes":"1 ms","Drop abandoned idents and get back indexes that need to be rebuilt or builds that need to be restarted":"0 ms","Rebuild indexes for collections":"0 ms","Load cluster parameters from disk for a standalone":"0 ms","Build user and roles graph":"0 ms","Set up the background thread pool responsible for waiting for opTimes to be majority committed":"0 ms","Initialize information needed to make a mongod instance shard aware":"0 ms","Start up the replication coordinator":"0 ms","Start transport layer":"0 ms","_initAndListen total elapsed time":"719 ms"}}}} snapshot_service-instance | Redis host: 127.0.0.1 snapshot_service-instance | Redis port: 6379 mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.763+00:00"},"s":"I", "c":"REPL", "id":7360102, "ctx":"LogicalSessionCacheRefresh","msg":"Added oplog entry for create to transaction","attr":{"namespace":"config.$cmd","uuid":{"uuid":{"$uuid":"d2940e36-f671-4011-b6df-27bb1947c4f5"}},"object":{"create":"system.sessions","idIndex":{"v":2,"key":{"_id":1},"name":"_id_"}}}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.763+00:00"},"s":"I", "c":"REPL", "id":7360100, "ctx":"LogicalSessionCacheRefresh","msg":"Added oplog entry for createIndexes to transaction","attr":{"namespace":"config.$cmd","uuid":{"uuid":{"$uuid":"d2940e36-f671-4011-b6df-27bb1947c4f5"}},"object":{"createIndexes":"system.sessions","v":2,"key":{"lastUse":1},"name":"lsidTTLIndex","expireAfterSeconds":1800}}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.770+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"LogicalSessionCacheRefresh","msg":"Index build: done building","attr":{"buildUUID":null,"collectionUUID":{"uuid":{"$uuid":"d2940e36-f671-4011-b6df-27bb1947c4f5"}},"namespace":"config.system.sessions","index":"_id_","ident":"index-5-4320833478191605235","collectionIdent":"collection-4-4320833478191605235","commitTimestamp":null}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.771+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"LogicalSessionCacheRefresh","msg":"Index build: done building","attr":{"buildUUID":null,"collectionUUID":{"uuid":{"$uuid":"d2940e36-f671-4011-b6df-27bb1947c4f5"}},"namespace":"config.system.sessions","index":"lsidTTLIndex","ident":"index-6-4320833478191605235","collectionIdent":"collection-4-4320833478191605235","commitTimestamp":null}} senseai_service-instance | WARNING:logger:creating a new SenseAI server container with image: codeproject/ai-server, please be patient, it may take a while... ffmpeg_service-instance | WARNING:logger:new type (ServiceModel) added to RedisMapper cache mngr-instance | 2024/08/26 14:18:50 Redis host: 127.0.0.1 mngr-instance | 2024/08/26 14:18:50 Redis port: 6379 mngr-instance | 2024/08/26 14:18:50 session timeout check time diff as seconds: 9223372036 mngr-instance | 2024/08/26 14:18:50 An inactive user has been detected and will be removed: admin token: e86662b2 mngr-instance | 2024/08/26 14:18:50 a user with a token e86662b2 has been deleted mngr-instance | 2024/08/26 14:18:50 Session timeout has been checked mngr-instance | ROOT_DIR_PATHS: /records mngr-instance | 2024/08/26 14:18:50 MONGODB_CS: mongodb://localhost:27017 mngr-instance | SENSE_AI_IMAGE: 0 mngr-instance | SENSE_AI_HOST not found mngr-instance | SENSE_AI_PORT not found mngr-instance | SNAPSHOT_PROC_COUNT: 4 mngr-instance | MS_PORT_START not found mngr-instance | MS_PORT_END not found mngr-instance | READONLY_MODE not found mngr-instance | 2024/08/26 14:18:50 DirPaths: [/records] mngr-instance | 2024/08/26 14:18:50 Config file is not changed mngr-instance | 2024/08/26 14:18:50 Disk Usage has checked the disk and no action has been taken mngr-instance | 2024/08/26 14:18:50 user count: 1 mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.990+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.19.0.1:35196","uuid":{"uuid":{"$uuid":"33c05480-2323-4aae-b737-659a2496f7b2"}},"connectionId":1,"connectionCount":1}} mngr-instance | [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached. mngr-instance | mngr-instance | [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production. mngr-instance | - using env: export GIN_MODE=release mngr-instance | - using code: gin.SetMode(gin.ReleaseMode) mngr-instance | mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.992+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.19.0.1:35210","uuid":{"uuid":{"$uuid":"4a6b2080-8022-4966-8070-8b68b31eb96a"}},"connectionId":2,"connectionCount":2}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.992+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn1","msg":"client metadata","attr":{"remote":"172.19.0.1:35196","client":"conn1","negotiatedCompressors":[],"doc":{"driver":{"name":"mongo-go-driver","version":"v1.9.1"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.18.4"}}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.992+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn1","msg":"Connection ended","attr":{"remote":"172.19.0.1:35196","uuid":{"uuid":{"$uuid":"33c05480-2323-4aae-b737-659a2496f7b2"}},"connectionId":1,"connectionCount":1}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.992+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn2","msg":"client metadata","attr":{"remote":"172.19.0.1:35210","client":"conn2","negotiatedCompressors":[],"doc":{"driver":{"name":"mongo-go-driver","version":"v1.9.1"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.18.4"}}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:50.992+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn2","msg":"Connection ended","attr":{"remote":"172.19.0.1:35210","uuid":{"uuid":{"$uuid":"4a6b2080-8022-4966-8070-8b68b31eb96a"}},"connectionId":2,"connectionCount":0}} mngr-instance | panic: '/:id/:datestr/:hour' in new path '/records/:id/:datestr/:hour' conflicts with existing wildcard '/*filepath' in existing prefix '/records/*filepath' mngr-instance | mngr-instance | goroutine 1 [running]: mngr-instance | github.com/gin-gonic/gin.(*node).addRoute(0x10f4155?, {0xc00047c560, 0x1b}, {0xc000213080, 0x6, 0x6}) mngr-instance | /go/pkg/mod/github.com/gin-gonic/[email protected]/tree.go:246 +0xbea mngr-instance | github.com/gin-gonic/gin.(*Engine).addRoute(0xc0005b1380, {0x10f4155, 0x3}, {0xc00047c560, 0x1b}, {0xc000213080, 0x6, 0x6}) mngr-instance | /go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:305 +0x226 mngr-instance | github.com/gin-gonic/gin.(*RouterGroup).handle(0xc0005b1380, {0x10f4155, 0x3}, {0x1118236?, 0x1102db2?}, {0xc0000ae168, 0x1, 0x1?}) mngr-instance | /go/pkg/mod/github.com/gin-gonic/[email protected]/routergroup.go:75 +0x145 mngr-instance | github.com/gin-gonic/gin.(*RouterGroup).GET(...) mngr-instance | /go/pkg/mod/github.com/gin-gonic/[email protected]/routergroup.go:103 mngr-instance | mngr/api.RegisterRecordEndpoints(0xc0005b1380, 0x1a8fec0) mngr-instance | /app/api/record.go:38 +0x13d mngr-instance | main.main() mngr-instance | /app/main.go:124 +0x90d senseai_service-instance | WARNING:logger:a new SenseAI server container(codeproject/ai-server) has been created successfully. ffmpeg_service-instance | WARNING:logger:new type (TaskModel) added to RedisMapper cache ffmpeg_service-instance | WARNING:logger:new cached functions dictionary has been initialized ffmpeg_service-instance | Redis host: 127.0.0.1 ffmpeg_service-instance | Redis port: 6379 ffmpeg_service-instance | INFO:rq.worker:Worker rq:worker:3cab83faf44549ce85a00e47135ef9ad started with PID 11, version 1.16.2 ffmpeg_service-instance | INFO:rq.worker:Subscribing to channel rq:pubsub:3cab83faf44549ce85a00e47135ef9ad ffmpeg_service-instance | INFO:rq.worker:*** Listening on default... ffmpeg_service-instance | INFO:rq.worker:Cleaning registries for queue: default ffmpeg_service-instance | INFO:rq.worker:default: sustain.task_manager.__proxy_func(1) (0f0a5d5d-ea71-45e5-b273-4067a707e2ad) mongo-instance | {"t":{"$date":"2024-08-26T12:18:51.245+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.19.0.1:35218","uuid":{"uuid":{"$uuid":"2100b188-ca64-47fe-a503-842cc97b57e4"}},"connectionId":3,"connectionCount":1}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:51.246+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn3","msg":"client metadata","attr":{"remote":"172.19.0.1:35218","client":"conn3","negotiatedCompressors":[],"doc":{"driver":{"name":"mongo-go-driver","version":"v1.9.1"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.18.4"}}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:51.290+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.19.0.1:35230","uuid":{"uuid":{"$uuid":"068c9dfd-0fb2-465c-be4d-2d7d55f98c8e"}},"connectionId":4,"connectionCount":2}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:51.290+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn4","msg":"client metadata","attr":{"remote":"172.19.0.1:35230","client":"conn4","negotiatedCompressors":[],"doc":{"driver":{"name":"mongo-go-driver","version":"v1.9.1"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.18.4"}}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:51.291+00:00"},"s":"I", "c":"NETWORK", "id":6788700, "ctx":"conn4","msg":"Received first command on ingress connection since session start or auth handshake","attr":{"elapsedMillis":0}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:51.291+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"conn4","msg":"createCollection","attr":{"namespace":"feniks.ai","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"c3e3c857-4ca3-4001-b07d-e93bcf3ee366"}},"options":{}}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:51.302+00:00"},"s":"I", "c":"REPL", "id":7360102, "ctx":"conn4","msg":"Added oplog entry for create to transaction","attr":{"namespace":"feniks.$cmd","uuid":{"uuid":{"$uuid":"c3e3c857-4ca3-4001-b07d-e93bcf3ee366"}},"object":{"create":"ai","idIndex":{"v":2,"key":{"_id":1},"name":"_id_"}}}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:51.302+00:00"},"s":"I", "c":"REPL", "id":7360100, "ctx":"conn4","msg":"Added oplog entry for createIndexes to transaction","attr":{"namespace":"feniks.$cmd","uuid":{"uuid":{"$uuid":"c3e3c857-4ca3-4001-b07d-e93bcf3ee366"}},"object":{"createIndexes":"ai","v":2,"key":{"created_date":1},"name":"created_date_1"}}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:51.307+00:00"},"s":"I", "c":"REPL", "id":7360100, "ctx":"conn4","msg":"Added oplog entry for createIndexes to transaction","attr":{"namespace":"feniks.$cmd","uuid":{"uuid":{"$uuid":"c3e3c857-4ca3-4001-b07d-e93bcf3ee366"}},"object":{"createIndexes":"ai","v":2,"key":{"module":1,"source_id":1,"created_date":1},"name":"module_1_source_id_1_created_date_1"}}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:51.313+00:00"},"s":"I", "c":"REPL", "id":7360100, "ctx":"conn4","msg":"Added oplog entry for createIndexes to transaction","attr":{"namespace":"feniks.$cmd","uuid":{"uuid":{"$uuid":"c3e3c857-4ca3-4001-b07d-e93bcf3ee366"}},"object":{"createIndexes":"ai","v":2,"key":{"video_file.name":1},"name":"video_file.name_1"}}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:51.321+00:00"},"s":"I", "c":"REPL", "id":7360100, "ctx":"conn4","msg":"Added oplog entry for createIndexes to transaction","attr":{"namespace":"feniks.$cmd","uuid":{"uuid":{"$uuid":"c3e3c857-4ca3-4001-b07d-e93bcf3ee366"}},"object":{"createIndexes":"ai","v":2,"key":{"group_id":1},"name":"group_id_1"}}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:51.326+00:00"},"s":"I", "c":"REPL", "id":7360100, "ctx":"conn4","msg":"Added oplog entry for createIndexes to transaction","attr":{"namespace":"feniks.$cmd","uuid":{"uuid":{"$uuid":"c3e3c857-4ca3-4001-b07d-e93bcf3ee366"}},"object":{"createIndexes":"ai","v":2,"key":{"detected_object.pred_cls_name":1},"name":"detected_object.pred_cls_name_1"}}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:51.333+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn4","msg":"Index build: done building","attr":{"buildUUID":null,"collectionUUID":{"uuid":{"$uuid":"c3e3c857-4ca3-4001-b07d-e93bcf3ee366"}},"namespace":"feniks.ai","index":"_id_","ident":"index-8-4320833478191605235","collectionIdent":"collection-7-4320833478191605235","commitTimestamp":null}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:51.334+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn4","msg":"Index build: done building","attr":{"buildUUID":null,"collectionUUID":{"uuid":{"$uuid":"c3e3c857-4ca3-4001-b07d-e93bcf3ee366"}},"namespace":"feniks.ai","index":"created_date_1","ident":"index-9-4320833478191605235","collectionIdent":"collection-7-4320833478191605235","commitTimestamp":null}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:51.334+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn4","msg":"Index build: done building","attr":{"buildUUID":null,"collectionUUID":{"uuid":{"$uuid":"c3e3c857-4ca3-4001-b07d-e93bcf3ee366"}},"namespace":"feniks.ai","index":"module_1_source_id_1_created_date_1","ident":"index-10-4320833478191605235","collectionIdent":"collection-7-4320833478191605235","commitTimestamp":null}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:51.334+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn4","msg":"Index build: done building","attr":{"buildUUID":null,"collectionUUID":{"uuid":{"$uuid":"c3e3c857-4ca3-4001-b07d-e93bcf3ee366"}},"namespace":"feniks.ai","index":"video_file.name_1","ident":"index-11-4320833478191605235","collectionIdent":"collection-7-4320833478191605235","commitTimestamp":null}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:51.334+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn4","msg":"Index build: done building","attr":{"buildUUID":null,"collectionUUID":{"uuid":{"$uuid":"c3e3c857-4ca3-4001-b07d-e93bcf3ee366"}},"namespace":"feniks.ai","index":"group_id_1","ident":"index-12-4320833478191605235","collectionIdent":"collection-7-4320833478191605235","commitTimestamp":null}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:51.334+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn4","msg":"Index build: done building","attr":{"buildUUID":null,"collectionUUID":{"uuid":{"$uuid":"c3e3c857-4ca3-4001-b07d-e93bcf3ee366"}},"namespace":"feniks.ai","index":"detected_object.pred_cls_name_1","ident":"index-13-4320833478191605235","collectionIdent":"collection-7-4320833478191605235","commitTimestamp":null}} smcp-instance | 2024/08/26 14:18:51 redis: nil smcp-instance | 2024/08/26 14:18:51 Video Clip Processor checking has been started at 2024_08_26_14_18_51_335202457 smcp-instance | 2024/08/26 14:18:51 redis: nil smcp-instance | 2024/08/26 14:18:51 ping: PONG for vfi_response smcp-instance | 2024/08/26 14:18:51 redis pubsub is listening for vfi_response smcp-instance | 2024/08/26 14:18:51 No Cloud Provider has been register for AI Detection smcp-instance | 2024/08/26 14:18:51 ping: PONG for smcp_in smcp-instance | 2024/08/26 14:18:51 redis pubsub is listening for smcp_in smcp-instance | 2024/08/26 14:18:51 ping: PONG for notify_failed smcp-instance | 2024/08/26 14:18:51 redis pubsub is listening for notify_failed smcp-instance | 2024/08/26 14:18:51 ping: PONG for vfm_response smcp-instance | 2024/08/26 14:18:51 redis pubsub is listening for vfm_response mngr-instance | 2024/08/26 14:18:51 Redis host: 127.0.0.1 mngr-instance | 2024/08/26 14:18:51 Redis port: 6379 mngr-instance | 2024/08/26 14:18:51 session timeout check time diff as seconds: 9223372036 mngr-instance | 2024/08/26 14:18:51 An inactive user has been detected and will be removed: admin token: e86662b2 mngr-instance | 2024/08/26 14:18:51 a user with a token e86662b2 has been deleted mngr-instance | 2024/08/26 14:18:51 Session timeout has been checked mngr-instance | ROOT_DIR_PATHS: /records mngr-instance | SENSE_AI_IMAGE: 0 mngr-instance | SENSE_AI_HOST not found mngr-instance | SENSE_AI_PORT not found mngr-instance | SNAPSHOT_PROC_COUNT: 4 mngr-instance | MS_PORT_START not found mngr-instance | MS_PORT_END not found mngr-instance | READONLY_MODE not found mngr-instance | 2024/08/26 14:18:51 MONGODB_CS: mongodb://localhost:27017 mngr-instance | 2024/08/26 14:18:51 DirPaths: [/records] mngr-instance | 2024/08/26 14:18:51 Config file is not changed mongo-instance | {"t":{"$date":"2024-08-26T12:18:51.515+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.19.0.1:35246","uuid":{"uuid":{"$uuid":"e139737b-8c52-408a-b9d5-a1a283fbad09"}},"connectionId":5,"connectionCount":3}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:51.516+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.19.0.1:35248","uuid":{"uuid":{"$uuid":"ffffa622-d3ba-48aa-8070-887441ee52d4"}},"connectionId":6,"connectionCount":4}} mngr-instance | 2024/08/26 14:18:51 user count: 1 mngr-instance | [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached. mngr-instance | mngr-instance | [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production. mngr-instance | - using env: export GIN_MODE=release mngr-instance | - using code: gin.SetMode(gin.ReleaseMode) mngr-instance | mongo-instance | {"t":{"$date":"2024-08-26T12:18:51.516+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn5","msg":"client metadata","attr":{"remote":"172.19.0.1:35246","client":"conn5","negotiatedCompressors":[],"doc":{"driver":{"name":"mongo-go-driver","version":"v1.9.1"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.18.4"}}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:51.516+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn6","msg":"client metadata","attr":{"remote":"172.19.0.1:35248","client":"conn6","negotiatedCompressors":[],"doc":{"driver":{"name":"mongo-go-driver","version":"v1.9.1"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.18.4"}}} mngr-instance | 2024/08/26 14:18:51 Disk Usage has checked the disk and no action has been taken mongo-instance | {"t":{"$date":"2024-08-26T12:18:51.517+00:00"},"s":"I", "c":"-", "id":20883, "ctx":"conn6","msg":"Interrupted operation as its client disconnected","attr":{"opId":27}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:51.517+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn5","msg":"Connection ended","attr":{"remote":"172.19.0.1:35246","uuid":{"uuid":{"$uuid":"e139737b-8c52-408a-b9d5-a1a283fbad09"}},"connectionId":5,"connectionCount":3}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:51.517+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn6","msg":"Connection ended","attr":{"remote":"172.19.0.1:35248","uuid":{"uuid":{"$uuid":"ffffa622-d3ba-48aa-8070-887441ee52d4"}},"connectionId":6,"connectionCount":2}} mngr-instance | panic: '/:id/:datestr/:hour' in new path '/records/:id/:datestr/:hour' conflicts with existing wildcard '/*filepath' in existing prefix '/records/*filepath' mngr-instance | mngr-instance | goroutine 1 [running]: mngr-instance | github.com/gin-gonic/gin.(*node).addRoute(0x10f4155?, {0xc0001de400, 0x1b}, {0xc0000a0ae0, 0x6, 0x6}) mngr-instance | /go/pkg/mod/github.com/gin-gonic/[email protected]/tree.go:246 +0xbea mngr-instance | github.com/gin-gonic/gin.(*Engine).addRoute(0xc0000bf1e0, {0x10f4155, 0x3}, {0xc0001de400, 0x1b}, {0xc0000a0ae0, 0x6, 0x6}) mngr-instance | /go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:305 +0x226 mngr-instance | github.com/gin-gonic/gin.(*RouterGroup).handle(0xc0000bf1e0, {0x10f4155, 0x3}, {0x1118236?, 0x1102db2?}, {0xc000126198, 0x1, 0x1?}) mngr-instance | /go/pkg/mod/github.com/gin-gonic/[email protected]/routergroup.go:75 +0x145 mngr-instance | github.com/gin-gonic/gin.(*RouterGroup).GET(...) mngr-instance | /go/pkg/mod/github.com/gin-gonic/[email protected]/routergroup.go:103 mngr-instance | mngr/api.RegisterRecordEndpoints(0xc0000bf1e0, 0x1a8fec0) mngr-instance | /app/api/record.go:38 +0x13d mngr-instance | main.main() mngr-instance | /app/main.go:124 +0x90d ffmpeg_service-instance | INFO:rq.worker:Worker rq:worker:b65ab23551ea4d359babe0ced8212350 started with PID 15, version 1.16.2 ffmpeg_service-instance | INFO:rq.worker:Subscribing to channel rq:pubsub:b65ab23551ea4d359babe0ced8212350 ffmpeg_service-instance | INFO:rq.worker:*** Listening on default... ffmpeg_service-instance | INFO:rq.worker:Cleaning registries for queue: default ffmpeg_service-instance | INFO:rq.worker:default: sustain.task_manager.__proxy_func(2) (0316fff9-9f11-48e4-bdaa-4fd5b638dd2d) mngr-instance | ROOT_DIR_PATHS: /records mngr-instance | SENSE_AI_IMAGE: 0 mngr-instance | SENSE_AI_HOST not found mngr-instance | SENSE_AI_PORT not found mngr-instance | SNAPSHOT_PROC_COUNT: 4 mngr-instance | MS_PORT_START not found mngr-instance | 2024/08/26 14:18:52 MONGODB_CS: mongodb://localhost:27017 mngr-instance | MS_PORT_END not found mngr-instance | READONLY_MODE not found mngr-instance | 2024/08/26 14:18:52 DirPaths: [/records] mngr-instance | 2024/08/26 14:18:52 Config file is not changed mngr-instance | 2024/08/26 14:18:52 Disk Usage has checked the disk and no action has been taken mongo-instance | {"t":{"$date":"2024-08-26T12:18:52.434+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.19.0.1:35260","uuid":{"uuid":{"$uuid":"8c51701f-760a-46a0-acf9-8782f49fdfc4"}},"connectionId":7,"connectionCount":3}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:52.435+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.19.0.1:35270","uuid":{"uuid":{"$uuid":"c8034ec5-3e53-4c20-85ef-27e2a8bec421"}},"connectionId":8,"connectionCount":4}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:52.435+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn7","msg":"client metadata","attr":{"remote":"172.19.0.1:35260","client":"conn7","negotiatedCompressors":[],"doc":{"driver":{"name":"mongo-go-driver","version":"v1.9.1"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.18.4"}}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:52.435+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn8","msg":"client metadata","attr":{"remote":"172.19.0.1:35270","client":"conn8","negotiatedCompressors":[],"doc":{"driver":{"name":"mongo-go-driver","version":"v1.9.1"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.18.4"}}} mngr-instance | [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached. mngr-instance | mngr-instance | [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production. mngr-instance | - using env: export GIN_MODE=release mngr-instance | - using code: gin.SetMode(gin.ReleaseMode) mngr-instance | mngr-instance | 2024/08/26 14:18:52 user count: 1 mongo-instance | {"t":{"$date":"2024-08-26T12:18:52.436+00:00"},"s":"I", "c":"-", "id":20883, "ctx":"conn7","msg":"Interrupted operation as its client disconnected","attr":{"opId":42}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:52.437+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn8","msg":"Connection ended","attr":{"remote":"172.19.0.1:35270","uuid":{"uuid":{"$uuid":"c8034ec5-3e53-4c20-85ef-27e2a8bec421"}},"connectionId":8,"connectionCount":3}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:52.437+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn7","msg":"Connection ended","attr":{"remote":"172.19.0.1:35260","uuid":{"uuid":{"$uuid":"8c51701f-760a-46a0-acf9-8782f49fdfc4"}},"connectionId":7,"connectionCount":2}} mngr-instance | panic: '/:id/:datestr/:hour' in new path '/records/:id/:datestr/:hour' conflicts with existing wildcard '/*filepath' in existing prefix '/records/*filepath' mngr-instance | mngr-instance | goroutine 1 [running]: mngr-instance | github.com/gin-gonic/gin.(*node).addRoute(0x10f4155?, {0xc0004d23e0, 0x1b}, {0xc0006564e0, 0x6, 0x6}) mngr-instance | /go/pkg/mod/github.com/gin-gonic/[email protected]/tree.go:246 +0xbea mngr-instance | github.com/gin-gonic/gin.(*Engine).addRoute(0xc000240000, {0x10f4155, 0x3}, {0xc0004d23e0, 0x1b}, {0xc0006564e0, 0x6, 0x6}) mngr-instance | /go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:305 +0x226 mngr-instance | github.com/gin-gonic/gin.(*RouterGroup).handle(0xc000240000, {0x10f4155, 0x3}, {0x1118236?, 0x1102db2?}, {0xc00065a1e8, 0x1, 0x1?}) mngr-instance | /go/pkg/mod/github.com/gin-gonic/[email protected]/routergroup.go:75 +0x145 mngr-instance | github.com/gin-gonic/gin.(*RouterGroup).GET(...) mngr-instance | /go/pkg/mod/github.com/gin-gonic/[email protected]/routergroup.go:103 mngr-instance | mngr/api.RegisterRecordEndpoints(0xc000240000, 0x1a8fec0) mngr-instance | /app/api/record.go:38 +0x13d mngr-instance | main.main() mngr-instance | /app/main.go:124 +0x90d ffmpeg_service-instance | INFO:rq.worker:Worker rq:worker:372f1c68b5e44ebca3f005df8b646ae9 started with PID 19, version 1.16.2 ffmpeg_service-instance | INFO:rq.worker:Subscribing to channel rq:pubsub:372f1c68b5e44ebca3f005df8b646ae9 ffmpeg_service-instance | INFO:rq.worker:*** Listening on default... ffmpeg_service-instance | INFO:rq.worker:Cleaning registries for queue: default ffmpeg_service-instance | INFO:rq.worker:default: sustain.task_manager.__proxy_func(3) (0d8ffab2-f448-425f-9f59-c7443eb3fea2) senseai_service-instance | WARNING:logger:new type (ServiceModel) added to RedisMapper cache ffmpeg_service-instance | INFO:rq.worker:Worker rq:worker:5ea0413fd3124556aa8a139a79578f4b started with PID 23, version 1.16.2 ffmpeg_service-instance | INFO:rq.worker:Subscribing to channel rq:pubsub:5ea0413fd3124556aa8a139a79578f4b ffmpeg_service-instance | INFO:rq.worker:*** Listening on default... ffmpeg_service-instance | INFO:rq.worker:Cleaning registries for queue: default ffmpeg_service-instance | INFO:rq.worker:default: sustain.task_manager.__proxy_func(4) (3c091bb8-2557-47ac-9fc1-3f7d4ee0edd8) mngr-instance | 2024/08/26 14:18:54 Redis host: 127.0.0.1 mngr-instance | 2024/08/26 14:18:54 Redis port: 6379 mngr-instance | 2024/08/26 14:18:54 session timeout check time diff as seconds: 9223372036 mngr-instance | 2024/08/26 14:18:54 An inactive user has been detected and will be removed: admin token: e86662b2 mngr-instance | 2024/08/26 14:18:54 a user with a token e86662b2 has been deleted mngr-instance | 2024/08/26 14:18:54 Session timeout has been checked mngr-instance | 2024/08/26 14:18:54 MONGODB_CS: mongodb://localhost:27017 mngr-instance | ROOT_DIR_PATHS: /records mngr-instance | SENSE_AI_IMAGE: 0 mngr-instance | SENSE_AI_HOST not found mngr-instance | SENSE_AI_PORT not found mngr-instance | SNAPSHOT_PROC_COUNT: 4 mngr-instance | MS_PORT_START not found mngr-instance | MS_PORT_END not found mngr-instance | READONLY_MODE not found mngr-instance | 2024/08/26 14:18:54 DirPaths: [/records] mngr-instance | 2024/08/26 14:18:54 Config file is not changed mngr-instance | 2024/08/26 14:18:54 Disk Usage has checked the disk and no action has been taken mongo-instance | {"t":{"$date":"2024-08-26T12:18:54.147+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.19.0.1:35272","uuid":{"uuid":{"$uuid":"2bcef00a-715e-4ab9-a43e-46a86defaa83"}},"connectionId":9,"connectionCount":3}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:54.147+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.19.0.1:35282","uuid":{"uuid":{"$uuid":"807b2115-a6b9-41d7-abf6-fc7b8db9650d"}},"connectionId":10,"connectionCount":4}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:54.147+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn9","msg":"client metadata","attr":{"remote":"172.19.0.1:35272","client":"conn9","negotiatedCompressors":[],"doc":{"driver":{"name":"mongo-go-driver","version":"v1.9.1"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.18.4"}}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:54.147+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn10","msg":"client metadata","attr":{"remote":"172.19.0.1:35282","client":"conn10","negotiatedCompressors":[],"doc":{"driver":{"name":"mongo-go-driver","version":"v1.9.1"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.18.4"}}} mngr-instance | 2024/08/26 14:18:54 user count: 1 mngr-instance | [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached. mngr-instance | mngr-instance | [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production. mngr-instance | - using env: export GIN_MODE=release mngr-instance | - using code: gin.SetMode(gin.ReleaseMode) mngr-instance | mongo-instance | {"t":{"$date":"2024-08-26T12:18:54.159+00:00"},"s":"I", "c":"-", "id":20883, "ctx":"conn9","msg":"Interrupted operation as its client disconnected","attr":{"opId":66}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:54.159+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn10","msg":"Connection ended","attr":{"remote":"172.19.0.1:35282","uuid":{"uuid":{"$uuid":"807b2115-a6b9-41d7-abf6-fc7b8db9650d"}},"connectionId":10,"connectionCount":3}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:54.160+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn9","msg":"Connection ended","attr":{"remote":"172.19.0.1:35272","uuid":{"uuid":{"$uuid":"2bcef00a-715e-4ab9-a43e-46a86defaa83"}},"connectionId":9,"connectionCount":2}} mngr-instance | panic: '/:id/:datestr/:hour' in new path '/records/:id/:datestr/:hour' conflicts with existing wildcard '/*filepath' in existing prefix '/records/*filepath' mngr-instance | mngr-instance | goroutine 1 [running]: mngr-instance | github.com/gin-gonic/gin.(*node).addRoute(0x10f4155?, {0xc00012a200, 0x1b}, {0xc00065c840, 0x6, 0x6}) mngr-instance | /go/pkg/mod/github.com/gin-gonic/[email protected]/tree.go:246 +0xbea mngr-instance | github.com/gin-gonic/gin.(*Engine).addRoute(0xc00066a4e0, {0x10f4155, 0x3}, {0xc00012a200, 0x1b}, {0xc00065c840, 0x6, 0x6}) mngr-instance | /go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:305 +0x226 mngr-instance | github.com/gin-gonic/gin.(*RouterGroup).handle(0xc00066a4e0, {0x10f4155, 0x3}, {0x1118236?, 0x1102db2?}, {0xc000010198, 0x1, 0x1?}) mngr-instance | /go/pkg/mod/github.com/gin-gonic/[email protected]/routergroup.go:75 +0x145 mngr-instance | github.com/gin-gonic/gin.(*RouterGroup).GET(...) mngr-instance | /go/pkg/mod/github.com/gin-gonic/[email protected]/routergroup.go:103 mngr-instance | mngr/api.RegisterRecordEndpoints(0xc00066a4e0, 0x1a8fec0) mngr-instance | /app/api/record.go:38 +0x13d mngr-instance | main.main() mngr-instance | /app/main.go:124 +0x90d ffmpeg_service-instance | INFO:rq.worker:Worker rq:worker:d02b9e2dc1fb4b45b712660c0b4256f8 started with PID 27, version 1.16.2 ffmpeg_service-instance | INFO:rq.worker:Subscribing to channel rq:pubsub:d02b9e2dc1fb4b45b712660c0b4256f8 ffmpeg_service-instance | INFO:rq.worker:*** Listening on default... ffmpeg_service-instance | INFO:rq.worker:Cleaning registries for queue: default ffmpeg_service-instance | INFO:rq.worker:default: sustain.task_manager.__proxy_func(5) (d418fa5a-db88-4f15-acae-e80d2b2a2132) ffmpeg_service-instance | INFO:rq.worker:Worker rq:worker:63abb3952e5e4cca837c51296a113108 started with PID 33, version 1.16.2 ffmpeg_service-instance | INFO:rq.worker:Subscribing to channel rq:pubsub:63abb3952e5e4cca837c51296a113108 ffmpeg_service-instance | INFO:rq.worker:*** Listening on default... ffmpeg_service-instance | INFO:rq.worker:Cleaning registries for queue: default ffmpeg_service-instance | INFO:rq.worker:default: sustain.task_manager.__proxy_func(6) (5dcefc26-db90-4606-b6c0-b44e80991264) ffmpeg_service-instance | INFO:rq.worker:Worker rq:worker:a04e1ec3c228433a811a8cf5dc38d138 started with PID 36, version 1.16.2 ffmpeg_service-instance | INFO:rq.worker:Subscribing to channel rq:pubsub:a04e1ec3c228433a811a8cf5dc38d138 ffmpeg_service-instance | INFO:rq.worker:*** Listening on default... ffmpeg_service-instance | INFO:rq.worker:Cleaning registries for queue: default ffmpeg_service-instance | INFO:rq.worker:default: sustain.task_manager.__proxy_func(7) (fab357a5-5874-449d-8923-e4ed6d7e02ec) mngr-instance | 2024/08/26 14:18:57 Redis host: 127.0.0.1 mngr-instance | 2024/08/26 14:18:57 Redis port: 6379 mngr-instance | 2024/08/26 14:18:57 session timeout check time diff as seconds: 9223372036 mngr-instance | 2024/08/26 14:18:57 An inactive user has been detected and will be removed: admin token: e86662b2 mngr-instance | 2024/08/26 14:18:57 a user with a token e86662b2 has been deleted mngr-instance | 2024/08/26 14:18:57 Session timeout has been checked mngr-instance | ROOT_DIR_PATHS: /records mngr-instance | SENSE_AI_IMAGE: 0 mngr-instance | SENSE_AI_HOST not found mngr-instance | SENSE_AI_PORT not found mngr-instance | SNAPSHOT_PROC_COUNT: 4 mngr-instance | MS_PORT_START not found mngr-instance | MS_PORT_END not found mngr-instance | READONLY_MODE not found mngr-instance | 2024/08/26 14:18:57 MONGODB_CS: mongodb://localhost:27017 mngr-instance | 2024/08/26 14:18:57 DirPaths: [/records] mngr-instance | 2024/08/26 14:18:57 Config file is not changed mngr-instance | 2024/08/26 14:18:57 Disk Usage has checked the disk and no action has been taken mongo-instance | {"t":{"$date":"2024-08-26T12:18:57.538+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.19.0.1:35294","uuid":{"uuid":{"$uuid":"deb5e100-9bc0-4294-9366-d3b85ba2313e"}},"connectionId":11,"connectionCount":3}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:57.538+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.19.0.1:35298","uuid":{"uuid":{"$uuid":"0fea5718-1074-4b19-a477-874c29f765af"}},"connectionId":12,"connectionCount":4}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:57.538+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn12","msg":"client metadata","attr":{"remote":"172.19.0.1:35298","client":"conn12","negotiatedCompressors":[],"doc":{"driver":{"name":"mongo-go-driver","version":"v1.9.1"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.18.4"}}} mngr-instance | 2024/08/26 14:18:57 user count: 1 mngr-instance | [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached. mngr-instance | mngr-instance | [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production. mngr-instance | - using env: export GIN_MODE=release mngr-instance | - using code: gin.SetMode(gin.ReleaseMode) mngr-instance | mongo-instance | {"t":{"$date":"2024-08-26T12:18:57.540+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn11","msg":"client metadata","attr":{"remote":"172.19.0.1:35294","client":"conn11","negotiatedCompressors":[],"doc":{"driver":{"name":"mongo-go-driver","version":"v1.9.1"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.18.4"}}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:57.541+00:00"},"s":"I", "c":"-", "id":20883, "ctx":"conn11","msg":"Interrupted operation as its client disconnected","attr":{"opId":110}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:57.542+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn11","msg":"Connection ended","attr":{"remote":"172.19.0.1:35294","uuid":{"uuid":{"$uuid":"deb5e100-9bc0-4294-9366-d3b85ba2313e"}},"connectionId":11,"connectionCount":3}} mongo-instance | {"t":{"$date":"2024-08-26T12:18:57.542+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn12","msg":"Connection ended","attr":{"remote":"172.19.0.1:35298","uuid":{"uuid":{"$uuid":"0fea5718-1074-4b19-a477-874c29f765af"}},"connectionId":12,"connectionCount":2}} mngr-instance | panic: '/:id/:datestr/:hour' in new path '/records/:id/:datestr/:hour' conflicts with existing wildcard '/*filepath' in existing prefix '/records/*filepath' mngr-instance | mngr-instance | goroutine 1 [running]: mngr-instance | github.com/gin-gonic/gin.(*node).addRoute(0x10f4155?, {0xc000432200, 0x1b}, {0xc0002529c0, 0x6, 0x6}) mngr-instance | /go/pkg/mod/github.com/gin-gonic/[email protected]/tree.go:246 +0xbea mngr-instance | github.com/gin-gonic/gin.(*Engine).addRoute(0xc000276ea0, {0x10f4155, 0x3}, {0xc000432200, 0x1b}, {0xc0002529c0, 0x6, 0x6}) mngr-instance | /go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:305 +0x226 mngr-instance | github.com/gin-gonic/gin.(*RouterGroup).handle(0xc000276ea0, {0x10f4155, 0x3}, {0x1118236?, 0x1102db2?}, {0xc0000100e8, 0x1, 0x1?}) mngr-instance | /go/pkg/mod/github.com/gin-gonic/[email protected]/routergroup.go:75 +0x145 mngr-instance | github.com/gin-gonic/gin.(*RouterGroup).GET(...) mngr-instance | /go/pkg/mod/github.com/gin-gonic/[email protected]/routergroup.go:103 mngr-instance | mngr/api.RegisterRecordEndpoints(0xc000276ea0, 0x1a8fec0) mngr-instance | /app/api/record.go:38 +0x13d mngr-instance | main.main() mngr-instance | /app/main.go:124 +0x90d ffmpeg_service-instance | INFO:rq.worker:Worker rq:worker:406750da60b6479d93f68dcf8d51879e started with PID 39, version 1.16.2 ffmpeg_service-instance | INFO:rq.worker:Subscribing to channel rq:pubsub:406750da60b6479d93f68dcf8d51879e ffmpeg_service-instance | INFO:rq.worker:*** Listening on default... ffmpeg_service-instance | INFO:rq.worker:Cleaning registries for queue: default ffmpeg_service-instance | INFO:rq.worker:default: sustain.task_manager.__proxy_func(8) (9aa8e310-9994-45db-99d1-4e1051a80e01) ffmpeg_service-instance | WARNING:logger:IP match making is not enabled ffmpeg_service-instance | WARNING:logger:BlackScreenMonitor is not enabled

@Mohammad699
Copy link

version: '3'
services:
redis:
image: redis
container_name: redis-instance
restart: unless-stopped
ports:

  • '6379:6379'
    mongo:
    image: mongo:latest
    container_name: mongo-instance
    restart: unless-stopped
    ports:
  • '27017:27017'
    mngr:
    image: gokalpgoren/mngr:v1.0.3-amd64
    container_name: mngr-instance
    restart: unless-stopped
    network_mode: host
    depends_on:
  • redis
  • mongo
    environment:
  • TZ=Europe/Warsaw
  • REDIS_HOST=127.0.0.1
  • REDIS_PORT=6379
  • WEBSERVER_PORT=8072
  • MONGODB_CS=mongodb://localhost:27017
  • SENSE_AI_IMAGE=0
  • ROOT_DIR_PATHS=/records
  • SNAPSHOT_PROC_COUNT=4
    volumes:
  • /var/run/docker.sock:/var/run/docker.sock
  • /records:/records
    ffmpeg_service:
    image: gokalpgoren/ffmpeg_service:v1.0.3-amd64
    container_name: ffmpeg_service-instance
    restart: unless-stopped
    network_mode: host
    depends_on:
  • redis
  • mngr
    environment:
  • TZ=Europe/Warsaw
  • REDIS_HOST=127.0.0.1
  • REDIS_PORT=6379
    volumes:
  • /var/run/docker.sock:/var/run/docker.sock
  • /records:/records
    snapshot_service:
    image: gokalpgoren/snapshot_service:v1.0.3-amd64
    container_name: snapshot_service-instance
    restart: unless-stopped
    network_mode: host
    depends_on:
  • redis
  • ffmpeg_service
    environment:
  • TZ=Europe/Warsaw
  • REDIS_HOST=127.0.0.1
  • REDIS_PORT=6379
    senseai_service:
    image: gokalpgoren/senseai_service:v1.0.3-amd64
    container_name: senseai_service-instance
    restart: unless-stopped
    network_mode: host
    depends_on:
  • redis
  • ffmpeg_service
  • snapshot_service
  • smcp
    environment:
  • TZ=Europe/Warsaw
  • REDIS_HOST=127.0.0.1
  • REDIS_PORT=6379
    volumes:
  • /var/run/docker.sock:/var/run/docker.sock
  • /records:/records
    smcp:
    image: gokalpgoren/smcp:v1.0.3-amd64
    container_name: smcp-instance
    restart: unless-stopped
    network_mode: host
    depends_on:
  • redis
  • mongo
  • mngr
    environment:
  • TZ=Europe/Warsaw
  • REDIS_HOST=127.0.0.1
  • REDIS_PORT=6379
    volumes:
  • /records:/records
    webapp:
    image: gokalpgoren/webapp:v1.0.3-amd64
    container_name: webapp-instance
    restart: unless-stopped
    depends_on:
  • mngr
    environment:
  • TZ=Europe/Warsaw
  • REDIS_HOST=127.0.0.1
  • REDIS_PORT=6379
    ports:
  • '8080:80'

The problem is in this line
- /records:/records
Change it to - /myrecords:/myrecords or anything except records because it's used in a library in the project
This is why you get this conflict error.

mngr-instance              | panic: '/:id/:datestr/:hour' in new path '/records/:id/:datestr/:hour' conflicts with existing wildcard '/*filepath' in existing prefix '/records/*filepath'

@piotr-siedlak
Copy link
Author

piotr-siedlak commented Aug 26, 2024 via email

@Mohammad699
Copy link

Mohammad699 commented Aug 27, 2024

@piotr-siedlak you welcome.
Please close the issue. I don't have the privilege of closing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants