pull down to refresh

ok let's stop the services:
sudo systemctl stop apache2 OR sudo systemctl stop nginx if you are using nginx, and sudo systemctl stop mysql
if the services restart automatically, just disable both using
sudo systemctl disable apache2 (assuming is an apache server) and sudo systemctl disable mysql
then try again
deleted by author
reply
are you on apache or nginx? can you share the specs of your server on cotabo? I should have ask earlier...
In the meantime, let's repair partially installed packages sudo dpkg --configure -a
Fix broken dependencies sudo apt-get install -f
Clean cached packages (optional) sudo apt-get clean
Retry installing mysql-server (maybe not needed) sudo apt-get install --reinstall mysql-server-8.0
reply
are you on apache or nginx? can you share the specs of your server on cotabo? I should have ask earlier...
idk, how could I look it up 👀
reply
you are not if the error before was: Failed to disable unit: Unit file apache2.service does not exist.
What's the contabo service you got?
reply
deleted by author
deleted by author
reply
is mysql still running?
sudo systemctl stop mysql
sudo apt-get purge mysql-server-8.0 mysql-client mysql-common mysql-server-core-8.0 sudo rm -rf /etc/mysql /var/lib/mysql /var/log/mysql sudo apt-get autoremove sudo apt-get autoclean
Then let's try to reinstall MySQL sudo apt-get update sudo apt-get install mysql-server-8.0
Hopefully ithis succeeds! Verify with: sudo systemctl status mysql
reply
deleted by author
reply
it's ok, this is really testing my knowledge on server maintenance though 😅
Let's force it! sudo apt-get purge mysql-* mariadb-* sudo rm -rf /etc/mysql /var/lib/mysql /var/log/mysql /tmp/mysql.sock
Then continue with reinstalling mysql sudo apt-get update sudo apt-get install mysql-server-8.0
And finger crossed will be running! sudo systemctl status mysql
0 sats \ 1 reply \ @mo 23 Mar
deleted by author
reply
reply