-
Notifications
You must be signed in to change notification settings - Fork 51
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
Comments
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.
|
Please post your docker compose file |
Mngr logs and your docker compose file |
@piotr-siedlak did you solve it? |
Not yet. Today I’m out of home so I will send logs tomorrow Wysłane z iPhone'aWiadomość napisana przez Mohammad ***@***.***> w dniu 24.08.2024, o godz. 16:06:
@piotr-siedlak did you solve it?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|

Pozdrawiam,
--
Piotr Siedlak
Mob: +48 666 633 383
***@***.***
… Wiadomość napisana przez Piotr Siedlak ***@***.***> w dniu 24.08.2024, o godz. 16:10:
Not yet. Today I’m out of home so I will send logs tomorrow
Wysłane z iPhone'a
> Wiadomość napisana przez Mohammad ***@***.***> w dniu 24.08.2024, o godz. 16:06:
>
>
>
> @piotr-siedlak <https://github.com/piotr-siedlak> did you solve it?
>
> —
> Reply to this email directly, view it on GitHub <#42 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AKA3VJR3HHSBU5VYFO3USO3ZTCHNDAVCNFSM6AAAAABM7UTCIKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBYGQYDMNBVGM>.
> You are receiving this because you were mentioned.
>
|
|
|
The problem is in this line
|
Looks fine now, thanks.
… On 26 Aug 2024, at 17:16, Mohammad ***@***.***> wrote:
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'
—
Reply to this email directly, view it on GitHub <#42 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AKA3VJSUBPO5XS3RUVACUJDZTNBEFAVCNFSM6AAAAABM7UTCIKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJQGQ3DENRTG4>.
You are receiving this because you were mentioned.
|
@piotr-siedlak you welcome. |
Hi,
I can't login to app and in logs I see some error:
The text was updated successfully, but these errors were encountered: