How would you enable swap for that?
Discourse-setup automatically creates a swap file.
Huh, it didn’t for me.
nvm fixed it
Correct, because your server doesn’t have enough physical RAM. It failed the system requirements check, so installation didn’t proceed.
You need 1GB RAM to install, and a 1GB system will also need swap. You don’t have 1GB, your system isn’t supported.
See:
I’ve tried this and the old adage rings true: you get what you pay for.
The default is image Oracle Linux, which does not have 1GB as advertised. I used the Ubuntu image that is eligible for the free tier and that did have 1GB. Or rather close enough for Discourse to install.
This was super helpful because I got lost in a maze of contradictory suggestions when following the script’s advice to Google “open ports oracle cloud”.
It was disappointing to see Oracle dropped free SMTP service, but setting up Mailjet wasn’t too complicated. You still get what you pay for, but at least you aren’t paying the price of a byzantine setup. And you’ll need an email provider if you move to a different hosting service anyway.
Having plowed through those troubles, I’m now getting this error from discourse-setup:
Launcher is up-to-date
cd /pups && git pull && /pups/bin/pups --stdin
fatal: unable to access 'https://github.com/discourse/pups.git/': Could not resolve host: github.com
I suspect I’ve messed something up while fighting with the firewall settings. It looks like this is still an option if you don’t want to spend any money, but I think I’m giving up for now. Hopefully these notes will help others in the future.
Oh. I also got an email from an Oracle sales person just now. Never change, Oracle. ![]()
That does seem to be the problem. I started over and worked out the kinks. I also wrote up the process on my blog. Gonna try it out for a while as my blog comment system and see how it goes. ![]()
Just chiming in here - big thanks to Jon and the blog post above he created! That helped me get up and running. Thanks!
Ho creato un tutorial approfondito per aiutare a installare Discourse sul piano gratuito di Oracle.
È un wiki: sentiti libero di migliorarlo!
un’aggiunta al livello gratuito di Oracle: puoi anche selezionare le nuove istanze ARM “Ampere”, con un massimo di 4 core e 12 GB di RAM nel livello gratuito. L’installazione di Discourse funziona senza problemi sui processori ARM, apparentemente, e le prestazioni sono anche piuttosto impressionanti. L’ho appena installato - vedremo come si comporta.
Interessante! È una nuova aggiunta? Non so molto di queste cose, ma è come una macchina virtuale “standard” su cui Discourse può essere installato come installazione supportata?
4 core 12 GB di RAM gratuitamente sembra… strano?
È perché è basato su ARM invece che su x86_64. E Discourse ha solo recentemente ottenuto il supporto per ARM.
Il livello gratuito di Oracle consente fino a 2 macchine virtuali. Anche questa occupa uno spazio?
Sì, ma sono d’accordo con @Canapin. 4 core e 12 GB di RAM sembrano molti per un livello gratuito, indipendentemente dal tipo di processore.
Tieni presente che per questo prezzo (livello gratuito) ovviamente non c’è quasi nessun supporto e… beh, sono rimasto piuttosto deluso nel vedere che la mia sandbox di discourse era scomparsa qualche settimana fa, senza la possibilità di crearne una nuova, le istanze Ampere essendo esaurite… ![]()
(ma ha funzionato abbastanza bene)
Intendi che è scomparsa da sola, senza alcuna tua azione, o senza alcun avviso da parte di Oracle?
Sospetto che quello che è successo qui sia una prova gratuita. Puoi provare istanze di potenza superiore come questa per un breve periodo. Dopodiché, dovrai pagare.
Esiste anche un livello gratuito a bassa potenza che rimane disponibile.
in effetti, quella era metà del piano gratuito, 2 vcore ampere e 12 GB di RAM
- Istanze di calcolo Ampere A1 (processore Arm): Tutte le tenancy ottengono gratuitamente le prime 3.000 ore OCPU e 18.000 GB ore al mese per le istanze VM che utilizzano la forma VM.Standard.A1.Flex, che ha un processore Arm. Per le tenancy Always Free, questo equivale a 4 OCPU e 24 GB di memoria.
Ho difficoltà a capire, ma… significa che più ne usiamo la sua capacità, più “ore” impiega a seconda delle sue specifiche o qualcosa del genere?
