Webserver gives 404 after running some time

CMS Version

3.3.4

Installation Method

Docker (docker-compose version 1.25.0, build unknown)

Operating System

debian 11.6

Issue

I´ve a fresh install of xibo docker at my debian 11 virtual machine and I´m using the internal webserver with port 80. After running some time I can´t access the web interface any more because a get an 404 error of the docker webserver. Also the players are disconnected (error mail is sent).

I don´t know, what possibly could cause this problem. I´ve already disabled memcache, but it doesn´t seem to be the problem. This is my docker-compose yml:

version: "2.1"

services:
    cms-db:
        image: mysql:5.7
        volumes:
            - "./shared/db:/var/lib/mysql:Z"
        environment:
            - MYSQL_DATABASE=cms
            - MYSQL_USER=cms
            - MYSQL_RANDOM_ROOT_PASSWORD=yes
        mem_limit: 1g
        env_file: config.env
        restart: always
    cms-xmr:
        image: ghcr.io/xibosignage/xibo-xmr:0.9
        ports:
            - "9505:9505"
        restart: always
        mem_limit: 256m
        env_file: config.env
    cms-web:
        image: ghcr.io/xibosignage/xibo-cms:release-3.3.4
        volumes:
            - "./shared/cms/custom:/var/www/cms/custom:Z"
            - "./shared/backup:/var/www/backup:Z"
            - "./shared/cms/web/theme/custom:/var/www/cms/web/theme/custom:Z"
            - "./shared/cms/library:/var/www/cms/library:Z"
            - "./shared/cms/web/userscripts:/var/www/cms/web/userscripts:Z"
            - "./shared/cms/ca-certs:/var/www/cms/ca-certs:Z"
        restart: always
        links:
            - cms-db:mysql
            - cms-xmr:50001
        environment:
            - XMR_HOST=cms-xmr
            - CMS_USE_MEMCACHED=false
            - MEMCACHED_HOST=cms-memcached
        env_file: config.env
        ports:
            - "80:80"
        mem_limit: 1g
    cms-memcached:
        image: memcached:alpine
        command: memcached -m 15
        restart: always
        mem_limit: 100M
    cms-quickchart:
      image: ianw/quickchart
      restart: always

Docker logs of the cms container says:

Importing ca-certs
cp: can't stat '/var/www/cms/ca-certs/*.pem': No such file or directory
cp: can't stat '/var/www/cms/ca-certs/*.crt': No such file or directory
WARNING: ca-certificates.crt does not contain exactly one certificate or CRL: skipping
Setting up Quickchart
Configuring Maintenance
crontab: can't open '/etc/crontabs/apache': Permission denied
Starting cron
Starting webserver
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.18.0.5. Set the 'ServerName' directive globally to suppress this message

Xibo is hosted on an internal vm, so no https is configured.

I think, I´ve solved it. There was an old additional A record at my AD.

1 Like

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