Yooooomi / your_spotify

Self hosted Spotify tracking dashboard
GNU General Public License v3.0
3.02k stars 122 forks source link

Server Crash: Error grabbing logs #326

Closed NeoHBz closed 9 months ago

NeoHBz commented 9 months ago

Describe the bug

I rebooted my VM instance and restarted the docker apps. This resulted in:

error from daemon in stream: Error grabbing logs: invalid character 'l' after object key:value pair
Screenshot 2023-12-21 at 10 35 57 PM

docker-compose.yml

version: "3"

services:
  server:
    image: yooooomi/your_spotify_server
    restart: always
    ports:
      - "8080:8080"
    links:
      - mongo
    depends_on:
      - mongo
    environment:
      - API_ENDPOINT=https://spotifyserver.mywebsite.com
      - CLIENT_ENDPOINT=https://spotify.mywebsite.com
      - SPOTIFY_PUBLIC=PUBLIC
      - SPOTIFY_SECRET=SECRET
      - TIMEZONE=Asia/Kolkata
  mongo:
    container_name: mongo
    image: mongo:6.0
    volumes:
      - ./your_spotify_db:/data/db

  web:
    image: yooooomi/your_spotify_client
    restart: always
    ports:
      - "3000:3000"
    environment:
      - API_ENDPOINT=https://spotifyserver.mywebsite.com
NeoHBz commented 9 months ago

Edit: I feel dumb now but deleting the docker images and pulling it back to spin it again fixed this.