Cms instalaition on Ubuntu 20

To be completed by the original poster:

CMS Version

Xibo-docker-3.2.1 downloaded from github

Installation Method

Docker

Operating System

Ubuntu Desktop 20.04.5 LTS

Issue

After going all the installation steps according to the guide on the web-page https://linuxopsys.com/topics/install-xibo-cms-on-ubuntu ( skipping the part for nginx as a start), after running the command docker-compose up -d I get the regular starting procedure, then I get this

"
MySQL Server 5.7.40-1.el7 started.
xibo-cms-db-1 | 2022-11-01 09:18:10+00:00 [ERROR] [Entrypoint]: MYSQL_USER=“root”, MYSQL_USER and MYSQL_PASSWORD are for configuring a regular user and cannot be used for the root user
xibo-cms-db-1 | Remove MYSQL_USER=“root” and use one of the following to control the root user password:
xibo-cms-db-1 | - MYSQL_ROOT_PASSWORD
xibo-cms-db-1 | - MYSQL_ALLOW_EMPTY_PASSWORD
xibo-cms-db-1 | - MYSQL_RANDOM_ROOT_PASSWORD
xibo-cms-db-1 exited with code 1
"
and keeps repeating on and on again.

I read a lot of posts on the community here and I tried several things, changing the MYSQL-Password password in the config.env.
also tried changing the lines for the mysql_user=root and Mysql_random_root_password=yes in the docker- compose.yml.
every time I change anything, I go through the cycle of
docker-compose down / rm -r shared/db / docker-compose up and I always get the same result mentioned above.

For reference the docker-compose config reads as follows:

services:
cms-db:
environment:
CMS_SERVER_NAME: 127.0.0.1
CMS_SMTP_FROM_LINE_OVERRIDE: “YES”
CMS_SMTP_HOSTNAME: gmail.com
CMS_SMTP_PASSWORD: yourpassword
CMS_SMTP_REWRITE_DOMAIN: gmail.com
CMS_SMTP_SERVER: smtp.gmail.com:587
CMS_SMTP_USE_STARTTLS: “YES”
CMS_SMTP_USE_TLS: “YES”
CMS_SMTP_USERNAME: youraccount@gmail.com
MYSQL_DATABASE: cms
MYSQL_PASSWORD: oceania
MYSQL_RANDOM_ROOT_PASSWORD: “yes”
MYSQL_USER: root
env_file:
- config.env
image: mysql:5.7
mem_limit: “1073741824”
networks:
default: null
restart: always
volumes:
- type: bind
source: ./shared/db
target: /var/lib/mysql
bind:
create_host_path: true
cms-memcached:
command:
- memcached
- -m
- “15”
image: memcached:alpine
mem_limit: “104857600”
networks:
default: null
restart: always
cms-quickchart:
image: ianw/quickchart
networks:
default: null
restart: always
cms-web:
environment:
CMS_SERVER_NAME: 127.0.0.1
CMS_SMTP_FROM_LINE_OVERRIDE: “YES”
CMS_SMTP_HOSTNAME: gmail.com
CMS_SMTP_PASSWORD: yourpassword
CMS_SMTP_REWRITE_DOMAIN: gmail.com
CMS_SMTP_SERVER: smtp.gmail.com:587
CMS_SMTP_USE_STARTTLS: “YES”
CMS_SMTP_USE_TLS: “YES”
CMS_SMTP_USERNAME: youraccount@gmail.com
CMS_USE_MEMCACHED: “true”
MEMCACHED_HOST: cms-memcached
MYSQL_PASSWORD: oceania
XMR_HOST: cms-xmr
env_file:
- config.env
image: xibosignage/xibo-cms:release-3.2.1
links:
- cms-db:mysql
- cms-xmr:50001
mem_limit: “1073741824”
networks:
default: null
ports:
- mode: ingress
target: 80
published: 8080
protocol: tcp
restart: always
volumes:
- type: bind
source: ./shared/cms/custom
target: /var/www/cms/custom
bind:
create_host_path: true
- type: bind
source: ./shared/backup
target: /var/www/backup
bind:
create_host_path: true
- type: bind
source: ./shared/cms/web/theme/custom
target: /var/www/cms/web/theme/custom
bind:
create_host_path: true
- type: bind
source: ./shared/cms/library
target: /var/www/cms/library
bind:
create_host_path: true
- type: bind
source: ./shared/cms/web/userscripts
target: /var/www/cms/web/userscripts
bind:
create_host_path: true
- type: bind
source: ./shared/cms/ca-certs
target: /var/www/cms/ca-certs
bind:
create_host_path: true
cms-xmr:
environment:
CMS_SERVER_NAME: 127.0.0.1
CMS_SMTP_FROM_LINE_OVERRIDE: “YES”
CMS_SMTP_HOSTNAME: gmail.com
CMS_SMTP_PASSWORD: yourpassword
CMS_SMTP_REWRITE_DOMAIN: gmail.com
CMS_SMTP_SERVER: smtp.gmail.com:587
CMS_SMTP_USE_STARTTLS: “YES”
CMS_SMTP_USE_TLS: “YES”
CMS_SMTP_USERNAME: youraccount@gmail.com
MYSQL_PASSWORD: oceania
env_file:
- config.env
image: xibosignage/xibo-xmr:0.9
mem_limit: “268435456”
networks:
default: null
ports:
- mode: ingress
target: 9505
published: 9505
protocol: tcp
restart: always
networks:
default:
name: xibo_default

Any Help ???

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.