Question

I have created a website twice now and both times it has been overwritten as soon as I login via SSH.

I have created a website twice now and both times it has been overwritten as soon as I login via SSH.

If I create the image and do the install config via SSH for wordpress, the worpress installation breaks and does not recognise the url’s such as 178.62.54.128/wp-admin and none of the links work or the CSS.

If I create the wordpress instance by accessing SSH and control C out of the wordpress setup questions to the command prompt, and then go to the URL 178.62.54.128 and create the wordpress instance via the GUI in the web browser, the next time I login via SSH the site is overwritten.

Please help, I have wasted days on two creations of the same site.


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.

alexdo
Site Moderator
Site Moderator badge
January 23, 2020
Accepted Answer

Hello, @Systemwork

If you’re already experiencing this issue you can apply the following temporary fix. Once you’re logged in you can execute these commands:

mv /var/www/html.old/html /var/www/wordpress
mv /var/www/html.old /var/www/html

Also you can comment out the lines in the instal script after that.

# mv /var/www/html.old/html /var/www/wordpress
# mv /var/www/html.old /var/www/html

Regards, Alex

alexdo
Site Moderator
Site Moderator badge
January 22, 2020

Hello, @Systemwork

This is a known issue and it’s already been reported to the team. This is expected to be fixed shortly, but I will let you know once I have more details. I’ll keep you posted.

Regards, Alex

Try DigitalOcean for free

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

Sign up

Become a contributor for community

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

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

New accounts only. By submitting your email you agree to our Privacy Policy

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.