postiz-standalone

Description: One Click deployment of Popular Open Source Social media scheduling tool.

Category: Other

URL: https://railway.com/template/Rd76MM

28 Replies

baswouelle
HOBBY

7 months ago

The deploy was a sucess! but I can't create a user


baswouelle

The deploy was a sucess! but I can't create a user

Sorry for that @baswouelle. Remove the Environmental variable PORT= 5000 and deploy it again.. Also you need to map it manually once deployed . Refer the doc attached

Attachments


baswouelle
HOBBY

7 months ago

@tamilarasi-tech thank you for you quick answer ! the doc you attached is empty ?


baswouelle

@tamilarasi-tech thank you for you quick answer ! the doc you attached is empty ?

I'm able to see the content in file.. Pasted here for your reference.


baswouelle
HOBBY

7 months ago

perfect ! this is done

sorry to bother you but I still have an error while trying to create an account

Attachments


baswouelle
HOBBY

7 months ago

so I've redeployed just in case and the error changed

Attachments


@baswouelle, Just delete the networking url of postiz and make sure that 4200,3000,5000 ports are correctly displaying and then create the new custom url with port mapped to 5000. Please do deploy since build variable need to map it again for frontend and backend with the newly created url. Hope this will work

I'm suspecting either Backend is not up or frontend networking url is wrongly mapped in your case


baswouelle
HOBBY

7 months ago

i've just deleted everything a created a new build and it's working. Thank you so much


tamilarasi-tech

@baswouelle, Just delete the networking url of postiz and make sure that 4200,3000,5000 ports are correctly displaying and then create the new custom url with port mapped to 5000. Please do deploy since build variable need to map it again for frontend and backend with the newly created url. Hope this will workI'm suspecting either Backend is not up or frontend networking url is wrongly mapped in your case

jay13238
PRO

5 months ago

Hi I amm getting the same error as @baswouelle was getting, I am just usure what you mean by "Just delete the networking url of postiz" clarification would be greatly appreciated


jay13238

Hi I amm getting the same error as @baswouelle was getting, I am just usure what you mean by "Just delete the networking url of postiz" clarification would be greatly appreciated

candide
HOBBY

4 months ago

I think they meant deleting this thing here, under the Docker deploy Settings > Public Networking:

I just did a fresh deploy of this template, and there was no existing public network URL to delete. I just needed to generate a new one (as pictured above).

Afterwards, I redeployed:

So far, so good!


candide
HOBBY

4 months ago

This deployment is running an old docker image... Any chance it could be updated with the official one? : https://github.com/gitroomhq/postiz-app/pkgs/container/postiz-app

I tested it on my end, and the only change I had to do was add an env variable set to PORT=3000


Updated the template to the current original image version and Thanks @candide for your input.


devalcodes
HOBBY

2 months ago

Can anyone tell me how can I edit the .env files as I got to add social accounts to the app


devalcodes

Can anyone tell me how can I edit the .env files as I got to add social accounts to the app

candide
HOBBY

2 months ago

Go to your project.

Click on the Docker service.

There should be a tab called "Variables". Go to that and add your variables.


candide

Go to your project.Click on the Docker service.There should be a tab called "Variables". Go to that and add your variables.

Thanks @candide.. attached the screen for quick reference for the benifits of all.

Attachments


Anonymous
HOBBY

2 months ago

I tried deploying and i end up getting a screen that says app is running!Pls help.

When i expose it to port 5000 it get this error when i try to register my account

<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.24.0</center> </body> </html> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page -->


I tried deploying and i end up getting a screen that says app is running!Pls help.When i expose it to port 5000 it get this error when i try to register my account<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.24.0</center> </body> </html> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page -->

candide
HOBBY

2 months ago

Can you share a screenshot? I think what you posted got redacted


candide

Can you share a screenshot? I think what you posted got redacted

Anonymous
HOBBY

2 months ago

Sure, I've tried both ports 3000 and 5000.


Anonymous
HOBBY

2 months ago

Port 3000 gives me this error

Attachments


Port 3000 gives me this error

candide
HOBBY

2 months ago


candide

Try following these steps: https://github.com/gitroomhq/postiz-app/issues/632#issuecomment-2948213688

Anonymous
HOBBY

2 months ago

Damn! Its working. Thanksss a ton!!!!! If i need to add my domain do i have to use 5000 or 3000 port
Quick question whenever i add any social media accounts into the ev, i'll have to redeploy it right?


speechless2
PRO

4 days ago

Hey guys i'm following up here. i've been able to install it successfully on railways and come to the dashboard, but when i try to login to instagram standalone i get redirect to instagram page with my app-id (the loggedIn account)
But then when i'm redirected back to my website i got a 502 to /connect and a message " cannot connect to your account"


Damn! Its working. Thanksss a ton!!!!! If i need to add my domain do i have to use 5000 or 3000 portQuick question whenever i add any social media accounts into the ev, i'll have to redeploy it right?

candide
HOBBY

a day ago

Sorry I missed this! Not sure about the first question, but for the social media account in env: yes, a redeploy is required.


speechless2

Hey guys i'm following up here. i've been able to install it successfully on railways and come to the dashboard, but when i try to login to instagram standalone i get redirect to instagram page with my app-id (the loggedIn account) But then when i'm redirected back to my website i got a 502 to /connect and a message " cannot connect to your account"

candide
HOBBY

a day ago

How far how have you gotten, per the docs? Which connection method are you using (Facebook Business or through a standalone flow)?


candide

How far how have you gotten, per the docs? Which connection method are you using (Facebook Business or through a standalone flow)?

speechless2
PRO

a day ago

So i did follow the doc indeed, i'm trying to connect through Instagram standalone, but it's actually the same result for every social media ( also tried tiktok ) however i'm able to login / register on the online platform

I have also confirmed this:

1) The exact redirect_uri configured in Meta is the same as my FRONTEND_URL
2) The INSTAGRAM_APP_ID/SECRET are both valid ( it does go to instagram tab with the right account)

also if needed i have added screenshot in this github post: https://github.com/gitroomhq/postiz-app/issues/632#issuecomment-2948213688


speechless2

So i did follow the doc indeed, i'm trying to connect through Instagram standalone, but it's actually the same result for every social media ( also tried tiktok ) however i'm able to login / register on the online platformI have also confirmed this:1) The exact redirect_uri configured in Meta is the same as my FRONTEND_URL 2) The INSTAGRAM_APP_ID/SECRET are both valid ( it does go to instagram tab with the right account) also if needed i have added screenshot in this github post: https://github.com/gitroomhq/postiz-app/issues/632#issuecomment-2948213688

candide
HOBBY

a day ago

Can you check the logs for your current Docker image deployment to see what kinds of error messages you're getting there when you try to add your channels?


candide

Can you check the logs for your current Docker image deployment to see what kinds of error messages you're getting there when you try to add your channels?

speechless2
PRO

a day ago

Sadly it doesn't show any logs

1|backend | [Nest] 936 - 10/02/2025, 7:19:25 PM LOG [NestApplication] Nest application successfully started +279ms

1|backend | [Nest] 936 - 10/02/2025, 7:19:25 PM LOG Configuration check completed without any issues.

1|backend | [Nest] 936 - 10/02/2025, 7:19:25 PM LOG Backend is running on: http://localhost:3000

POST /api/integrations/social/instagram-standalone/connect

Status: 502

Duration: 523 ms

GET /api/signatures/default

Status: 502

Duration: 1 ms

GET /no-channels.svg

Status: 304

Duration: 2 ms

POST /api/copilot/chat (NO API KEY SET THERE )

Status: 502

Duration: 523 ms


speechless2

Sadly it doesn't show any logs1|backend | [Nest] 936 - 10/02/2025, 7:19:25 PM LOG [NestApplication] Nest application successfully started +279ms1|backend | [Nest] 936 - 10/02/2025, 7:19:25 PM LOG Configuration check completed without any issues.1|backend | [Nest] 936 - 10/02/2025, 7:19:25 PM LOG Backend is running on: http://localhost:3000POST /api/integrations/social/instagram-standalone/connectStatus: 502Duration: 523 msGET /api/signatures/defaultStatus: 502Duration: 1 msGET /no-channels.svgStatus: 304Duration: 2 msPOST /api/copilot/chat (NO API KEY SET THERE )Status: 502Duration: 523 ms

candide
HOBBY

9 hours ago

Yeah, I'm at a loss, sorry... I would recommend creating a brand-new issue in the GitHub repo and sharing all the details you've shared here, logs and all. That would be your best bet in terms of getting feedback from the actual dev.

I've been running into login issues with my Railway deploy, and switching browsers (from Firefox to Chromium) was the only thing that helped... Hopefully, the issues will get resolved in the next releases.