When configuring your server, FlashVPS configures FPM so that it can be restarted without using the server's 'sudo' password. To do so, you should use the following command. Of course, you should adjust the PHP version to match the version of PHP installed on your machine:
echo "" | sudo -S service php8.1-fpm reload
FlashVPS does not store your server's sudo password and therefore cannot reset it for you. To reset your password, you need to contact your server provider or use the sudo password reset facilities on your server provider's dashboard.
Once the password has been reset, FlashVPS will not be able to SSH into your machine as
root. This prevents you from editing the PHP/Nginx configuration files from the FlashVPS UI and will also prevent various FlashVPS functions from working properly. Before FlashVPS can access your server, you will need to SSH into your FlashVPS server under the username
flashvpsand reset your user password
FlashVPS allows you to choose a NodeJS installation session when a new server is installed. However, as your server ages, you may want to upgrade your Node.js version:
sudo apt-get install --only-upgrade nodejs
This error is returned by DigitalOcean when you have reached the limit on the number of droplets you can create. You can ask DigitalOcean to increase your droplet limit by contacting their support. Once they have increased your limit you can create a server in FlashVPS
There are a number of reasons why your server might be in a 'disconnected' state. We encourage you to check out these popular solutions before contacting support:
/home/flashvps/.ssh/authorized_keys. This key is available through the 'Settings' tab of the FlashVPS management panel on your server.
If you are still having connection problems, you should also verify that the permissions and ownership of the following folders and files are correct:
# Fixes the "root" user (run as root) chown root:root /root chown -R root:root /root/.ssh chmod 700 /root/.ssh chmod 600 /root/.ssh/authorized_keys # Fixes the "flashvps" user chown flashvps:flashvps /home/flashvps chown -R flashvps:flashvps /home/flashvps/.ssh chmod 700 /home/flashvps/.ssh chmod 600 /home/flashvps/.ssh/authorized_keys
If after trying all the above solutions, FlashVPS still cannot connect to your server but you can still SSH into the server, please run the following command as root user and share the result with FlashVPS support:
grep 'sshd' /var/log/auth.log | tail -n 10
! FlashVPS Management
If FlashVPS cannot connect to your server, you will not be able to manage it through the FlashVPS control panel until the connection is restored.