Question

I cannot see picture in media library after VPS is down.

I cannot see picture in media library after VPS is down. pic: http://i.imgur.com/CcUti5s.jpg


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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello @imagineverend

I am not sure how your VPS is down after missing picture in media library. Kindly reboot the server check server log file to find the exact issue. You can find server log at /var/log/messages and usr/local/apache/domlogs. You should disable all the wordpress plugins and try to upload the images using WP uploader in order to show them in the image library. If you still face any issue then kindly install WP Log Viewer plugin to check log for wordpress log in detail. You can find more information regarding WP Log Viewer at https://wordpress.org/plugins/wp-log-viewer/

@imagineverend

Since you posted the other question Meta description, Focus keyword, Meta keywords (Yoast SEO plugin) is empty, then I think it’s a very different problem.

How did you server go down? Are you running multiple servers?

Can you check if the media files are actually on your server? Which by default should be located in /var/www/html/wp-content/uploads/.

It sounds like the database crashed and is corrupted, and have lost data. Can you post the last 50 lines from your database error log? tail -50 /var/log/mysql/error.log

Hi @imagineverend

Have you setup Block Storage and saved your media there, but didn’t configure fstab, so the mount doesn’t come back online when you restart the server?

Or do you have a plugin installed that offloads your media to a CDN, but maybe it “lost” it’s connection after restarting the server?