Peter
Peter
PPostiz
Created by Support on 10/31/2024 in #💭│support-tickets
Ticket: Facebook App-ID Error During Instagram Channel Setup
Got it to work! Seems you have to setup FACEBOOK_APP_ID/SECRET in Docker environment. INSTAGRAM_APP_ID/SECRET are not used. Quotes/doublequotes are not required for it to work btw. But it works now! Thanks for the help!
33 replies
PPostiz
Created by Support on 10/31/2024 in #💭│support-tickets
Ticket: Facebook App-ID Error During Instagram Channel Setup
Is there a way to see which config values are loaded and being used?
33 replies
PPostiz
Created by Support on 10/31/2024 in #💭│support-tickets
Ticket: Facebook App-ID Error During Instagram Channel Setup
So I started with a completely clean slate. Removed everything and have only Instagram APPID and SECRET in the docker-compose file. But still same result. Am I missing a config somewhere?
33 replies
PPostiz
Created by Support on 10/31/2024 in #💭│support-tickets
Ticket: Facebook App-ID Error During Instagram Channel Setup
Yeah, still have the undefined as clientId.. So Facebook gives the error that the app doesn't exist, which makes sense
33 replies
PPostiz
Created by Support on 10/31/2024 in #💭│support-tickets
Ticket: Facebook App-ID Error During Instagram Channel Setup
That's what I'm trying to find, the container logs just tells me everything is happy:
2024-11-05T07:49:25.721383727Z [Nest] 176 - 11/05/2024, 7:49:25 AM LOG Configuration check completed without any issues.
2024-11-05T07:49:25.721453739Z [Nest] 176 - 11/05/2024, 7:49:25 AM LOG 🚀 Backend is running on: http://localhost:3000
2024-11-05T07:49:30.725597456Z 2024-11-05 07:49:30,725 INFO success: backend entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)
2024-11-05T07:49:25.721383727Z [Nest] 176 - 11/05/2024, 7:49:25 AM LOG Configuration check completed without any issues.
2024-11-05T07:49:25.721453739Z [Nest] 176 - 11/05/2024, 7:49:25 AM LOG 🚀 Backend is running on: http://localhost:3000
2024-11-05T07:49:30.725597456Z 2024-11-05 07:49:30,725 INFO success: backend entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)
33 replies
PPostiz
Created by Support on 10/31/2024 in #💭│support-tickets
Ticket: Facebook App-ID Error During Instagram Channel Setup
Tried both actually, no dice 🎲 Unfortunately..
33 replies
PPostiz
Created by Support on 10/31/2024 in #💭│support-tickets
Ticket: Facebook App-ID Error During Instagram Channel Setup
So I've renamed postiz.env to postiz.env.bak, so that one can't be used. I've moved everything to the compose file:
services:
postiz:
image: 'ghcr.io/gitroomhq/postiz-app:latest'
container_name: postiz
restart: always
environment:
MAIN_URL: "https://domain.name"
FRONTEND_URL: "https://domain.name"
NEXT_PUBLIC_BACKEND_URL: "https://domain.name/api"
JWT_SECRET: "somethingrandom"
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
INSTAGRAM_APP_ID: "theappid"
INSTAGRAM_APP_SECRET: "theappsecrete"
CLOUDFLARE_ACCOUNT_ID: "cloudflareaccountid"
CLOUDFLARE_ACCESS_KEY: "cloudflareaccesskey"
CLOUDFLARE_SECRET_ACCESS_KEY: "cloudflaresecret"
CLOUDFLARE_BUCKETNAME: "postiz"
CLOUDFLARE_BUCKET_URL: "https://bucketid.r2.cloudflarestorage.com"
CLOUDFLARE_REGION: "auto"
services:
postiz:
image: 'ghcr.io/gitroomhq/postiz-app:latest'
container_name: postiz
restart: always
environment:
MAIN_URL: "https://domain.name"
FRONTEND_URL: "https://domain.name"
NEXT_PUBLIC_BACKEND_URL: "https://domain.name/api"
JWT_SECRET: "somethingrandom"
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
INSTAGRAM_APP_ID: "theappid"
INSTAGRAM_APP_SECRET: "theappsecrete"
CLOUDFLARE_ACCOUNT_ID: "cloudflareaccountid"
CLOUDFLARE_ACCESS_KEY: "cloudflareaccesskey"
CLOUDFLARE_SECRET_ACCESS_KEY: "cloudflaresecret"
CLOUDFLARE_BUCKETNAME: "postiz"
CLOUDFLARE_BUCKET_URL: "https://bucketid.r2.cloudflarestorage.com"
CLOUDFLARE_REGION: "auto"
Is this correct? Or am I missing something?
33 replies
PPostiz
Created by Support on 10/31/2024 in #💭│support-tickets
Ticket: Facebook App-ID Error During Instagram Channel Setup
What is the order of that the config are read? So is postiz.env the last one it takes in? Is that the one that get's to be the .env in the running container?
33 replies
PPostiz
Created by Support on 10/31/2024 in #💭│support-tickets
Ticket: Facebook App-ID Error During Instagram Channel Setup
That's the formatting of Discord.. In the files there are just 2 spaces 🙂
33 replies
PPostiz
Created by Support on 10/31/2024 in #💭│support-tickets
Ticket: Facebook App-ID Error During Instagram Channel Setup
Double quotes don't make a difference.. I connected to the running container and if I cat the .env file, everything is there (with double quotes). If I check the volume there is a file called postiz.env and that contains also the correct data (also with double quotes).
33 replies
PPostiz
Created by Support on 10/31/2024 in #💭│support-tickets
Ticket: Facebook App-ID Error During Instagram Channel Setup
In my compose:
environment:
INSTAGRAM_APP_ID: '123124872364872364'
INSTAGRAM_APP_SECRET: 'csdjf983rgfh8dfha8ds'
environment:
INSTAGRAM_APP_ID: '123124872364872364'
INSTAGRAM_APP_SECRET: 'csdjf983rgfh8dfha8ds'
But get same result unfortunately.
33 replies
PPostiz
Created by Support on 10/31/2024 in #💭│support-tickets
Ticket: Facebook App-ID Error During Instagram Channel Setup
I'll give it a go! Thanks!
33 replies
PPostiz
Created by Support on 10/20/2024 in #💭│support-tickets
Ticket: Disable Registrations in Docker Compose Setup
For now as a workaround I've added basic-auth on proxy-level with Traefik, using this: https://doc.traefik.io/traefik/middlewares/http/basicauth/
9 replies
PPostiz
Created by Support on 10/20/2024 in #💭│support-tickets
Ticket: Disable Registrations in Docker Compose Setup
This sounds like a nice feature to have. Since I also don't want to keep my registrations open.
9 replies