pannal / Kitana

A responsive Plex plugin web frontend
Other
496 stars 25 forks source link

ERROR: Named volume "home/kevin/appdata/kitana:/app/data:rw" is used in service "kitana" but no declaration was found in the volumes section. #38

Closed kevindd992002 closed 4 years ago

kevindd992002 commented 4 years ago

Here's the contents of my docker-compose.yml file but it is not working when I do a docker-compose up -d

  kitana:
    image: pannal/kitana:latest
    container_name: kitana
    volumes:
     - home/kevin/appdata/kitana:/app/data
    ports:
      - "31337:31337"
    dns:
      - 192.168.20.100
    restart: unless-stopped
    environment:
      - PUID=${PUID}
      - PGID=${PGID}
      - TZ=Asia/Manila

ERROR: Named volume "home/kevin/appdata/kitana:/app/data:rw" is used in service "kitana" but no declaration was found in the volumes section.

I have several docker containers with the same structure in the same docker-compose.yml running without issues. What could cause this?

pannal commented 4 years ago

Did you ever try to install Kitana before?

kevindd992002 commented 4 years ago

Nope, this is the first time I'm trying to install it. I saw that you have a docker container for it so I went for it.

pannal commented 4 years ago

I remember using another program for this or something. smells like it.

pannal commented 4 years ago

If not, this seems like a user error, nothing Kitana is related to.

kevindd992002 commented 4 years ago

I remember using another program for this or something. smells like it.

When I said that, I was referring to remembering about reading about Kitana in the past. But I did not know how to use docker back then. But now that I 100% use docker for everything, it was easier for me to use it.

pannal commented 4 years ago

The config you posted above has an indentation error. Also, maybe this might help? https://github.com/ClusterHQ/dvol/issues/67

kevindd992002 commented 4 years ago

Nevermind, it worked now. I don't know exactly why but I rewrote everything in the docker-compose.yml file and it worked. It's probably the spacing again.