ViewTube / viewtube

▶️ ViewTube: The open source, privacy-conscious way to enjoy your favorite YouTube content. Docs: https://viewtube.wiki, Status: https://uptime.viewtube.io
https://viewtube.io
GNU Affero General Public License v3.0
1.31k stars 75 forks source link

search term empty #1446

Closed darkknight7777777 closed 1 year ago

darkknight7777777 commented 2 years ago

Describe the Bug

fresh docker install, all containers show ready for connection. navigate to URL and attempt a search and see error:

Search term is empty

Search term can't be empty

Steps to Reproduce the Bug

  1. Go to '...' homepage
  2. type anything in search
  3. . See the error ' upper right corner

Expected Behaviour

search results

Screenshot/Screen recording

image

Device Info

Additional Context

ETA: no errors shown on any of the containers.

using below compose

version: "3"

services:
  viewtube:
    container_name: viewtube
    restart: unless-stopped
    image: mauriceo/viewtube:0.9
    deploy:
      resources:
       limits:
#        cpus: '.25'
        memory: 350M

    depends_on:
      - viewtube-mongodb
      - viewtube-redis
    networks:
      - viewtube
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /etc/config/viewtube/data:/data
    environment:
      - VIEWTUBE_URL=http://192.168.0.250:8066
      - VIEWTUBE_REDIS_HOST=viewtube-redis
      - VIEWTUBE_REDIS_PORT=6379
#      - VIEWTUBE_REDIS_PASSWORD=empty
      - VIEWTUBE_DATA_DIRECTORY=/data
      - VIEWTUBE_CLUSTERED=false
      - VIEWTUBE_DATABASE_HOST=viewtube-mongodb
      - VIEWTUBE_DATABASE_PORT=27017
#      - VIEWTUBE_DATABASE_USER=viewtube
#      - VIEWTUBE_DATABASE_PASSWORD=empty
      - VIEWTUBE_ALLOWED_DOMAIN=http://192.168.0.*
      - VIEWTUBE_YOUTUBE_COOKIE=empty
      - VIEWTUBE_YOUTUBE_IDENTIFIER=empty
    ports:
      - 8066:8066

  viewtube-mongodb:
    container_name: viewtube-mongodb
    image: mongo:4.4
    networks:
      - viewtube
    restart: unless-stopped
#    environment:
#          - DATABASE_USER=viewtube
#          - VIEWTUBE_DATABASE_PASSWORD=empty
    volumes:
      - /etc/config/viewtube/data/db:/data/db

  viewtube-redis:
    container_name: viewtube-redis
    image: redis:6
    networks:
      - viewtube
    restart: unless-stopped
    volumes:
      - /etc/config/viewtube/data/redis:/data

  dozzle:
    container_name: dozzle
    image: amir20/dozzle:latest
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    ports:
      - 9999:8080
    restart: unless-stopped

networks:
  viewtube:
HJF9w commented 2 years ago

Any Updates on this? I am using the example docker-compose, and am seeing the exact same problem. If you need any details, I'd be happy to help!

It also seems to happen on dev, and not just latest.

moisout commented 1 year ago

Please try the latest release (0.10.0) and follow the instructions on https://viewtube.wiki. If it's still not working, please open a new issue.