I have a cloud server that i run multiple applications on including my website etc.
I have root access but i mainly use Plesk Web admin to manage it.
Plesk has Docker installed and when i search the Plesk docker manager it gives me all the versions of XIBO and lets me download and run the docker environment. Once down and running it gives me all the volume mapping and environment variables.
In the docker console tells me “Waiting for MySQL to start”
MySQL is running on the server because other (Including an older version of xibo is using it that i want to upgrade)
I presume these are the same environment variables all need to be configured. Is there a guide on where or what they should become? I changed the SQL info to my sql server info and its still saying waiting on mysql to start.
I came back and this was in my docker log. I presume im just being an idiot and not doing something right.
Waiting for MySQL to start - max 300 seconds
MySQL started
New install
Provisioning Database
Configuring Database Settings
Setting up Maintenance
Updating settings.php
Configuring Backups
Configuring Maintenance
Running maintenance
Starting cron
Starting webserver
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using 172.17.0.2. Set the ‘ServerName’ directive globally to suppress this message
Not intentionally. Plesk had docker and it literally gave me the option download xibo and run the container. Im really new to using docker so its going to take me a while to understand it.
Is my best bet to run it from the command line?
How will this affect my other services running on this server?
I’m not familiar with Plesk so I can’t comment on that directly.
Assuming you have command line access, you’d be best running with docker-compose from the Remote MySQL compose file, to attach to your existing database, and running the CMS on a custom port (ie not 80).
You would then use Plesk to create a reverse http proxy to get inbound traffic from port 80 to go to your Xibo webserver running on the custom port.
Alternatively, you could do a custom install of Xibo without Docker, but it will need to be on it’s own virtual host I think.