GHOUL
GHOUL
PPostiz
Created by Support on 10/23/2024 in #💭│community-support-tickets
Ticket: "Invalid DB credentials on new install"
Nope
18 replies
PPostiz
Created by Support on 10/23/2024 in #💭│community-support-tickets
Ticket: "Invalid DB credentials on new install"
No description
18 replies
PPostiz
Created by Support on 10/23/2024 in #💭│community-support-tickets
Ticket: "Invalid DB credentials on new install"
Some people often edit one occurrence and forget to edit the second one leading to errors
18 replies
PPostiz
Created by Support on 10/23/2024 in #💭│community-support-tickets
Ticket: "Invalid DB credentials on new install"
Yeah of course, You can change the ports, just that some ports are repeated twice in the .env file.
18 replies
PPostiz
Created by Support on 10/23/2024 in #💭│community-support-tickets
Ticket: "Invalid DB credentials on new install"
The relevant part of the .env file ^
18 replies
PPostiz
Created by Support on 10/23/2024 in #💭│community-support-tickets
Ticket: "Invalid DB credentials on new install"
Sure, here is my .env file that works- (for my Ubuntu atleast)
# You must change these. Replace `postiz.your-server.com` with your DNS name - what your web browser sees.
MAIN_URL: "http://localhost:5000"
FRONTEND_URL: "http://localhost:5000"
NEXT_PUBLIC_BACKEND_URL: "http://localhost:5000/api"
JWT_SECRET: "anystringhere"

# These defaults are probably fine, but if you change your user/password, update it in the
# postiz-postgres or postiz-redis services below.
DATABASE_URL: "postgresql://postiz-user:postiz-password@postiz-postgres:5432/postiz-db-local"
REDIS_URL: "redis://postiz-redis:6379"
BACKEND_INTERNAL_URL: "http://localhost:5000/api"
# You must change these. Replace `postiz.your-server.com` with your DNS name - what your web browser sees.
MAIN_URL: "http://localhost:5000"
FRONTEND_URL: "http://localhost:5000"
NEXT_PUBLIC_BACKEND_URL: "http://localhost:5000/api"
JWT_SECRET: "anystringhere"

# These defaults are probably fine, but if you change your user/password, update it in the
# postiz-postgres or postiz-redis services below.
DATABASE_URL: "postgresql://postiz-user:postiz-password@postiz-postgres:5432/postiz-db-local"
REDIS_URL: "redis://postiz-redis:6379"
BACKEND_INTERNAL_URL: "http://localhost:5000/api"
18 replies
PPostiz
Created by Support on 10/23/2024 in #💭│community-support-tickets
Ticket: "Invalid DB credentials on new install"
It should work without changing anything apart from the URLs ofc which I presume you've already did. To localhost or a server owned by you. Also I'm not a developer on the postiz team, just someone like you. Had the same issue as you when I changed the ports and thought I could help
18 replies
PPostiz
Created by Support on 10/23/2024 in #💭│community-support-tickets
Ticket: "Invalid DB credentials on new install"
Heya @heps , did you change the ports in the docker-compose.yml for postiz-redis and postiz-postgres by any chance
18 replies