Noteworthy is the configuration Oracle gives you has ~40gb disk (for OS and userdata) plus 8gb swap partition. No need for a swap file. And since you can get two VMs on the “always free” level, separating the database container is a scaling option.
(For some reason the free database PaaS there isn’t Postgres. )
I also had a problem. I tried multiple times without any success (“wrong cryptogram” message from my bank, though the cryptogram was right).
I tried in another browser and it worked, I just used another email address… And now it has been several hours that I’m waiting for my account to be validated.
It’s free but the registration process is a bit annoying…
What exactly was wrong with the email part ? I have managed to install Discourse on Oracle Cloud but can’t for the life of me get Email Delivery to work. When I am about to register the admin user on the Discourse install I never get an email.
Discourse-doctor gets contact with the oracle smtp server but the mail is not sent.
I have set up many approved senders just in case. My admin email, noreply@[forum domain] and noreply@[main domain]. What is the important one?
I´ve also added a txt record to my domain’s DNS settings with the recommended SPF string.
It was tricky. If I remember correctly what make it work for me was changing containers/app.yml:
## If you want to set the 'From' email address for your first registration, uncomment and change:
## After getting the first signup email, re-comment the line. It only needs to run once.
- exec: rails r "SiteSetting.notification_email='noreply@opendiscussion.pw'"
Do you know if there’s an SMTP log somewhere in Oracle Cloud ? I would like to know why the email is not sent when I can contact the SMTP server fine. Why I am not authorized or whatever the problem is.
Oracle Cloud has an SMTP service, but it’s not included in the always free tier. It’s very cheap (USD 0.085 / 1000 emails) so I use it anyway. They haven’t charged me anything yet.
After 1 month trying to get my trial account working, having the chat support saying that couldn’t help me, the email support that didn’t help either and didn’t reply but once, saying they’d grab some info about my account and get in touch but they never did…
I asked a friend to open an account for me and it worked like a charm in less than 15 minutes.
Then I tried to install Discourse and I struggled a lot. I followed the Oracle Discourse installation tutorial but for some reasons, I couldn’t connect to the port 443.
I tried installing Discourse on a regular Ubuntu image, but I couldn’t get connect through port 80 nor 443 for unknown reasons.
I went back to the official instructions, it wouldn’t work at first (both ports connection failed), but I restarted docker and then it magically connected to both port.
So my experience isn’t the best, whether the issues comes from me or Oracle.
But in the end, I do now have a free, online, obviously not the fastest, but working Discourse installation.
For those who want to follow the same tutorial, there is a small mistake in the server firewall part.
Instead of: sudo firewall-cmd —reload
You must write: sudo firewall-cmd --reload
By default, you can’t install Discourse because connections to port 80 and 443 aren’t allowed. You need to allow them both in the security list (in the Oracle control panel) and the instance firewall (via SSH).
Here’s how to do that on a regular Ubuntu installation (it’s slightly different from their official guide which uses another Linux image).
In the Oracle panel:
After creating your Ubuntu instance, go to Instance Details and click the Subnet link:
Click Add Ingress Rules, select the TCP protocol, set Source CIDR as 0.0.0.0/0, and Destination port range as 80,443.
Validate by clicking “Add Ingress Rules”.
The command will add the rules in the right place. If you simply append them to existing rules without specifying the line number (5), that won’t work because they’ll be overriden by a previous existing “reject all” rule.
Save the rules so they’ll still be here after a reboot: