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

empty /api/v1 - how to debug go:scanner-service #1

Open
cmuc24 opened this issue Jan 24, 2023 · 4 comments
Open

empty /api/v1 - how to debug go:scanner-service #1

cmuc24 opened this issue Jan 24, 2023 · 4 comments

Comments

@cmuc24
Copy link

cmuc24 commented Jan 24, 2023

hi there,
ive got everything to work except one thing, showing videos.

i tried several things

  • docker on linux, windows 10, wsl2 on w10
  • shared /video/ folder local, on network opened permissions
  • env urls (for the frontend) hostip, localhost, even 127.0.0.1

docker-compose.yml

  • eos-nginx: added volume ./nginxlogs:/var/log/nginx, found no relevant debug infos
  • eos-api: after start of all containers , set debug: true in data/config.yaml, found also no relevant debug infos (docker logs seems unchanged after restart)
  • eos-frontend:: IPs for environment URLs set to hostip, localhost, site loaded everytime, even with 127.0.0.1 ... ok, seems not the prob

any hint, where to GO ? Where is my fault?
Is there any GO debug special i've not discovered yet?

many thanks from bavaria
cmuc

@Zibbp
Copy link
Owner

Zibbp commented Jan 24, 2023

Hi,
This project is still a little rough around the edges. To start importing videos a POST request needs to be made to /api/v1/scanner/scan. This is the only way to start the scanner for now.

@janolehuebner
Copy link

@Zibbp would that be http://IP:4600/api/v1/scanner/scan ? i always get
{"message":"Not Found"}

@Zibbp
Copy link
Owner

Zibbp commented Aug 6, 2024

Try a POST to /api/v1/video/start_scanner

@janolehuebner
Copy link

still not found... i have the feeling i'm doing something wrong here... only thing that works is, that a GET to the root returns "EOS API%"

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

3 participants