Xibo Docker 1.8.11 Install Run Error

I am trying to install xibo 1.8.11 for windows through docker toolbox and have got as far as running the command:

$ docker-compose up -d

However it reports an error:

ERROR:
Can’t find a suitable configuration file in this directory or any
parent. Are you in the right directory?

    Supported filenames: docker-compose.yml, docker-compose.yaml

I hope this is an obvious mistake but I just cannot seem to find the answer. I have changed the port and added a mysql password

I have xibo downloaded and extracted and I have virtual host looking at the file which has been extracted ( I think, how can I confirm this? It seems to be looking at 2 directories)

I am running windows 10 personal. I have followed the online guides and to this point I thought I was going ok…

$ docker ps -a
error during connect: Get https://192.168.99.100:2376/v1.37/containers/json?all=1: dial tcp 192.168.99.100:2376: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

Any Ideas? Quite stuck on this

The error you are receiving after running docker-compose up -d suggests that you are running the command from a directory that does not contain the docker configuration files.

I would recommend opening an elevated/Administrator command line, changing the directory to the location of your yml files and running the docker-compose up -d command again. You can change the directory your command line is using by using the cd command, followed by the full directory location

If you are still receiving an error after doing this, please let me know.

Many Thanks.

Hi Dan,

Thank you for getting back to me really appreciate it!

I entered

cd

Then entered the directory manually where I have xibo stored

c:/users/xibo

Then ran

docker-compose up -d

However I still received the error message

ERROR:
Can’t find a suitable configuration file in this directory or any
parent. Are you in the right directory?

    Supported filenames: docker-compose.yml, docker-compose.yaml

Would you have another suggestion or approach?

Here is an image of the directory

and above is an image of the config file

hope this helps, if you need anything else please ask

In the screenshot, there appears to be a number of different files for other applications in with your Xibo CMS files. I would recommend against setting up multiple applications in the Users/Xibo directory and keeping this directory clear for your CMS configuration files.

The issue may be related to Docker Toolbox not running correctly. You can reset Docker by opening VirtualBox and deleting the VM named Default. After you have done this, re-open Docker Toolbox to initiate a full reset.

After you have reset Docker Toolbox I would recommend preparing and attempting to up the containers again. If you receive any errors, please provide screenshots.

Many Thanks.

Hi Dan,

Thanks again for replying!

Ok so fully reset docker and still same error on running ’ docker-compose up -d’

ERROR:
Can’t find a suitable configuration file in this directory or any
parent. Are you in the right directory?

no problem tidying the directory, however which files exactly would you like to keep? and where will I put the others or does it matter?

The above screenshot is my virtual box settings for network

The above is screenshot of virtual box shared folders

Any Ideas? Can I share anything else to help?

Can you provide a screenshot of the command terminal when you are entering the docker-compose up -d command? It would help to see the actual terminal and errors themselves if possible to make sure the command is being run from the correct directory.

Many Thanks.

Of course will upload now

Here is the screenshot after entering docker-compose up-d

The screenshot shows that you are running the docker-compose up -d command from the C:/Program Files/ Docker Toolbox directory, which is not where your yml files are.

You will need to first run the below command as one line:

cd c:\users\xibo

You will know it has successfully run as the directory will no longer state C:/Program Files/ Docker Toolbox in yellow as shown in your screenshot. It will instead state c:\users\xibo.

Once you have done this, run the docker-compose up -d command.

Many Thanks.

Hi Dan, tried this request however it is unable to find the directory… thanks for your continued help

Hi Dan, I tried spacing and using different case letters for the cd c:\users\xibo

Then I ran docker-compose up -d and got the above screenshot, I then tried to search localhost on my pc and got a fatal error, any call on next move?

Thank you for the screenshots. According to your last screenshot, all 3 containers have been created, your CMS containers should be running.

You may find that when first setting up the CMS, it takes some time to become available. I would recommend giving the containers/CMS some time, perhaps 15 minutes to finish.

Many Thanks.

Hi Daniel,

Unfortunately still no luck for me here…

Please see above image

Note I did get a slightly different error message this time if that’s positive

Fatal Error - sorry this shouldn’t happen. SQLSTATE[HY000] [1045] Access denied for user ‘cms’@‘172.20.0.4’ (using password: YES)

Any Ideas?

I read previous support pages and tried Alex’s

docker-compose down
sudo rm -r shared
docker-compose up -d

However the compose down and up comments worked but the sudo rm -r shared was unknown

There are 2 possible reasons why you are receiving this error.

Inside your config.env file, you will have set the MYSQL_PASSWORD. The rules for the password are mentioned in the comments at the top of the config file, stating that the password should only contain alphanumeric characters. If you have set a password that contains spaces or special characters in your MySQL password, you will need to change it to a valid password.

The error may also be generated if the Containers are created but config.env file was not fully configured. If the configuration of config.env is changed after the containers have been created and the docker-compose up -d command is run again. If this is the case, docker-compose down the containers, delete the contents of the shared/db folder and attempt the up command again.

If the above suggestions do not resolve the issue, please let me know if the error has changed. You can also send me a copy of your config.env file in a private message so I can take a look.

Many Thanks.

Thanks Daniel,

Pm’d you there