Ticket: Issue Creating Account on Local Installation

@Drew Just created a ticket
Question: Can’t create account on local installation
Attempted: Installed per directions using docker compose. Changed main_url, frontend_url and next_public_backend_url to http://localhost:5000 (with /api for the last one appended).
Working On: Just trying to demo it
Using Postiz On: Docker compose. It comes up fine. When I try to create an account i get “General error: TypeError: NetworkError when attempting to fetch resource.. Please check your browser console.” The docker conpose screen keeps repeating this wrror tge wbtire thne its running: “Error: connect ECONNREFUSED 127.0.0.1:6379 postiz | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1607:16) { postiz | errno: -111, postiz | code: 'ECONNREFUSED', postiz | syscall: 'connect', postiz | address: '127.0.0.1', postiz | port: 6379 postiz | }”
Take it from here @Postiz
7 Replies
Drew
Drew5d ago
The last error keeps repeating after I run with docker compose up*
Ketseum
Ketseum4d ago
Can you share your docker-compose @Drew ?
m4rk
m4rk4d ago
@Drew by any chance , do you know if port 6379 is being used by your machine ?? Can you give a bit more information on how are you running this postiz install ? Have you tried to run a virtual machine or other machine that has everything new from scratch ?
Drew
Drew4d ago
Here's the yml.
Drew
Drew4d ago
lsof and netstat show that 6379 is not being used either before launching the docker compose or after. I'm not sure what more info to give on the install; Fresh Ubuntu 22.04. I just configured docker-compose.yml to use localhost, and then docker compose up.
m4rk
m4rk4d ago
hmm I think you should remove the :5000 on this lines MAIN_URL: "http://localhost:5000" FRONTEND_URL: "http://localhost:5000" NEXT_PUBLIC_BACKEND_URL: "http://localhost:5000/api" and maybe even change the url to 127.0.0.1
m4rk
m4rk4d ago
HowTo Self Host Postiz on Ubuntu (on Proxmox VE)
This blog is about security and computing related topics with occassional hobby activities thrown in.

Did you find this page helpful?