Step-by-Step Tutorial for Installing Outline on Digital Ocean with Ubuntu 22.04 #3668
Replies: 10 comments 16 replies
-
Amazing tutorial here @thomasgriffin ! I had an existing server running Docker, Redis and Postgres with other stuff installed on the same server but used your tutorial to understand how to hook them together and it was especially useful re: the AWS S3 settings which don't seem very detailed in the default install instructions. Well done here, Thomas. Thank you. |
Beta Was this translation helpful? Give feedback.
-
The feedback on the tutorial has been amazing! I've seen and heard about so many people getting Outline setup properly for the first time by following it. I wanted to drop back here and mention a couple of updates I have made to the tutorial, specifically:
Anyways, hope it continues to be helpful! |
Beta Was this translation helpful? Give feedback.
-
I've made a couple of additional updates to the tutorial, including fixing an issue where a deprecated yarn command has been updated with the new command, as well as adding support for daily cron pings that Outline needs to trigger various services. I'll be testing the tutorial again this month to make sure that things are updated where needed to support WebSockets editing. And, I'm delighted to share that more than 1,000 people have successfully set up Outline using the tutorial above. 😎 |
Beta Was this translation helpful? Give feedback.
-
Demo site is not working. Trying to login with simple email sign up h it doesn't send email with activation to me. |
Beta Was this translation helpful? Give feedback.
-
I've just completed walking through the tutorial again to validate everything is working as expected. All is good! Best to everyone using it to get Outline up and running on their own server. 🚀 |
Beta Was this translation helpful? Give feedback.
-
I finished your tutorial, it was great, but when finally trying to access the domain, I am getting an nginx "502 Bad Gateway" error. When I check my docker logs, I see these two errors coming up frequently:
Any ideas? Help would mean the world :) |
Beta Was this translation helpful? Give feedback.
-
@huds0nx Can you try setting |
Beta Was this translation helpful? Give feedback.
-
I've completed another round of updates to the tutorial, and I've also added support for the new local file storage feature from All the best as you cross the finish line of 2023 and step confidently into 2024! |
Beta Was this translation helpful? Give feedback.
-
Thank you for this fantastic guide, @thomasgriffin! I am a beginner to all this and followed your guide to the tee. However, I also face the 502 Gateway error after doing everything (except adding SMTP). Docker Logs show no errors. In the Nginx error logs file, I saw the same kind of errors as @huds0nx reported above. Setting |
Beta Was this translation helpful? Give feedback.
-
You can do chown -R {user} /opt/outline :)
…---------------------
Thomas Griffin
Advisor
Awesome Motive Inc.
Website <https://thomasgriffin.com> | LinkedIn
<https://www.linkedin.com/in/jthomasgriffin>
This email transaction is considered private and should not be shared
unless otherwise noted.
On Apr 8, 2024 at 1:41:10 PM, AshwinPras ***@***.***> wrote:
Thank you for responding, @thomasgriffin
<https://github.com/thomasgriffin>. I’m a beginner, and this set-up is
for a nonprofit that does not have an IT team to run these things.
To ensure that I don’t break anything by accident as I go about changing
the ownership of the /opt/outline directory - the command would be:
Chown thomas /opt/outline
Right?
Thanks again, and my apologies for asking you about rudimentary things.
—
Reply to this email directly, view it on GitHub
<#3668 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAG6ABSTJ6GLNPTEVDYF5K3Y4LJDNAVCNFSM5Y7JFXN2U5DIOJSWCZC7NNSXTOKENFZWG5LTONUW63SDN5WW2ZLOOQ5TSMBUHE2DQNY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hey everyone,
I see lots of people have experienced many of the same issues that I myself experienced trying to setup Outline in a production environment. After spending countless hours off and on over the last 6 months, I've finally completed a step-by-step tutorial for installing Outline on Digital Ocean with Ubuntu 22.04.
I've gone through the tutorial 4 times now to validate the results, and I can confirm they are repeatable. I've done my best to include helpful screenshots and commentary, and I've also implemented some best practices to secure the installation as well.
Much of the stuff I have in the tutorial is either not listed in the official docs at all or simply assumed in the docs. For example, in the sample
.env
file, the URL connections for Postgres and Redis simply do not work when trying to put this in production. Or did you know that if you don't put thePOSTGRES_DB
variable before thePOSTGRES_USER
andPOSTGRES_PASS
variables, it won't create the database and roles correctly in Docker? Additionally, some things are more complex than they need to be, and where I have experienced that, I've done my best to simplify the process.Outline is awesome. I love it. My hope is that this tutorial helps others install it successfully so that they can experience using it with their teams too. 💯
You can find the tutorial here: https://thomasgriffin.com/how-to-install-the-outline-knowledge-base-wiki-on-ubuntu/
Feel free to drop comments there or here, including any feedback about the tutorial or snags you run into along the way.
Beta Was this translation helpful? Give feedback.
All reactions