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
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
The last error keeps repeating after I run with docker compose up*
Can you share your docker-compose @Drew ?
@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 ?
Here's the yml.
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.
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
also you might try to follow this manual :
https://www.alanbonnici.com/2024/12/howto-self-host-postiz-on-ubuntu-on.html
HowTo Self Host Postiz on Ubuntu (on Proxmox VE)
This blog is about security and computing related topics with occassional hobby activities thrown in.