P
Postiz•2mo ago
Support

Ticket: User Already Exists Error Logging In via NPM with HTTPS

@ukro Just created a ticket
Question: Can't login. It is saying that user already exists. I have it behind NPM with HTTPS
Attempted: Everything even chatgpt
Working On: PVE PCT docker compose
Using Postiz On: docker compose
Take it from here @Postiz
7 Replies
ukro
ukro•2mo ago
services:
postiz:
image: ghcr.io/gitroomhq/postiz-app:latest
container_name: postiz
restart: unless-stopped
environment:
EMAIL_PROVIDER: nodemailer
EMAIL_HOST: 192.168.1.7
EMAIL_PORT: "25"
EMAIL_SECURE: "false"
EMAIL_USER: {CENSORED}
EMAIL_PASS: {CENSORED}
EMAIL_FROM_NAME: Postiz Email
EMAIL_FROM_ADDRESS: {CENSORED}
#POSTIZ_DEFAULT_USER_EMAIL: [email protected]
#POSTIZ_DEFAULT_USER_PASSWORD: asdfasdf
MAIN_URL: https://postiz.{CENSORED}.duckdns.org
FRONTEND_URL: https://postiz.{CENSORED}.duckdns.org
NEXT_PUBLIC_BACKEND_URL: https://postiz.{CENSORED}.duckdns.org/api
JWT_SECRET: {CENSORED}
DATABASE_URL: postgresql://postiz-user:postiz-password@postiz-postgres:5432/postiz-db-local
REDIS_URL: redis://postiz-redis:6379
BACKEND_INTERNAL_URL: http://localhost:3000
IS_GENERAL: "true"
STORAGE_PROVIDER: local
UPLOAD_DIRECTORY: /uploads
NEXT_PUBLIC_UPLOAD_DIRECTORY: /uploads
volumes:
- /mnt/postiz/config:/config/
- /mnt/postiz/uploads:/uploads/
ports:
- 5005:5000
networks:
- skynet
depends_on:
postiz-postgres:
condition: service_healthy
postiz-redis:
condition: service_healthy
postiz-postgres:
image: postgres:17-alpine
container_name: postiz-postgres
restart: unless-stopped
environment:
POSTGRES_PASSWORD: postiz-password
POSTGRES_USER: postiz-user
POSTGRES_DB: postiz-db-local
volumes:
- /mnt/postiz/postgres:/var/lib/postgresql/data
networks:
- skynet
healthcheck:
test: pg_isready -U postiz-user -d postiz-db-local
interval: 10s
timeout: 3s
retries: 3
services:
postiz:
image: ghcr.io/gitroomhq/postiz-app:latest
container_name: postiz
restart: unless-stopped
environment:
EMAIL_PROVIDER: nodemailer
EMAIL_HOST: 192.168.1.7
EMAIL_PORT: "25"
EMAIL_SECURE: "false"
EMAIL_USER: {CENSORED}
EMAIL_PASS: {CENSORED}
EMAIL_FROM_NAME: Postiz Email
EMAIL_FROM_ADDRESS: {CENSORED}
#POSTIZ_DEFAULT_USER_EMAIL: [email protected]
#POSTIZ_DEFAULT_USER_PASSWORD: asdfasdf
MAIN_URL: https://postiz.{CENSORED}.duckdns.org
FRONTEND_URL: https://postiz.{CENSORED}.duckdns.org
NEXT_PUBLIC_BACKEND_URL: https://postiz.{CENSORED}.duckdns.org/api
JWT_SECRET: {CENSORED}
DATABASE_URL: postgresql://postiz-user:postiz-password@postiz-postgres:5432/postiz-db-local
REDIS_URL: redis://postiz-redis:6379
BACKEND_INTERNAL_URL: http://localhost:3000
IS_GENERAL: "true"
STORAGE_PROVIDER: local
UPLOAD_DIRECTORY: /uploads
NEXT_PUBLIC_UPLOAD_DIRECTORY: /uploads
volumes:
- /mnt/postiz/config:/config/
- /mnt/postiz/uploads:/uploads/
ports:
- 5005:5000
networks:
- skynet
depends_on:
postiz-postgres:
condition: service_healthy
postiz-redis:
condition: service_healthy
postiz-postgres:
image: postgres:17-alpine
container_name: postiz-postgres
restart: unless-stopped
environment:
POSTGRES_PASSWORD: postiz-password
POSTGRES_USER: postiz-user
POSTGRES_DB: postiz-db-local
volumes:
- /mnt/postiz/postgres:/var/lib/postgresql/data
networks:
- skynet
healthcheck:
test: pg_isready -U postiz-user -d postiz-db-local
interval: 10s
timeout: 3s
retries: 3
postiz-redis:
image: redis:7.2
container_name: postiz-redis
restart: unless-stopped
healthcheck:
test: redis-cli ping
interval: 10s
timeout: 3s
retries: 3
volumes:
- /mnt/postiz/redis:/data
networks:
- skynet
networks:
skynet:
postiz-redis:
image: redis:7.2
container_name: postiz-redis
restart: unless-stopped
healthcheck:
test: redis-cli ping
interval: 10s
timeout: 3s
retries: 3
volumes:
- /mnt/postiz/redis:/data
networks:
- skynet
networks:
skynet:
sign up -> Email already exists login -> nothing restore password -> email was sent. but in mail server nothing also nothing=nothing in docker logs i need postiz soooo very much 😭 okay that's new, on sign in i have this in console when i click sign in:
layout-f5e908513bc161c6.js:1 POST https://postiz.{CENSORED}.duckdns.org/api/auth/login 400
(anonymous) @ layout-f5e908513bc161c6.js:1
await in (anonymous) (async)
f @ page-69f8273b166835f4.js:1
(anonymous) @ 6049-39983686ecc04505.js:1
await in (anonymous) (async)
a_ @ 1dd3208c-91fd40c5ceb1b0ca.js:1
aR @ 1dd3208c-91fd40c5ceb1b0ca.js:1
(anonymous) @ 1dd3208c-91fd40c5ceb1b0ca.js:1
sF @ 1dd3208c-91fd40c5ceb1b0ca.js:1
sM @ 1dd3208c-91fd40c5ceb1b0ca.js:1
(anonymous) @ 1dd3208c-91fd40c5ceb1b0ca.js:1
o4 @ 1dd3208c-91fd40c5ceb1b0ca.js:1
iV @ 1dd3208c-91fd40c5ceb1b0ca.js:1
sU @ 1dd3208c-91fd40c5ceb1b0ca.js:1
uR @ 1dd3208c-91fd40c5ceb1b0ca.js:1
uM @ 1dd3208c-91fd40c5ceb1b0ca.js:1
layout-f5e908513bc161c6.js:1 POST https://postiz.{CENSORED}.duckdns.org/api/auth/login 400
(anonymous) @ layout-f5e908513bc161c6.js:1
await in (anonymous) (async)
f @ page-69f8273b166835f4.js:1
(anonymous) @ 6049-39983686ecc04505.js:1
await in (anonymous) (async)
a_ @ 1dd3208c-91fd40c5ceb1b0ca.js:1
aR @ 1dd3208c-91fd40c5ceb1b0ca.js:1
(anonymous) @ 1dd3208c-91fd40c5ceb1b0ca.js:1
sF @ 1dd3208c-91fd40c5ceb1b0ca.js:1
sM @ 1dd3208c-91fd40c5ceb1b0ca.js:1
(anonymous) @ 1dd3208c-91fd40c5ceb1b0ca.js:1
o4 @ 1dd3208c-91fd40c5ceb1b0ca.js:1
iV @ 1dd3208c-91fd40c5ceb1b0ca.js:1
sU @ 1dd3208c-91fd40c5ceb1b0ca.js:1
uR @ 1dd3208c-91fd40c5ceb1b0ca.js:1
uM @ 1dd3208c-91fd40c5ceb1b0ca.js:1
so it's 400? but why the hell
egelhaus
egelhaus•2mo ago
Hmm, thats weird Can you try with a different E-Mail?
ukro
ukro•2mo ago
any email on signup same result. email aready exists when login it says: user is not activated, but 400 in chrome console
ukro
ukro•2mo ago
docker log
ukro
ukro•2mo ago
FYI from what i can see no files are created in config and uploads folders, all other have created files/folders when i run the stack
Support
SupportOP•2mo ago
@Postiz please help @ukro
ukro
ukro•2w ago
:-X

Did you find this page helpful?