#How to install on DigitalOcean Droplet (Ubuntu 20.04)

19 messages · Page 1 of 1 (latest)

lofty timber
#

Hey there,

I'm trying to follow the online guide and I have tried to do this both from CLI and Docker (preferably docker as it's simple) but I can't seem to work out what's going wrong.

My file system ends up looking like the image shared here after following the simple Docker guide:
https://docs.directus.io/self-hosted/quickstart.html

I perform docker-compose up -d and it tells me 'Recreating directus_directus_1 ... done' and I check the filesystem and there's just those folders shown in image. Nothing else, and the website doesn't load anything (404 error). Has anyone set up through DigitalOcean Ubuntu 20.04 before and has a quick easy guide?

lofty timber
#

also it's worth noting that my database already has directus set up inside it in public schema. I have it all ready to go I just need to get the server-side of things sorted

jagged venture
#

Are the services running successfully after docker-compose up -d? You can check this by running docker-compose ps and by looking into the logs with docker-compose logs

lofty timber
#

so I managed to skirt the problems by installing directus via Linux CLI and then I made sure to move all the existing directus_ tables in my database to another schema and then I will move them back afterwards. The issue I'm having now is that when I start directus with directus start it boots it on 0.0.0.0:8055 instead of the PULIC_URL I provided in the .env file

jagged venture
lofty timber
#

Ah that makes sense! So once I change HOST to the IP of my droplet and type 'directus start' i still receive this error:

#

A while back I did install Apache on the server so perhaps there's something there that I need to uninstall or something?

jagged venture
#

Do you want to make Directus available on port 80? In that case you need to get rid of Apache on this port first (disable, uninstall, ...) unless you want to use Apache as a reverse proxy for Directus

lofty timber
#

It won't be necessary to be a reverse proxy as this won't be a public-facing directus instance and will be wholly used in-house at a business. I just want to make sure people can connect to it from anywhere

jagged venture
#

Okay, I see. So you can either access Directus via port 8055 or disable / uninstall Apache and configure Directus to listen on port 80 instead.

lofty timber
#

okay amazing, thank you!

jagged venture
#

You're welcome!

sweet flax
#

Hi, @lofty timber ! Did you get your directus website running on DigitalOcean?

lofty timber
#

Hey @sweet flax I'm very sorry to say that I simply paid my usual DO guy to do it for me ahah

sweet flax
lofty timber
sweet flax
#

@job Thank you for your nice offer! If I ever have a question/idea/etc I remember to contact you!

lofty timber
#

👍

sweet flax
#

@lofty timber Out of interest: Would you share your web project where you use directus?