Ticket: Issue with .env & yml setup on Synology NAS
@BoondockKid Just created a ticket
Question: Can anyone look at my .env and yml and tell me what i am doing wrong?
Attempted: multple installs - can't get past creating an account
Working On: Synoliogy NAS
Using Postiz On: Docker-compose
Take it from here @Postiz
Question: Can anyone look at my .env and yml and tell me what i am doing wrong?
Attempted: multple installs - can't get past creating an account
Working On: Synoliogy NAS
Using Postiz On: Docker-compose
Take it from here @Postiz
31 Replies
@Postiz please help @BoondockKid
For some reason I cannot connect to X (see screen) and with Instagram/Facebook see screen.
Hey @BoondockKid have you created the app on https://developer.twitter.com/en/portal/dashboard
X (formerly Twitter)
X
It seems like y either you are missing the app in there or miss configured the redis Uri maybe
yes i created the app -- I uploaded my .env and docker-compose
I am using https://postiz.andyparrish.org/integrations/social/x
just noticed... the invalid app Id you posted in the images is from facebook ... not from X, can you show me the error on X ??
lets try with that one first as its the easyest to create the app for .
Also I just checked your .env and docker-compose files
Try adding the X api key ,api secret , api client and x secret directly to the docker-compose.yml after line 24
you can use the following method :
X_API_KEY: "XXXXXXXXXXXXX"
X_API_SECRET: "XXXXXXXXXXXXX"
X_CLIENT: "XXXXXXXXXXX"
X_SECRET: "XXXXXXXXX"
otherwise if you wish to have a .env file it shall be on the same folder where the docker-compose.yml is located for example /documents/postiz
you shall have the docker-compose.yml and the .env there
and below line 24 on your docker-compose.yml file you can add the keys in the following way.
STORAGE_PROVIDER: "local"
UPLOAD_DIRECTORY: "/uploads"
NEXT_PUBLIC_UPLOAD_DIRECTORY: "/uploads"
YOUTUBE_CLIENT_ID: ${YOUTUBE_CLIENT_ID}
YOUTUBE_CLIENT_SECRET: ${YOUTUBE_CLIENT_SECRET}
FACEBOOK_APP_ID: ${FACEBOOK_APP_ID}
FACEBOOK_APP_SECRET: ${FACEBOOK_APP_SECRET}
X_API_KEY: ${X_API_KEY}
X_API_SECRET: ${X_API_SECRET}
This is an example of how it can look like
remember to keep correct indentation π
let me know if I explained myself correctly π and the results π
@dom let me know if this works for you
I wil try this later today
Nope, unfortunately. I already had all four in the docker-compose.yaml file itself. Although I did use TWITTER_CLIENT_ID and TWITTER_CLIENT_SECRET but nothing changes when I use X_CLIENT and X_SECRET instead.
Solved it. I just deleted everything except the docker-compose.yaml and now it works. Weird. I recreated the containers multiple times (with docker compose down and up). Well, thanks for the help anyway :)
maybe something went odd .
but glad to hear you solve out π
@BoondockKid did it work for you ?
IDK - i will try I am 46 years old and need a teenager to help me and the kids are at school. I requested Marius Hosting to do a tutorial on this.
Hehe I feel ya on this
@m4rk are there any tutorials on how to make this twitter app? there is an oAuth 1 and oAuth 2
Ya I think I am just fucked
Itβs pretty much what it says ob documentation
Ad the postiz site
Itβs the easiest to crear if all for me hehe but if needed Iβll gladly help
I am using docker-compose
Let me try to build a small tutorial for you π
Si you know how to edit the docker-compose.yml file
yes
that I can do -- I got logged in. But it wont connect to the services
two other synology people reached out to me -- do you want access to my NAS
Try this instead of what you have at your docker-compose.yml
YOUTUBE_CLIENT_ID: "71296364281-33id6ge8dblu26t562el6is32odnipl7.apps.googleusercontent.com"
YOUTUBE_CLIENT_SECRET: "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"
FACEBOOK_APP_ID: "1619811955218122"
FACEBOOK_APP_SECRET: "353e7c98e8c8d127d9c2d111178a3faf"
X_API_KEY: "r02ry0qkx7tTR2WDmGClxTLLu"
X_API_SECRET: "xfkGLdGQ2FOVW57SSYQJDXXZ5qSSxY9M9oZ77qimNzrq06N2KW"
For the X app ( formerly twitter) just follow this : https://docs.postiz.com/providers/x
I think I am going to just pay for postiz π¦
HOLY FUCK I TJUST CONNECTED TO TWITTER
FUCK YES! JUST ADDED YOUTUBE!
YAY! FACEBOOK IS CONNECTED!
I get same on youtube and I dunno how to create the app :S documentation is very outdated
You have to make sure the YT callback URI is correct
fella's - for instagram professional what shoudl I add to my docker-compose.yml? RN its connected to my facebook business page
Just check Instagram documentation and follow the pattern like the others you got
@BoondockKid my friend, can we close the ticket ?
yup
@Support close ticket