pull down to refresh

You are at good stage, you basically need a MySQL database, does your hosting provider has it installed? How do you manage the database for your existing sites?
yes
How do you manage the database for your existing sites?
I think it should be MySQL, but isn't the problem now is the Ubuntu incompatible which means I should update it first?
reply
CloudPanel offer two version for v24 and v22, which version your server is running?
try lsb_release -a
otherwise try to force the script install with: curl -sS https://installer.cloudpanel.io/ce/latest.sh | bash -s -- --force
Just to prepare to next steps... Are you using MySQL in your existing sites?
BTW: these are 3 separated commands... not sure you can run them all together
reply
20.04
reply
Then try to upgrade to the latest version:
  1. Make a backup of the current state of the server... just in case!
  2. Update Current Packages bash sudo apt update && sudo apt upgrade -y sudo apt dist-upgrade -y # Handle dependency changes sudo apt autoremove --purge # Remove obsolete packages
  3. Reboot (if needed) If the kernel was updated: bash sudo reboot
  4. Install Upgrade Tool Ensure update-manager-core is installed: bash sudo apt install update-manager-core -y
  5. Start the Upgrade For LTS-to-LTS upgrade (e.g., 20.04 → 22.04): bash sudo do-release-upgrade
  6. Follow On-Screen Prompts ... and onfirm actions when asked (like, removing old packages)
  7. Complete the Upgrade After packages are installed, is good to restart the server: bash sudo reboot
  8. Post-Upgrade Checks Verify OS version: bash lsb_release -a # Check Ubuntu versionuname -a` # Check kernel version
  9. Update packages again (post-reboot): bash sudo apt update && sudo apt upgrade -y
reply
good news: I managed to updage ubuntu, 22.04 now but then when I run
curl -sS https://installer.cloudpanel.io/ce/v2/install.sh -o install.sh;
echo "a3ba69a8102345127b4ae0e28cfe89daca675cbc63cd39225133cdd2fa02ad36 install.sh" |
sha256sum -c && sudo bash install.sh
it shows ERROR: Your system already has services running on port 80, 443 or 3306.
what should I do
reply
That's a great news, well done 💪
For the error, have you rebooted the server? sudo reboot
Then try one line at time: curl -sS https://installer.cloudpanel.io/ce/v2/install.sh -o install.sh to download the installer first. See if the error persists, or if it gives different output and depending on what it gives, keep going with
echo "a3ba69a8102345127b4ae0e28cfe89daca675cbc63cd39225133cdd2fa02ad36" install.sh | sha256sum -c
to install it, and then
sudo bash install.sh
to verify the installation
wow, thanks, let me try again tmr! and crazy why such simple thing can be so complicated, more complicated than a Bitcoin node 😂
reply
deleted by author
reply
your snapshot should be enough in case anything goes wrong. Ubuntu upgrade are safe anyway. In the worst case scenario, before restoring the snapshot you can also try to connect via port 1022 as suggested with
ssh -p 1022 username@your_server_ip
You can also try to keep your session alive using tmux or screen on the command to avoid accidental disconnections:
sudo apt install tmux -y && tmux new -s upgrade
deleted by author
0 sats \ 0 replies \ @mo 21 Mar
deleted by author