What type of hardware are you using: Raspberry Pi 3, 4+ What YunoHost version are you running: 12.0.17 How are you able to access your server: The webadmin
SSH Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: no
My problem:
Since the update to 12.0 mysql is dead.
I saw that every day reciving the diagnostic message.
Typing:
sudo systemctl status mysql.service
Gives:
sudo systemctl status mysql.service
Warning: The unit file, source configuration file or drop-ins of mysql.service changed on disk. Run 'systemctl daemon-reload' to reload units.
○ mysql.service
Loaded: error (Reason: Unit mysql.service failed to load properly, please adjust/correct and reload service manager: File exists)
Active: inactive (dead)
In the web admin, I get the following messages:
**Erreur**: `"500" `
**Action**: `"PUT" /yunohost/api/services/mysql/start`
**Message d'erreur :**
Could not start the service 'mysql'
Recent service logs:-- No entries --
**Pendant le traitement de l'action, le serveur a dit :**
Could not execute the command 'systemctl start mysql'
I guess mysql was removed because it was no longer required by any app but the service file is still present. That’s sounds strange.
Are all your apps working fine?
Any warning during upgrade to 12 ?
I just have 1 app installed and working good: AirSonic
I had problems during the upgrade to 12 (because of very light free space on RPI) and tried manually to upgrade and then I found a solution and ran the YNH procedure.
I would like to run NextCloud, how can I install mysql (or mariaDB)?
To free up space, you can use this yunohost tool. Don’t know if it runs apt autoremove but it may remove unused conf files.
Check if this file is present on your system :/lib/systemd/system/mysql.service.
If you decide to run yunohost tools basic-space-cleanup, after running it check if/lib/systemd/system/mysql.service is still present and if mysql is still present in web admin > tools > services
You don’t need to manually install mariaDB, installing nextcloud app will do it.
Ok, I understand.
I ran yunohost tools basic-space-cleanup
Running ls /lib/systemd/system/mysql.service gives ls: cannot access '/lib/systemd/system/mysql.service': No such file or directory
Is it an issue?
What ‘small’ app can I install (instead of NextCloud) easilly to verify the correct installation and run of mariaDB?