lightsail sudo plesk login fails - disk full

0

I have a WordPress site on LightSail. Tried to login but can't navigate to wp-admin. Tried to login to Plesk and it says the disk is full. How do I get into the account to free up space?

ubuntu@thirsty-kalam:~$ sudo plesk login DB query failed: SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_301_0.MAI); wai ting for someone to free some space... (errno: 28 "No space left on device"), query was: D ESCRIBE clients

2 Answers
0

Greetings,

You can follow these Plesk specific instructions to free up space in your temp directory and other areas which may allow you to restart the psa service and login in to Plesk:

https://support.plesk.com/hc/en-us/articles/115000140333-MySQL-fails-to-start-when-a-Plesk-server-lacks-disk-space-SQLSTATE-HY000-No-space-left-on-device-500-Plesk-Exception-Database#:~:text=0%20100%25%20/-,Resolution,-First%2C%20to%20bring

If the above steps don't free up sufficient disk space allowing you to restart Plesk and log back in, please follow the steps listed in the following knowledge centre article which guides you on how to increase your Lightsail plan or bundle to one with a larger volume size:

https://aws.amazon.com/premiumsupport/knowledge-center/lightsail-instance-failed-status-check/#:~:text=reduce%20memory%20usage.-,Disk%20full%20errors,-If%20there%27s%20no

We'd appreciate if you'd update this thread with your findings, and hopefully confirmation of the issue being resolved.

Regards, AntAWS

AWS
AntAWS
answered a year ago
  • This looks helpful, thanks. But I can't perform any of the recommend actions to free up space. I get permission denied for al of them. I login via SSH via the browser from the LightSail area of the AWS Management Console. I assume the provided user that I am logging in with does not have root. How to do I create or locate a user with higher permissions?

  • Did you try prefixing the failed-due-to-lack-of-permissions cleanup commands with sudo?

0

Thanks for your response.

If you are not able to log into the AWS Management Console to increase the Lightsail bundle with a larger volume, I'm afraid only the account root user, or an IAM user with higher permissions, can either perform the steps themselves or provide you permissions to do so. However, if you have restricted access to AWS Management Console, I suspect the account you are using is managed by another party and you won't be able to create a user with higher permissions, or view information about a user with higher permissions, based on your current permissions. Considering this, you will need to reach out to account owner/s directly to assist further.

Once you're able to, they can review the following documentation for guidance on managing access to Amazon Lightsail to grant you required permissions: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-managing-access-for-an-iam-user

AWS
AntAWS
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions