Question

Rebuilt a Wordpress OpenLiteSpeed + Ubuntu 24 droplet and /opt is missing

I rebuilt my droplet and chose the OpenLiteSpeed 6.6.1 + Ubuntu 24.04 Wordpress image. According the Quick Start instructions linked in the droplet list, which you can see here: https://marketplace.digitalocean.com/apps/openlitespeed-wordpress the setup for Let’s Encrypt should launch on initial login.

However, what I see after changing the initial root password is "sudo: /opt/domainsetup.sh missing". Indeed, the entire /opt folder is missing. I can’t find any information on this. No one else seems to be having this issue. Was there some other step I was supposed to follow to ensure that the /opt folder was populated?

Show comments

Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

KFSys
Site Moderator
Site Moderator badge
September 2, 2024

Heya,

I don’t think you need that - /opt/domainsetup.sh. Basically, Marketplace droplets work the following way.

You SSH to it for the first time and it leads you through the process of configuring your first Domain. If you don’t do it right away, you’ll need to later do it manually to configure.

If you need to install Let’s Encrypt, you can run the certbot command and it will guide you through the process of configuring an SSL for you.

If /opt is missing after rebuilding your WordPress OpenLiteSpeed + Ubuntu 24 droplet, it may not have been created during the installation. The /opt directory is typically used for optional or third-party software installations but isn’t always populated by default on a fresh system setup. To resolve this, you can manually create the /opt directory with the following command:

sudo mkdir /opt

Make sure that you have the correct permissions for this directory:

sudo chmod 755 /opt

This should restore /opt, allowing you to install or store additional software as needed. If specific software expects to be in /opt, you may need to reinstall or move those files there.

Thanks JHK

KFSys is correct, you SSH to it for the first time and it leads you through the process of configuring your first Domain. Not sure why the /opt folder is missing, I’d recommend you launch a new droplet from the OpenLiteSpeed WordPress image and it should work out of the box.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
Animation showing a Droplet being created in the DigitalOcean Cloud console