DVinyl icon indicating copy to clipboard operation
DVinyl copied to clipboard

Unable to connect

Open houdini69 opened this issue 10 months ago • 26 comments

Installed last version successfully but after first login (installation) I'm unable to connect to DVinyl: just the login screen again without warning.

houdini69 avatar Jan 30 '26 22:01 houdini69

Sorry to hear that... Do you have access to the road /setup?

Kyonew avatar Jan 30 '26 22:01 Kyonew

No, I don't

Image

houdini69 avatar Jan 30 '26 22:01 houdini69

Mmh... can you try to down your docker with the -v option? Then remove the mongo_data folder with sudo rm -rf ./mongo_data. Finally, re build the docker :D

Kyonew avatar Jan 30 '26 22:01 Kyonew

After rebuild, I got the same page.

houdini69 avatar Jan 30 '26 23:01 houdini69

Sorry, after first connection I got the setup page but then login page.

houdini69 avatar Jan 30 '26 23:01 houdini69

Yes that is normal. When you setup the app, you create your account (mail address and password). Use this to login !

Kyonew avatar Jan 30 '26 23:01 Kyonew

Indeed :) But at this stage with mail address and password I used previously I get the Welcome Back page :(

houdini69 avatar Jan 30 '26 23:01 houdini69

That is very strange... I will take a closer look at that

Kyonew avatar Jan 30 '26 23:01 Kyonew

Hi! I just updated a small detail that might fix the problem. Could you try again and let me know? That would be a big help.

Kyonew avatar Jan 31 '26 01:01 Kyonew

same think happening to my setup, i create new user, after i try to login it goes to the same login page.

kidstretch avatar Jan 31 '26 09:01 kidstretch

Update through git but same result :(

houdini69 avatar Jan 31 '26 10:01 houdini69

Okay, I'll try to find a solution as quickly as possible. How do you access the application? Via localhost or via your machine's IP address?

Kyonew avatar Jan 31 '26 11:01 Kyonew

Okay, I'll try to find a solution as quickly as possible. How do you access the application? Via localhost or via your machine's IP address?

I tried through my local ip

kidstretch avatar Jan 31 '26 11:01 kidstretch

okay ty. I'm pretty sure this is a session problem.. I hope to find a concrete solution and deploy a fix within the day

Kyonew avatar Jan 31 '26 11:01 Kyonew

Thanks, tried other browsers, also incognito mode, same results.

kidstretch avatar Jan 31 '26 11:01 kidstretch

I created a clean VM and cloned the project. It works via localhost and the VM's local IP address... On what OS is your machine running? What commands did you use? I'm really trying to understand why this problem is happening for most of you.

Kyonew avatar Jan 31 '26 11:01 Kyonew

i also have the same problem. deployed on a proxmox VM, connecting via local IP address, i get the enrollment page and insert all info (name, mail, pw) then when i try to login at http://192.168.xx.xx:3099/login i get continuously redirected on the same login page. tried with Edge, Chrome and incognito mode. my compose deployed

services:
  dvinyl-app:
    build:
      context: https://github.com/Kyonew/DVinyl.git
      dockerfile: Dockerfile
    container_name: dvinyl_app
    restart: unless-stopped
    ports:
      - "3099:3099" # External port : Internal port
    volumes:
      - */docker/dvinyl/uploads:/app/public/uploads
    env_file:
        - compose.env
    depends_on:
      - mongodb

  # Database service
  mongodb:
    image: mongo:latest
    container_name: dvinyl_db
    restart: unless-stopped
    volumes:
      - */docker/dvinyl/mongo_data:/data/db 

volumes:
  mongo_data:

bido1990 avatar Jan 31 '26 13:01 bido1990

Sorry for that... Can you show me your compose.env please? Make sure to hide any API Keys

Kyonew avatar Jan 31 '26 13:01 Kyonew

Hey! Can you check my reply here and tell me if the problem persist ?

Kyonew avatar Jan 31 '26 14:01 Kyonew

this is the .env

MONGDODB_URL=mongodb://mongodb:27017/dvinyl # MongoDB connection URL (you can change if needed)

PASSJWT=${DVINYL_JWT_SECRET}
SESSION_SECRET=${DVINYL_SESSION_SECRET}

PROD=true # Change to true in production

# DVinyl
VINYL_PORT=3099 # Port for the DVinyl service
DISCOGS_TOKEN=${DVINYL_DISCOGS_API}
GOOGLE_API_KEY==${DVINYL_GOOGLE_API}
GOOGLE_CSE_ID==${DVINYL_CSE_API}

there are no errors in the log for the env not loaded. if i try to access http://192.168.xx.xx:3099/setup i still get redirected to the login page

bido1990 avatar Jan 31 '26 14:01 bido1990