Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No setup page, no default user and register button does nothing #151

Open
Unrepentant-Atheist opened this issue Mar 28, 2022 · 8 comments
Open

Comments

@Unrepentant-Atheist
Copy link

Describe the bug
Following git clone https://github.com/JordanKnott/taskcafe && cd taskcafe and then docker-compose -p taskcafe up -d the container starts successfully, but there is no default user, register button does nothing and there is no setup page. The whole thing is ready to go.

Expected behavior
To be able to have a default user, or at the very least a setup page where I can create the default user.

Screenshots / Live demo link
image

@Unrepentant-Atheist Unrepentant-Atheist changed the title No default user and register button does nothing. No setup page, no default user and register button does nothing Mar 28, 2022
@Unrepentant-Atheist
Copy link
Author

Anybody??

@chris-ti-an-g
Copy link

did you try this?
#141 (comment)

@kenbai
Copy link

kenbai commented Apr 22, 2022

same to me

@Ioridy
Copy link

Ioridy commented May 11, 2022

did you try this? #141 (comment)

thank you for your information, this can direct to register page and create a new account.

@boomam
Copy link

boomam commented Jul 17, 2022

Same for me too, same workaround of going to /register.

@mbetrifork
Copy link

+1 here. Does not work out of the box, stuck at the login/register screen.

@Polluxe
Copy link

Polluxe commented Sep 18, 2023

version: "3"
services:
  web:
    image: taskcafe/taskcafe:latest
    # build: .
    ports:
      - "3333:3333"
    depends_on:
      - postgres
    networks:
      - taskcafe-test
    environment:
      TASKCAFE_DATABASE_HOST: postgres
      TASKCAFE_MIGRATE: "true"
    volumes:
      - taskcafe-uploads:/root/uploads
      
  postgres:
    image: postgres:12.3-alpine
    restart: always
    networks:
      - taskcafe-test
    environment:
      POSTGRES_USER: taskcafe
      POSTGRES_PASSWORD: taskcafe_test
      POSTGRES_DB: taskcafe
    volumes:
      - taskcafe-postgres:/var/lib/postgresql/data

  migrate:
    build: .
    entrypoint: ./taskcafe migrate
    volumes:
      - ./migrations:/root/migrations
    depends_on:
      - postgres
    networks:
      - taskcafe-test

volumes:
  taskcafe-postgres:
    external: false
  taskcafe-uploads:
    external: false

networks:
  taskcafe-test:
    driver: bridge

i change docker-compose.yml to this, and work , then i regist

@ibardarov-fms
Copy link

expose the postgres from the compose to localhost like that

  postgres:
    image: postgres:12.3-alpine
    restart: always
    networks:
      - taskcafe-test
    ports:
      - "5432:5432"
    environment:
      POSTGRES_USER: taskcafe
      POSTGRES_PASSWORD: taskcafe_test
      POSTGRES_DB: taskcafe
    volumes:
      - taskcafe-postgres:/var/lib/postgresql/data

Then connect to posgres

psql -h 127.0.0.1 -U taskcafe  taskcafe

and change the password for the default 'system' user to be 'system' like that

update user_account set password_hash='$2a$14$H9eK2TnWwyS9WEjGN9RN3.cmKv6jy6fRadQNnLRw8Fm4n7psAeoMy';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants