Nextbox start loop

I have solved my issue, my solution (as root):

1- check the docker process

# docker ps    
CONTAINER ID   IMAGE                 COMMAND                  CREATED         STATUS                                     PORTS      NAMES
c2d9bb95b648   mariadb:10.11.11      "docker-entrypoint.s…"   7 seconds ago   Up Less than a second (health: starting)   3306/tcp   nextbox-compose_db_1
6ef510f07732   redis:5.0.11-alpine   "docker-entrypoint.s…"   7 seconds ago   Up Less than a second (health: starting)   6379/tcp   nextbox-compose_redis_1

2- check the log for mariadb

# docker logs c2d9bb95b648
2025-04-25 14:20:24+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.11.11+maria~ubu2204 started.
2025-04-25 14:20:25+00:00 [Warn] [Entrypoint]: /sys/fs/cgroup///memory.pressure not writable, functionality unavailable to MariaDB
2025-04-25 14:20:25+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2025-04-25 14:20:25+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.11.11+maria~ubu2204 started.
2025-04-25 14:20:25+00:00 [Note] [Entrypoint]: MariaDB upgrade information missing, assuming required
2025-04-25 14:20:25+00:00 [Note] [Entrypoint]: Starting temporary server
2025-04-25 14:20:25+00:00 [Note] [Entrypoint]: Waiting for server startup
2025-04-25 14:20:25 0 [Note] Starting MariaDB 10.11.11-MariaDB-ubu2204 source revision e69f8cae1a15e15b9e4f5e0f8497e1f17bdc81a4 server_uid 5BqD24+tOteoHr51odDq103BvFw= as process 58
2025-04-25 14:20:25 0 [Warning] You need to use --log-bin to make --binlog-format work.
...
2025-04-25 14:20:25 0 [ERROR] InnoDB: Upgrade after a crash is not supported. The redo log was created with MariaDB 10.5.9. You must start up and shut down MariaDB 10.7 or earlier.

there are error with mariadb version

3- stop docker

systemctl stop nextbox-daemon
systemctl stop nextbox-compose

4- check there are no docker process

# docker ps
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES

5-edit yml

cd /usr/lib/nextbox-compose/
vim docker-compose.yml

change mariadb:10:11:11 to mariadb:10:7

services:
  db:
    image: mariadb:10.7

6- restart nextbox docker

systemctl start nextbox-daemon
systemctl start nextbox-compose

After few minutes the green led is fix and the web interface is ok with the new version of nextcloud

1 Like