Yooooomi / your_spotify

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

Import seems to fail #239

Closed rondDev closed 1 year ago

rondDev commented 1 year ago

Describe the bug

I am not aware if this is a bug or not, but it does seem like unwanted behavior. It seems as if I can't recover from it on my own.

I am faced with "Failed and cleaned", but I can't seem to figure out how to recover from it.

Expected behavior

Import isn't supposed to fail, but it did. Another user had a successful import right after mine failed.

Additional context

version: "3"

services:
  server:
    image: yooooomi/your_spotify_server
    restart: always
    ports:
      - "8181:8080"
    links:
      - mongo
    depends_on:
      - mongo
    environment:
      API_ENDPOINT: https://redacted# This MUST be included as a valid URL in the spotify dashboard (see below)
      CLIENT_ENDPOINT: https://redacted
      SPOTIFY_PUBLIC: dd5f7ae532e44e9885f93953093628e4
      SPOTIFY_SECRET: 8b8bb4b7c1fb4b99b1af0473d73e8d49
      CORS: all
  mongo:
    container_name: mongo
    image: mongo:4.4.18
    volumes:
      - /var/lib/docker/volumes/yourspot/_data:/data/db

  web:
    image: yooooomi/your_spotify_client
    restart: always
    ports:
      - "8282:3000"
    environment:
      API_ENDPOINT: https://redacted 

All logs

Screenshots

Yooooomi commented 1 year ago

Hello! Cleaned import means it deleted the input file. Weird thing it that it only deletes if you tell it to do so. You'll have to start it again from scratch but don't worry duplicates are handled.

rondDev commented 1 year ago

The problem is it doesn't want to import because it believes an import is already underway

Yooooomi commented 1 year ago

You can just restart the server and this should be gone

rondDev commented 1 year ago

Thanks, that solved my issue.