P
Postiz•3mo ago
Support

Unraid, simplify template

@Brotherperson Just created a ticket
Question: I installed the package from the apps section in unraid. I also installed reddis and postgres17. Everything seems to work, but if i want to log in at the https://ipaddres:4200/auth/login page i cannot click the github link and entering my email+password resolves in a loading icon.
Attempted: Checking the logs.
Working On: I am installing this on my HomeLab so i can shorten the time for social media posting.
Take it from here @Mod 🔥
49 Replies
Brotherperson
Brotherperson•3mo ago
Sceenshot of the login packe and the log
No description
Brotherperson
Brotherperson•3mo ago
Ah yes, i also tried sign up. Resolves in this. The log is showing something else now,
Brotherperson
Brotherperson•3mo ago
No description
Nevo David
Nevo David•3mo ago
@Brotherperson at the moment postiz is being supported only on localhost or secured host (https) As we are using secured cookies Also please make sure you put IS_GENERAL=true in the .env file to get Postiz
Brotherperson
Brotherperson•3mo ago
Ah, the unraid config asked for a ip adress. Or should i change that to an external website and forward it to my docker on my unraid server? I do not have an env file since i installed it via the app section from unraid. So i belive IS_GENERAL should be set to true. HTTPS is not responding. Should i seek help somewhere else since it seems to be in the unraid docker image? I asked the person who made the template for unraid. I hope he can help, thanks @Nevo David
Brotherperson
Brotherperson•3mo ago
No description
Brotherperson
Brotherperson•3mo ago
Same error What can i check to fix this ?
Acerola
Acerola•3mo ago
I was able to get the login working, let me post what I did when i get home but tl;dr, i have my public frontend url to the domain i'm hosting on, and that connects to my reverse proxy and points to the frontend (service ip and port) and for backend, it's another public facing domain -> reverse proxy -> backend service on port 3000
Brotherperson
Brotherperson•3mo ago
Can i run it locally? Basicly it would be better then go public and secure it
Acerola
Acerola•3mo ago
ahh, i'm not sure since it needs to either run as localhost or with a cert
Brotherperson
Brotherperson•3mo ago
Can't i make a self signed cert? i keep getting redirected to http, with https i get this page is not avalible
Acerola
Acerola•2mo ago
you can using a reverse proxy tool like caddy but i can't help there
Brotherperson
Brotherperson•2mo ago
Note, i was not able to resolve it But reverse proxy did. So solved
xcons
xcons•2mo ago
@Brotherperson , is the unraid template code published somewhere? I moticed it had quite a few issues
Brotherperson
Brotherperson•2mo ago
Yes, it is in the unraid app section. I do have a other error now. I will post a screen of it
Brotherperson
Brotherperson•2mo ago
No description
Brotherperson
Brotherperson•2mo ago
Unraid
Community Apps
Unraid is an operating system that brings enterprise-class features for personal and small business applications. Configure your computer systems to maximize performance and capacity using any combination of OS, storage devices, and hardware.
Brotherperson
Brotherperson•2mo ago
I do fail so hard because i am noobing, sleep to little and have to much to do tohugh Is this because of a missing parameter in the docker or something?
xcons
xcons•2mo ago
Nah, it's because the unraid template is setup wrong I found it in the app store, but I want to know where the source code for the template is I tried looking before but couldn't figure it out
Brotherperson
Brotherperson•2mo ago
I will check if can export it or something @xcons will screenshots do?
xcons
xcons•2mo ago
What's the best thing is perhaps if we can find contact details for the maintainer there
Brotherperson
Brotherperson•2mo ago
I am chatting with him on discord to resolve it. The fellow human who made the template I asked if it is possible to join us
nwithan8
nwithan8•2mo ago
GitHub
unraid_templates/templates/postiz.xml at main · nwithan8/unraid_tem...
A collection of Docker templates and plugins for Unraid - nwithan8/unraid_templates
Brotherperson
Brotherperson•2mo ago
Thanks bro! @xcons is that helpfull?
xcons
xcons•2mo ago
@Brotherperson hey That's SUPER helpful, well done! @nwithan8 hello! 🙂 I'm gonna try an PR your template - I don't have an unraid instance to test against, but it's "just" XML 🙂
xcons
xcons•2mo ago
GitHub
postiz: Simplify default installation options to use port: 5000 (in...
This change sets the Postiz template to use the Port 5000 internal proxy by default, which is far less error prone then getting the URLs correct with the backend and frontend running on ports 4200 ...
Brotherperson
Brotherperson•2mo ago
Unly this variable was missing:
No description
Brotherperson
Brotherperson•2mo ago
In the console there is no error
Brotherperson
Brotherperson•2mo ago
No description
Nevo David
Nevo David•2mo ago
Can you drop your .env? Also please write your current frontend URL (you can reduct) And you current background URL (you can reduct)
Brotherperson
Brotherperson•2mo ago
Can i dm the urls? I closed it, i dont feel comfortable having it open to the public and all
Nevo David
Nevo David•2mo ago
You can just reduct most of it
Brotherperson
Brotherperson•2mo ago
The env is the xml posted in the github Do you want acces to it ?
Nevo David
Nevo David•2mo ago
To the website? no, I just want to match your url to your env
Brotherperson
Brotherperson•2mo ago
So this is the variables added
Nevo David
Nevo David•2mo ago
So basically if you have a container port
Nevo David
Nevo David•2mo ago
the frontend should be: https://website.com And the backend should be https://website.com/api
Website.com
Create Your Free Website | Free Website Builder | Website.com
Create a professional website for free with the Website.com website builder. Domain names, web hosting, website templates, and ecommerce solutions included.
Brotherperson
Brotherperson•2mo ago
No description
Nevo David
Nevo David•2mo ago
Internal backend url, for now, put https://website.com/api
Brotherperson
Brotherperson•2mo ago
I can use a sub domain right ?
Nevo David
Nevo David•2mo ago
Did you map the backend port to a subdomain and the frontend port to a subdomain?
Brotherperson
Brotherperson•2mo ago
That works! Yes, i deactivated the backend port though
Nevo David
Nevo David•2mo ago
So just use the /api we made it for easier way to work
Brotherperson
Brotherperson•2mo ago
No description
Brotherperson
Brotherperson•2mo ago
Great, thank you verry much Nevo, you a legend!
xcons
xcons•2mo ago
Boom. You're in!
Brotherperson
Brotherperson•2mo ago
Yeah! Verry happy about that. Now i just net to get the client ids etc. Set things app and set posts 😄
xcons
xcons•2mo ago
Awesome. @Brotherperson , are you OK if I close this ticket as it seems to be resolved, and you just open a new one if you have a new issue?
Brotherperson
Brotherperson•2mo ago
Please do! Thank you all for the support and help on this

Did you find this page helpful?