Skip to content

[BUG] Docker image 1.4.9 upgrade result in nginx 404 not found #473

Description

@gabviv73

Describe the bug
Upgrading to 1.4.9 from 1.4.8 using docker compose results in blank page and 404 not found.

To Reproduce
Steps to reproduce the behavior:

set VERSION=1.4.9 in .env
docker compose down, docker compose up

Additional context

docker-compose.yml

services:
  mailarchive.example.com-db:
    image: mariadb:12.0.2
    container_name: mailarchive.example.com-db
    restart: unless-stopped
    env_file: .env
    command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
    volumes:
      - ./mariadb_data:/var/lib/mysql
      - ./mariadb_piler.cnf:/etc/mysql/conf.d/piler.cnf:ro
    healthcheck:
      test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
      start_period: 10s
      interval: 10s
      timeout: 5s
      retries: 3

  mailarchive.example.com-manticore:
    image: manticoresearch/manticore:14.1.0
    container_name: mailarchive.example.com-manticore
    restart: unless-stopped
    volumes:
      - ./manticore.conf:/etc/manticoresearch/manticore.conf
      - ./manticore_data:/var/lib/manticore

  mailarchive.example.com-memcached:
    image: memcached
    container_name: mailarchive.example.com-memcached
    command: -m 64

  mailarchive.example.com-app:
    image: sutoj/piler:${VERSION:-1.4.8}
    container_name: mailarchive.example.com-app
    init: true
    env_file: .env
    ports:
      - "2525:25"
      - "8025:80"
    volumes:
      - ./piler_data/etc:/etc/piler
      - ./piler_data/store:/var/piler/store
      # - /mnt:/mnt
    healthcheck:
      test: curl -s smtp://localhost/
      interval: "20s"
      timeout: "3s"
      start_period: "15s"
      retries: 3
    depends_on:
      mailarchive.example.com-db:
        condition: service_healthy
      mailarchive.example.com-manticore:
        condition: service_started
      mailarchive.example.com-memcached:
        condition: service_started

.env

ARCHIVE_HOST=mailarchive.example.com
MANTICORE_HOSTNAME=mailarchive.example.com-manticore
MEMCACHED_HOSTNAME=mailarchive.example.com-memcached
MYSQL_DATABASE=piler
MYSQL_DATABASE=piler
MYSQL_HOSTNAME=mailarchive.example.com-db
MYSQL_PASSWORD=piler123
MYSQL_ROOT_PASSWORD=piler123
MYSQL_USER=piler
RT=1
PILER_HOSTNAME=${ARCHIVE_HOST}
VERSION=1.4.9

docker compose logs -f

mailarchive.example.com-app  | $config['RT'] = 1;
mailarchive.example.com-app  | $config['SPHINX_MAIN_INDEX'] = 'piler1';
mailarchive.example.com-app  | $config['SPHINX_HOSTNAME'] = 'mailarchive.example.com-manticore:9306';
mailarchive.example.com-app  | $config['SPHINX_HOSTNAME_READONLY'] = 'mailarchive.example.com-manticore:9307';
mailarchive.example.com-app  | Database
mailarchive.example.com-app  | information_schema
mailarchive.example.com-app  | piler
mailarchive.example.com-app  | DEBUG: mailarchive.example.com-db is ready
mailarchive.example.com-app  | DEBUG: metadata table exists
mailarchive.example.com-app  |  * Starting periodic command scheduler cron
mailarchive.example.com-app  |    ...done.
mailarchive.example.com-app  |  * Starting nginx nginx
mailarchive.example.com-app  |    ...done.
mailarchive.example.com-app  | rsyslogd: imklog: cannot open kernel log (/proc/kmsg): Operation not permitted.
mailarchive.example.com-app  | rsyslogd: activation of module imklog failed [v8.2312.0 try https://www.rsyslog.com/e/2145 ]
mailarchive.example.com-app  | starting piler-smtp . . . 
mailarchive.example.com-app  | starting piler . . .
mailarchive.example.com-manticore  | [Wed Jun 17 14:53:39.028 2026] [1] using config file '/etc/manticoresearch/manticore.conf.sh' (2571 chars)...
mailarchive.example.com-manticore  | starting daemon version '14.1.0 2b53a9307@25110709 (columnar 8.1.0 e1522a2@25100213) (secondary 8.1.0 e1522a2@25100213) (knn 8.1.0 e1522a2@25100213) (embeddings 1.0.1)' ...
mailarchive.example.com-manticore  | listening on all interfaces for sphinx and http(s), port=9312
mailarchive.example.com-manticore  | listening on all interfaces for mysql, port=9306
mailarchive.example.com-manticore  | listening on all interfaces for RO mysql, port=9307
mailarchive.example.com-manticore  | Manticore 14.1.0 2b53a9307@25110709 (columnar 8.1.0 e1522a2@25100213) (secondary 8.1.0 e1522a2@25100213) (knn 8.1.0 e1522a2@25100213) (embeddings 1.0.1)
mailarchive.example.com-manticore  | Copyright (c) 2001-2016, Andrew Aksyonoff
mailarchive.example.com-manticore  | Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
mailarchive.example.com-manticore  | Copyright (c) 2017-2025, Manticore Software LTD (https://manticoresearch.com)
mailarchive.example.com-manticore  | 
mailarchive.example.com-manticore  | precaching table 'piler1'
mailarchive.example.com-manticore  | precaching table 'tag1'
mailarchive.example.com-manticore  | precaching table 'note1'
mailarchive.example.com-manticore  | precaching table 'audit1'
mailarchive.example.com-manticore  | accepting connections
mailarchive.example.com-manticore  | prereading 4 tables
mailarchive.example.com-manticore  | preread 4 tables in 1.586 sec
mailarchive.example.com-manticore  | rt: table piler1: ramchunk saved ok (mode=periodic, last TID=2771681, current TID=2771684, ram=0.098 Mb, time delta=300 sec, took=0.220 sec)
mailarchive.example.com-db         | 2026-06-17 14:53:38+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:12.0.2+maria~ubu2404 started.
mailarchive.example.com-db         | 2026-06-17 14:53:39+00:00 [Warn] [Entrypoint]: /sys/fs/cgroup///memory.pressure not writable, functionality unavailable to MariaDB
mailarchive.example.com-db         | 2026-06-17 14:53:39+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
mailarchive.example.com-db         | 2026-06-17 14:53:39+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:12.0.2+maria~ubu2404 started.
mailarchive.example.com-db         | 2026-06-17 14:53:40+00:00 [Note] [Entrypoint]: MariaDB upgrade not required
mailarchive.example.com-db         | 2026-06-17 14:53:40 0 [Note] Starting MariaDB 12.0.2-MariaDB-ubu2404 source revision aab83aecdca15738d114cf5a2f223f1d12e4e6bd server_uid 23+MOwn0hwc6SR/fTddB4R7owsY= as process 1
mailarchive.example.com-db         | 2026-06-17 14:53:40 0 [Warning] --innodb-file-per-table is deprecated and will be removed in a future release
mailarchive.example.com-db         | 2026-06-17 14:53:40 0 [Note] InnoDB: Compressed tables use zlib 1.3
mailarchive.example.com-db         | 2026-06-17 14:53:40 0 [Note] InnoDB: Number of transaction pools: 1
mailarchive.example.com-db         | 2026-06-17 14:53:40 0 [Note] InnoDB: Using SSE4.2 crc32 instructions
mailarchive.example.com-db         | 2026-06-17 14:53:40 0 [Warning] mariadbd: io_uring_queue_init() failed with EPERM: sysctl kernel.io_uring_disabled has the value 2, or 1 and the user of the process is not a member of sysctl kernel.io_uring_group. (see man 2 io_uring_setup).
mailarchive.example.com-db         | create_uring failed: falling back to libaio
mailarchive.example.com-db         | 2026-06-17 14:53:40 0 [Note] InnoDB: Using Linux native AIO
mailarchive.example.com-db         | 2026-06-17 14:53:40 0 [Note] InnoDB: innodb_buffer_pool_size_max=256m, innodb_buffer_pool_size=256m
mailarchive.example.com-db         | 2026-06-17 14:53:40 0 [Note] InnoDB: Completed initialization of buffer pool
mailarchive.example.com-db         | 2026-06-17 14:53:40 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes)
mailarchive.example.com-db         | 2026-06-17 14:53:40 0 [Note] InnoDB: End of log at LSN=8013243954
mailarchive.example.com-db         | 2026-06-17 14:53:40 0 [Note] InnoDB: Opened 3 undo tablespaces
mailarchive.example.com-db         | 2026-06-17 14:53:40 0 [Note] InnoDB: 128 rollback segments in 3 undo tablespaces are active.
mailarchive.example.com-db         | 2026-06-17 14:53:40 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...
mailarchive.example.com-db         | 2026-06-17 14:53:40 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
mailarchive.example.com-db         | 2026-06-17 14:53:40 0 [Note] InnoDB: log sequence number 8013243954; transaction id 19898861
mailarchive.example.com-db         | 2026-06-17 14:53:40 0 [Note] Plugin 'FEEDBACK' is disabled.
mailarchive.example.com-db         | 2026-06-17 14:53:40 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
mailarchive.example.com-db         | 2026-06-17 14:53:40 0 [Note] Plugin 'wsrep-provider' is disabled.
mailarchive.example.com-db         | 2026-06-17 14:53:40 0 [Warning] 'innodb-log-files-in-group' was removed. It does nothing now and exists only for compatibility with old my.cnf files.
mailarchive.example.com-db         | 2026-06-17 14:53:40 0 [Note] InnoDB: Buffer pool(s) load completed at 260617 14:53:40
mailarchive.example.com-db         | 2026-06-17 14:53:44 0 [Note] Server socket created on IP: '0.0.0.0', port: '3306'.
mailarchive.example.com-db         | 2026-06-17 14:53:44 0 [Note] Server socket created on IP: '::', port: '3306'.
mailarchive.example.com-db         | 2026-06-17 14:53:44 0 [Note] mariadbd: Event Scheduler: Loaded 0 events
mailarchive.example.com-db         | 2026-06-17 14:53:44 0 [Note] mariadbd: ready for connections.
mailarchive.example.com-db         | Version: '12.0.2-MariaDB-ubu2404'  socket: '/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions