Lightsail instance running Plesk no longer responding

0

I have an instance runung Plesk on Lightsail that is no longer running, i get the following error when I run "$ sudo Plesk login" via SSH : DB query failed: SQLSTATE[HY000] [2002] No such file or directory

when I researched the error I assumed the problem was caused by disk space running out, so I created a snapshot and then created a new instance with a bigger disk from that snapshot, so when I run the new instance I created on SSH, I get the following error : UPSTREAM_NOT_FOUND [519]

I then exported the snapshot to EC2, on EC2 status check fails and shows "Instance reachability check failed", i tried connection the instance and i get : Failed to connect to your instance EC2 Instance Connect is unable to connect to your instance. Ensure your instance network settings are configured correctly for EC2 Instance Connect. For more information, see Set up EC2 Instance Connect at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-connect-set-up.html.

here is the log i copied from the instance:

http://169.254.169.254/2021-03-23/meta-data/network/interfaces/macs/06:a4:0f:2a:f8:7e/public-hostname (200, 49b) after 1 attempts [ 45.276041] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,435 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2021-03-23/meta-data/network/interfaces/macs/06:a4:0f:2a:f8:7e/public-ipv4s' with {'url': 'http://169.254.169.254/2021-03-23/meta-data/network/interfaces/macs/06:a4:0f:2a:f8:7e/public-ipv4s', 'stream': False, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0, 'headers': {'X-aws-ec2-metadata-token': 'REDACTED'}} configuration [ 45.298569] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,449 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2021-03-23/meta-data/network/interfaces/macs/06:a4:0f:2a:f8:7e/public-ipv4s (200, 13b) after 1 attempts [ 45.305909] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,451 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2021-03-23/meta-data/network/interfaces/macs/06:a4:0f:2a:f8:7e/security-group-ids' with {'url': 'http://169.254.169.254/2021-03-23/meta-data/network/interfaces/macs/06:a4:0f:2a:f8:7e/security-group-ids', 'stream': False, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0, 'headers': {'X-aws-ec2-metadata-token': 'REDACTED'}} configuration [ 45.328445] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,506 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2021-03-23/meta-data/network/interfaces/macs/06:a4:0f:2a:f8:7e/security-group-ids (200, 20b) after 1 attempts [ 45.343037] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,521 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2021-03-23/meta-data/network/interfaces/macs/06:a4:0f:2a:f8:7e/security-groups' with {'url': 'http://169.254.169.254/2021-03-23/meta-data/network/interfaces/macs/06:a4:0f:2a:f8:7e/security-groups', 'stream': False, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0, 'headers': {'X-aws-ec2-metadata-token': 'REDACTED'}} configuration [ 45.380496] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,559 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2021-03-23/meta-data/network/interfaces/macs/06:a4:0f:2a:f8:7e/security-groups (200, 70b) after 1 attempts [ 45.400724] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,574 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2021-03-23/meta-data/network/interfaces/macs/06:a4:0f:2a:f8:7e/subnet-id' with {'url': 'http://169.254.169.254/2021-03-23/meta-data/network/interfaces/macs/06:a4:0f:2a:f8:7e/subnet-id', 'stream': False, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0, 'headers': {'X-aws-ec2-metadata-token': 'REDACTED'}} configuration [ 45.434032] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,613 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2021-03-23/meta-data/network/interfaces/macs/06:a4:0f:2a:f8:7e/subnet-id (200, 24b) after 1 attempts [ 45.443494] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,613 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2021-03-23/meta-data/network/interfaces/macs/06:a4:0f:2a:f8:7e/subnet-ipv4-cidr-block' with {'url': 'http://169.254.169.254/2021-03-23/meta-data/network/interfaces/macs/06:a4:0f:2a:f8:7e/subnet-ipv4-cidr-block', 'stream': False, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0, 'headers': {'X-aws-ec2-metadata-token': 'REDACTED'}} configuration [ 45.458791] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,637 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2021-03-23/meta-data/network/interfaces/macs/06:a4:0f:2a:f8:7e/subnet-ipv4-cidr-block (200, 13b) after 1 attempts [ 45.463845] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,638 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2021-03-23/meta-data/network/interfaces/macs/06:a4:0f:2a:f8:7e/subnet-ipv6-cidr-blocks' with {'url': 'http://169.254.169.254/2021-03-23/meta-data/network/interfaces/macs/06:a4:0f:2a:f8:7e/subnet-ipv6-cidr-blocks', 'stream': False, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0, 'headers': {'X-aws-ec2-metadata-token': 'REDACTED'}} configuration [ 45.485261] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,662 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2021-03-23/meta-data/network/interfaces/macs/06:a4:0f:2a:f8:7e/subnet-ipv6-cidr-blocks (200, 29b) after 1 attempts [ 45.492577] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,662 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2021-03-23/meta-data/network/interfaces/macs/06:a4:0f:2a:f8:7e/vpc-id' with {'url': 'http://169.254.169.254/2021-03-23/meta-data/network/interfaces/macs/06:a4:0f:2a:f8:7e/vpc-id', 'stream': False, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0, 'headers': {'X-aws-ec2-metadata-token': 'REDACTED'}} configuration [ 45.500756] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,679 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2021-03-23/meta-data/network/interfaces/macs/06:a4:0f:2a:f8:7e/vpc-id (200, 21b) after 1 attempts [ 45.521678] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,680 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2021-03-23/meta-data/network/interfaces/macs/06:a4:0f:2a:f8:7e/vpc-ipv4-cidr-block' with {'url': 'http://169.254.169.254/2021-03-23/meta-data/network/interfaces/macs/06:a4:0f:2a:f8:7e/vpc-ipv4-cidr-block', 'stream': False, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0, 'headers': {'X-aws-ec2-metadata-token': 'REDACTED'}} configuration [ 45.567966] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,682 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2021-03-23/meta-data/network/interfaces/macs/06:a4:0f:2a:f8:7e/vpc-ipv4-cidr-block (200, 13b) after 1 attempts [ 45.580631] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,682 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2021-03-23/meta-data/network/interfaces/macs/06:a4:0f:2a:f8:7e/vpc-ipv4-cidr-blocks' with {'url': 'http://169.254.169.254/2021-03-23/meta-data/network/interfaces/macs/06:a4:0f:2a:f8:7e/vpc-ipv4-cidr-blocks', 'stream': False, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0, 'headers': {'X-aws-ec2-metadata-token': 'REDACTED'}} configuration [ 45.609818] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,786 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2021-03-23/meta-data/network/interfaces/macs/06:a4:0f:2a:f8:7e/vpc-ipv4-cidr-blocks (200, 13b) after 1 attempts [ 45.619176] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,797 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2021-03-23/meta-data/network/interfaces/macs/06:a4:0f:2a:f8:7e/vpc-ipv6-cidr-blocks' with {'url': 'http://169.254.169.254/2021-03-23/meta-data/network/interfaces/macs/06:a4:0f:2a:f8:7e/vpc-ipv6-cidr-blocks', 'stream': False, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0, 'headers': {'X-aws-ec2-metadata-token': 'REDACTED'}} configuration [ 45.639127] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,817 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2021-03-23/meta-data/network/interfaces/macs/06:a4:0f:2a:f8:7e/vpc-ipv6-cidr-blocks (200, 29b) after 1 attempts [ 45.646725] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,825 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2021-03-23/meta-data/placement/' with {'url': 'http://169.254.169.254/2021-03-23/meta-data/placement/', 'stream': False, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0, 'headers': {'X-aws-ec2-metadata-token': 'REDACTED'}} configuration [ 45.657033] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,836 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2021-03-23/meta-data/placement/ (200, 45b) after 1 attempts [ 45.660073] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,839 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2021-03-23/meta-data/placement/availability-zone' with {'url': 'http://169.254.169.254/2021-03-23/meta-data/placement/availability-zone', 'stream': False, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0, 'headers': {'X-aws-ec2-metadata-token': 'REDACTED'}} configuration [ 45.673175] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,852 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2021-03-23/meta-data/placement/availability-zone (200, 10b) after 1 attempts [ 45.676752] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,852 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2021-03-23/meta-data/placement/availability-zone-id' with {'url': 'http://169.254.169.254/2021-03-23/meta-data/placement/availability-zone-id', 'stream': False, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0, 'headers': {'X-aws-ec2-metadata-token': 'REDACTED'}} configuration [ 45.691144] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,870 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2021-03-23/meta-data/placement/availability-zone-id (200, 8b) after 1 attempts [ 45.696301] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,870 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2021-03-23/meta-data/placement/region' with {'url': 'http://169.254.169.254/2021-03-23/meta-data/placement/region', 'stream': False, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0, 'headers': {'X-aws-ec2-metadata-token': 'REDACTED'}} configuration [ 45.716641] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,895 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2021-03-23/meta-data/placement/region (200, 9b) after 1 attempts [ 45.722917] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,896 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2021-03-23/meta-data/services/' with {'url': 'http://169.254.169.254/2021-03-23/meta-data/services/', 'stream': False, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0, 'headers': {'X-aws-ec2-metadata-token': 'REDACTED'}} configuration [ 45.743653] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,918 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2021-03-23/meta-data/services/ (200, 16b) after 1 attempts [ 45.747882] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,918 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2021-03-23/meta-data/services/domain' with {'url': 'http://169.254.169.254/2021-03-23/meta-data/services/domain', 'stream': False, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0, 'headers': {'X-aws-ec2-metadata-token': 'REDACTED'}} configuration [ 45.760072] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,939 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2021-03-23/meta-data/services/domain (200, 13b) after 1 attempts [ 45.762778] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,941 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2021-03-23/meta-data/services/partition' with {'url': 'http://169.254.169.254/2021-03-23/meta-data/services/partition', 'stream': False, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0, 'headers': {'X-aws-ec2-metadata-token': 'REDACTED'}} configuration [ 45.770576] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,949 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2021-03-23/meta-data/services/partition (200, 3b) after 1 attempts [ 45.773823] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,952 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2021-03-23/meta-data/ami-id' with {'url': 'http://169.254.169.254/2021-03-23/meta-data/ami-id', 'stream': False, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0, 'headers': {'X-aws-ec2-metadata-token': 'REDACTED'}} configuration [ 45.784609] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,963 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2021-03-23/meta-data/ami-id (200, 21b) after 1 attempts [ 45.789556] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,968 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2021-03-23/meta-data/ami-launch-index' with {'url': 'http://169.254.169.254/2021-03-23/meta-data/ami-launch-index', 'stream': False, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0, 'headers': {'X-aws-ec2-metadata-token': 'REDACTED'}} configuration [ 45.807101] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,986 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2021-03-23/meta-data/ami-launch-index (200, 1b) after 1 attempts [ 45.813212] cloud-init[418]: FALLBACK: 2023-08-08 01:47:01,986 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2021-03-23/meta-data/ami-manifest-path' with {'url': 'http://169.254.169.254/2021-03-23/meta-data/ami-manifest-path', 'stream': False, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0, 'headers': {'X-aws-ec2-metadata-token': 'REDACTED'}} configuration [ 45.830162] cloud-init[418]: FALLBACK: 2023-08-08 01:47:02,009 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2021-03-23/meta-data/ami-manifest-path (200, 9b) after 1 attempts [ 45.842748] cloud-init[418]: FALLBACK: 2023-08-08 01:47:02,009 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2021-03-23/meta-data/hostname' with {'url': 'http://169.254.169.254/2021-03-23/meta-data/hostname', 'stream': False, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0, 'headers': {'X-aws-ec2-metadata-token': 'REDACTED'}} configuration [ 45.851205] cloud-init[418]: FALLBACK: 2023-08-08 01:47:02,030 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2021-03-23/meta-data/hostname (200, 41b) after 1 attempts [ 45.853965] cloud-init[418]: FALLBACK: 2023-08-08 01:47:02,030 - url_helper.py[DEBUG]: [0/6] open 'http://169.254.169.254/2021-03-23/meta-data/instance-action' with {'url': 'http://169.254.169.254/2021-03-23/meta-data/instance-action', 'stream': False, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0, 'headers': {'X-aws-ec2-metadata-token': 'REDACTED'}} configuration [ 45.867635] cloud-init[418]: FALLBACK: 2023-08-08 01:47:02,046 - url_helper.py[DEBUG]: Read from http://169.254.169.254/2021-03-23/meta-data/instance-action (200, 4b) after 1 attempts [ 45.8727

asked 9 months ago67 views
No Answers

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