Skip to content

First run "Incorrect credentials" despite NEXTAUTH_URL set #637

@h4knet

Description

@h4knet

BorgWarehouse version :
borgwarehouse/borgwarehouse
Installation type :

  • Docker

Describe the bug
First run "Incorrect credentials" with admin/admin despite NEXTAUTH_URL set as environnement variable.

To Reproduce
Steps to reproduce the behavior:

  1. Run the docker command: docker run --rm --name borgwarehouse -p 2222:22 -p 3000:3000 -u 0:0 -v ./borg-ssh:/home/borgwarehouse/.ssh -v ./borg-repo:/home/borgwarehouse/repos -v ./borg-logs:/home/borgwarehouse/logs -v ./borg-tmp:/home/borgwarehouse/tmp -e NEXTAUTH_URL=http://host.docker.internal:3000/ borgwarehouse/borgwarehouse
    Expected behavior
    Being able to login with admin/admin

Additional context
I've read the FAQ and set NEXTAUTH_URL accordingly but it still do not work.
I had to add -u 0:0 overwise I would get the error : chmod: changing permissions of '/home/borgwarehouse/.ssh': Operation not permitted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions