johnolafenwa / DeepStack

The World's Leading Cross Platform AI Engine for Edge Devices
Apache License 2.0
692 stars 108 forks source link

404 Error #113

Open truxntrax opened 3 years ago

truxntrax commented 3 years ago

Running deepstack on docker ubuntu 16.04. Here is my docker-compose.yml:

version: "3.9" services: deepstack: image: deepquestai/deepstack:latest restart: unless-stopped container_name: deepstack ports:

However when I access :9001 I get a 404 error. Also in the deepstack logs:

deepstack | [GIN] 2021/08/09 - 20:33:34 | 404 | 926ns | 192.168.1.18 | GET /

Any ideas what is going wrong?

Thanks

truxntrax commented 3 years ago

I have spun up the docker instance on both my Ubuntu 16.04 server and my ubuntu 18 laptop. Ubuntu laptop behaving as expected docker logs:

Attaching to deepstack deepstack | DeepStack: Version 2021.06.01 deepstack | /v1/vision/face deepstack | --------------------------------------- deepstack | /v1/vision/face/recognize deepstack | --------------------------------------- deepstack | /v1/vision/face/register deepstack | --------------------------------------- deepstack | /v1/vision/face/match deepstack | --------------------------------------- deepstack | /v1/vision/face/list deepstack | --------------------------------------- deepstack | /v1/vision/face/delete deepstack | --------------------------------------- deepstack | /v1/vision/detection deepstack | --------------------------------------- deepstack | --------------------------------------- deepstack | v1/backup d

As opposed to the ubuntu server which gives me the 404 response which shows this when starting up the docker container:

Recreating deepstack ... done Attaching to deepstack deepstack | Running /etc/my_init.d/00_regen_ssh_host_keys.sh... deepstack | Running /etc/my_init.d/10_syslog-ng.init... deepstack | Aug 9 21:00:14 813da0f68732 syslog-ng[10]: syslog-ng starting up; version='3.5.6' deepstack | Aug 9 21:00:15 813da0f68732 syslog-ng[10]: EOF on control channel, closing connection; deepstack | Running /etc/rc.local... deepstack | Booting runit daemon... deepstack | *** Runit started as PID 16 deepstack | Aug 9 21:00:15 813da0f68732 cron[23]: (CRON) INFO (pidfile fd = 3) deepstack | Aug 9 21:00:15 813da0f68732 cron[23]: (CRON) INFO (Running @reboot jobs)

The docker compose files are the same on both machines - can't work out why it's not behaving as expected on the ubuntu 16 server?