Dtable load failed after update (Docker) - no connection to mariadb

Hi, I’m writing here because are weeks I’m looking for a solution to my problem. Unfortunately nothing I’ve found helped me but only confused me even more. First of all I’m running the development version via docker compose and since I’ve updated to version 4.3.0 I’m not able to create, open, export bases. In particular when I try to create a base I get internal error server, with a 500 code, but after refreshing the page the new base appear. I can’t open (dtable_uuid: […] - Dtable load failed error as for the others) it but I can delete it with no error.
What I’ve done: for the update I’ve followed the upgrade manual, with the notice page (adding django csrf parameter and mariaDB healhcheck). I’ve updatate my docker compose file with the new version listed in your example file: mariaDB(10.11) memcached(1.5.6), redis (5.0.7).
The first thing I checked was all the URLs in all the config files. Althought there was some http insted of https that wasn’t the problem. I’ve also then checked if my container was able to reach his own domain and runned an fsck to be sure.
In the end I’ve tried to make a backup of all the files and create a new one. It works with no problem but as soon as I try to reimport data from the backup folder it stops working. I think the problem is a corruption of the db_data folder because: 1. it appears to be a database error, 2. that folder in a fresh installation have a size of 2gb, in my backup folder is 1mb, 3. mariaDB is the only container that give an error ([Warning] Aborted connection to db: ‘dtable_db’ user: ‘root’ host: ‘172.24.0.5’ (Got an error reading communication packets))
At this point I doubt to be able to restore my installation, but I’d like to do it, or at least find a method to export my bases via command line and reimport as new in a different installation. (fsck --export saved only files and script, but no data from the tables).

Hey federico,

I am sorry to hear that you have problems with your setup. Here are some of my thoughts:

  • did you try to revert your docker-compose.yml to the old settings? This should be possible at any time.
  • if SeaTable worked before, there is no need of changing any URLs in the settings
  • please provide more logs or info like docker ps or any error messages from the log folder, otherwise nobody will be capable to help you.

If you didn’t find a solution, you can also ask for professional help. It is not too costly and after 15-30 minutes you will quite likely have a running system again.

Hi, thank you for your response, and I’m sorry to have been confusing in my post.
I tried to revert my installation to versions 4.2.0 and 4.0.0 following this steps: stop the container, delete the seatable folder, recreate the stack re-pulling the images, test if the new installation worked (and worked for all the versions), restore the old folders till it stopped working.
This evening I was collecting logs to post here with different versions when I decided to take a step further: I downgraded to version 3.5.0 and in laziness I’ve just copy all the folders, except the conf one, over the new one without deleting them. Docker take longer to restart after this passage but I’m now able to access the bases. From this point I’m able to export and reimport them in another fresh installation with the latest version. Edit.: upgrading from 3.5.0 to 4.0.0 recreate the preview problem, thats why I’m manually importing the bases to a fresh installation.

For reference, I can confirm this error and warning in the logs:

mysql:

[Warning] Aborted connection 3 to db: 'seafile_db' user: 'root' host: '172.24.0.5' (Got an error reading communication packets)

[Warning] Aborted connection 19 to db: 'dtable_db' user: 'root' host: '172.24.0.5' (Got an error reading communication packets)

nginx:

[error] 219602#0: *10869 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: <client ip>, server: seatable.<mydomain>.com, request: "GET / HTTP/2.0", upstream: "http://127.0.0.1:8091/", host: "seatable.<mydomain>.com"
[error] 219602#0: *10869 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: <client ip>, server: seatable.<mydomain>.comrequest: "GET /favicon.ico HTTP/2.0", upstream: "http://127.0.0.1:8091/favicon.ico", host: "seatable.<mydomain>.com", referrer: "https://seatable.<mydomain>.com"
[error] 219602#0: *10869 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: <client ip>, server: seatable.<mydomain>.comrequest: "GET /serviceworker.js HTTP/2.0", upstream: "http://127.0.0.1:8091/serviceworker.js", host: "seatable.<mydomain>.com"
[error] 219602#0: *11843 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: <client ip>, server: seatable.<mydomain>.comrequest: "GET /accounts/login/?next=/ HTTP/2.0", upstream: "http://127.0.0.1:8091/accounts/login/?next=/", host: "seatable.<mydomain>.com
[error] 94260#0: *22981 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: <client ip>, server: seatable.<mydomain>.comrequest: "GET /socket.io/?dtable_uuid=a4817793-e5cb-4b06-8fed-55d7ab1a1d21&amp;lang=en&amp;EIO=3&amp;transport=polling&amp;t=Oq54NSb HTTP/2.0", upstream: "http://127.0.0.1:8091/socket.io/?dtable_uuid=a4817793-e5cb-4b06-8fed-55d7ab1a1d21&amp;lang=en&amp;EIO=3&amp;transport=polling&amp;t=Oq54NSb", host: "seatable.<mydomain>.com", referrer: "https://seatable.<mydomain>.com/workspace/1/dtable/Libro%20incantesimi/?tid=cbch&amp;vid=0000"

console:

dtable_uuid: d8e9757a-a559-4977-87b4-bd21ab3dbd7c - Dtable load failed

Your information clearly says that your mariadb is not reachable. There is no hint, why this is the case but there are multiple options to get more information like:

docker ps
docker logs mariadb
...

This is the result of docker ps of the image not working:

b20a7d0b3852   seatable/seatable-developer:latest                   "/sbin/my_init -- /t…"   13 hours ago    Up 2 hours             0.0.0.0:8091->80/tcp, :::8091->80/tcp                                                                                                                                   seatable
f0b41ce6b05e   mariadb:10.11                                        "docker-entrypoint.s…"   13 hours ago    Up 2 hours             3306/tcp                                                                                                                                                                seatable-mysql
5046e3e65967   redis:5.0.7                                          "docker-entrypoint.s…"   13 hours ago    Up 2 hours             6379/tcp                                                                                                                                                                seatable-redis
6f66eb70b99f   memcached:1.5.6                                      "memcached -m 256"       13 hours ago    Up 2 hours             11211/tcp                                                                                                                                                               seatable-memcached

docker logs mariadb is literally this:

[Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.11.7+maria~ubu2204 started.

[Warn] [Entrypoint]: /sys/fs/cgroup///memory.pressure not writable, functionality unavailable to MariaDB

[Note] [Entrypoint]: Switching to dedicated user 'mysql'

[Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.11.7+maria~ubu2204 started.

[Note] [Entrypoint]: MariaDB upgrade not required

[Note] Starting MariaDB 10.11.7-MariaDB-1:10.11.7+maria~ubu2204 source revision 87e13722a95af5d9378d990caf48cb6874439347 as process 1

[Note] InnoDB: Compressed tables use zlib 1.2.11

[Note] InnoDB: Number of transaction pools: 1

[Note] InnoDB: Using crc32 + pclmulqdq instructions

[Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts)

[Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB

[Note] InnoDB: Completed initialization of buffer pool

[Note] InnoDB: File system buffers for log disabled (block size=512 bytes)

[Note] InnoDB: End of log at LSN=38726924

[Note] InnoDB: 128 rollback segments are active.

[Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...

[Note] InnoDB: File './ibtmp1' size is now 12.000MiB.

[Note] InnoDB: log sequence number 38726924; transaction id 65836

[Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool

[Note] Plugin 'FEEDBACK' is disabled.

[Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work.

[Note] Server socket created on IP: '0.0.0.0'.

[Note] Server socket created on IP: '::'.

[Note] mariadbd: ready for connections.

Version: '10.11.7-MariaDB-1:10.11.7+maria~ubu2204'  socket: '/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution

[Note] InnoDB: Buffer pool(s) load completed at 240405  7:02:51

followed by a very long list of this two warning:

[Warning] Aborted connection 3 to db: 'seafile_db' user: 'root' host: '172.24.0.5' (Got an error reading communication packets)

[Warning] Aborted connection 19 to db: 'dtable_db' user: 'root' host: '172.24.0.5' (Got an error reading communication packets)

I see a new warning is logged every 3/5 seconds more or less.

Every stack is on his own network isolated from others like the new seatable stack and seafile:

494bf0b44d15	seatable/seatable-developer:latest                   "/sbin/my_init -- /t…"   13 hours ago    Up 2 hours             0.0.0.0:8091->80/tcp, :::8091->80/tcp                                                                                                                                   seatable-new
e0c1e66744c3   mariadb:10.11                                        "docker-entrypoint.s…"   13 hours ago    Up 2 hours             3306/tcp                                                                                                                                                                seatable-new-mysql
09bc66ce7a51   redis:5.0.7                                          "docker-entrypoint.s…"   13 hours ago    Up 2 hours             6379/tcp                                                                                                                                                                seatable-new-redis
8cfff481177c   memcached:1.5.6                                      "memcached -m 256"       13 hours ago    Up 2 hours             11211/tcp                                                                                                                                                               seatable-new-memcached
c4b5d9a15ebc   seafileltd/seafile-mc:latest                         "/sbin/my_init -- /s…"   4 days ago      Up 2 hours             0.0.0.0:81->80/tcp, :::81->80/tcp                                                                                                                                       seafile
6e34008fb91f   mariadb:10.11                                        "docker-entrypoint.s…"   4 days ago      Up 2 hours             3306/tcp                                                                                                                                                                seafile-mysql
7691ccb7fda2   memcached:1.6.18                                     "memcached -m 256"       4 days ago      Up 2 hours             11211/tcp                                                                                                                                                               seafile-memcached

And the relevant networks:

NETWORK ID     NAME                             DRIVER    SCOPE
74adaa79aafc   seatable-new_seatable-net        bridge    local
c62c8d1f8e5b   host                             host      local
7b564574d90c   seafile-stack_seafile-net        bridge    local
2abba28e6de6   seatable_seatable-net            bridge    local

Seatable docker:

*** Running /etc/my_init.d/01_init.sh...

*** Booting runit daemon...

*** Runit started as PID 16

*** Running /templates/enterpoint.sh...

2024-04-05 09:02:51 Conf exists 

2024-04-05 09:02:51 Nginx ready 

2024-04-05 09:02:56 Start server 

SeaTable started

2024-04-05 09:02:59 For more startup information, please check the /opt/seatable/logs/init.log 

2024-04-05 09:02:59 This is an idle script (infinite loop) to keep container running.

Redis:

1:C 05 Apr 2024 07:02:48.124 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo

1:C 05 Apr 2024 07:02:48.124 # Redis version=5.0.7, bits=64, commit=00000000, modified=0, pid=1, just started

1:C 05 Apr 2024 07:02:48.124 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf

1:M 05 Apr 2024 07:02:48.139 * Running mode=standalone, port=6379.

1:M 05 Apr 2024 07:02:48.139 # Server initialized

1:M 05 Apr 2024 07:02:48.139 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.

1:M 05 Apr 2024 07:02:48.144 * DB loaded from disk: 0.005 seconds

1:M 05 Apr 2024 07:02:48.144 * Ready to accept connections

memcached log is empty

Ok, I don’t know what you did, but you mixed quite some things up:

  • I can see from docker ps, that your mariadb container has the name “seatable-mysql”.
  • but the container should be called either db version 3.3 and older or mariadb
  • from the logs I can see that in your config files you use db as name for your mariadb container

Long story short: make sure that your seatable-server can reach your database. Either change container name to db or update your config files.

Yes, because this is how the docker-compose.yml you provide works:

services:
  db:
    image: mariadb:10.11
    container_name: seatable-mysql
    environment:
      - MYSQL_ROOT_PASSWORD=PASSWORD  # Requested, set the root's password of MySQL service.
      - MYSQL_LOG_CONSOLE=true
      - MARIADB_AUTO_UPGRADE=1
    volumes:
      - /opt/seatable/mysql-data:/var/lib/mysql  # Requested, specifies the path to MySQL data persistent store.
    networks:
      - seatable-net

  seatable:
    image: seatable/seatable-developer:latest
    container_name: seatable
    ports:
      - "80:80"
      - "443:443"  # If https is enabled, cancel the comment.
    volumes:
      - /opt/seatable/seatable-data:/shared  # Requested, specifies the path to Seafile data persistent store.
    environment:
      - DB_HOST=db
      - DB_ROOT_PASSWD=PASSWORD  # Requested, the value should be root's password of MySQL service.
      - SEATABLE_SERVER_LETSENCRYPT=False # Default is False. Whether to use let's encrypt certificate.
      - SEATABLE_SERVER_HOSTNAME=example.seatable.com # Specifies your host name.
      - TIME_ZONE=Etc/UTC # Optional, default is UTC. Example: Europe/Berlin. Choices can be found here: http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
    depends_on:
      - db
      - memcached
      - redis
    networks:
      - seatable-net

My compose:

  db:
    image: mariadb:10.11
    container_name: seatable-mysql
    environment:
      - MYSQL_ROOT_PASSWORD=<my db password># Requested, set the root's password of MySQL service.
      - MYSQL_LOG_CONSOLE=true
      - MARIADB_AUTO_UPGRADE=1
    volumes:
      - /seafile/seatable/mysql-data:/var/lib/mysql  # Requested, specifies the path to MySQL data persistent store.
    networks:
      - seatable-net
    restart: 'unless-stopped'

  seatable:
    image: seatable/seatable-developer:latest
    container_name: seatable
    ports:
      - "8091:80"
#      - "430:443"  # If https is enabled, cancel the comment.
    volumes:
      - /seafile/seatable/seatable-data:/shared  # Requested, specifies the path to Seafile data persistent store.
    environment:
      - DB_HOST=db
      - DB_ROOT_PASSWD=<my db password as above> # Requested, the value should be root's password of MySQL service.
      - SEATABLE_SERVER_LETSENCRYPT=False # Default is False. Whether to use let's encrypt certificate.
      - SEATABLE_SERVER_HOSTNAME=seatable.<my domain>.com # Specifies your host name.
      - TIME_ZONE=Europe/Rome # Optional, default is UTC. Example: Europe/Berlin. Choices can be found here: http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
    depends_on:
      - db
      - memcached
      - redis
    networks:
      - seatable-net
    restart: 'unless-stopped'

DB should be the name of the service, and it should work with the internal DNS of docker. In fact it works in the fresh 4.3.0 installation and other service like seafile which use the same configuration

As docker inspect:

[
    {
        "Id": "f0b41ce6b05eb0ae76f81107df1b964bb27b8470592d9d73515cfc99d80f108f",
        "Created": "2024-04-04T20:45:02.598149307Z",
        "Path": "docker-entrypoint.sh",
        "Args": [
            "mariadbd"
        ],
        "State": {
            "Status": "running",
            "Running": true,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 7047,
            "ExitCode": 0,
            "Error": "",
            "StartedAt": "2024-04-05T07:02:47.906244555Z",
            "FinishedAt": "2024-04-04T23:23:51.611133784Z"
        },
        "Image": "sha256:ba6f6d8eea0a2eec13955e15aa31621d341df5a90d1b9895da870b964e4aa3e8",
        "ResolvConfPath": "/var/lib/docker/containers/f0b41ce6b05eb0ae76f81107df1b964bb27b8470592d9d73515cfc99d80f108f/resolv.conf",
        "HostnamePath": "/var/lib/docker/containers/f0b41ce6b05eb0ae76f81107df1b964bb27b8470592d9d73515cfc99d80f108f/hostname",
        "HostsPath": "/var/lib/docker/containers/f0b41ce6b05eb0ae76f81107df1b964bb27b8470592d9d73515cfc99d80f108f/hosts",
        "LogPath": "/var/lib/docker/containers/f0b41ce6b05eb0ae76f81107df1b964bb27b8470592d9d73515cfc99d80f108f/f0b41ce6b05eb0ae76f81107df1b964bb27b8470592d9d73515cfc99d80f108f-json.log",
        "Name": "/seatable-mysql",
        "RestartCount": 0,
        "Driver": "overlay2",
        "Platform": "linux",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "docker-default",
        "ExecIDs": null,
        "HostConfig": {
            "Binds": [
                "/seafile/seatable/mysql-data:/var/lib/mysql:rw"
            ],
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {}
            },
            "NetworkMode": "seatable_seatable-net",
            "PortBindings": {},
            "RestartPolicy": {
                "Name": "unless-stopped",
                "MaximumRetryCount": 0
            },
            "AutoRemove": false,
            "VolumeDriver": "",
            "VolumesFrom": null,
            "ConsoleSize": [
                0,
                0
            ],
            "CapAdd": null,
            "CapDrop": null,
            "CgroupnsMode": "private",
            "Dns": [],
            "DnsOptions": [],
            "DnsSearch": [],
            "ExtraHosts": [],
            "GroupAdd": null,
            "IpcMode": "private",
            "Cgroup": "",
            "Links": null,
            "OomScoreAdj": 0,
            "PidMode": "",
            "Privileged": false,
            "PublishAllPorts": false,
            "ReadonlyRootfs": false,
            "SecurityOpt": null,
            "UTSMode": "",
            "UsernsMode": "",
            "ShmSize": 67108864,
            "Runtime": "runc",
            "Isolation": "",
            "CpuShares": 0,
            "Memory": 0,
            "NanoCpus": 0,
            "CgroupParent": "",
            "BlkioWeight": 0,
            "BlkioWeightDevice": null,
            "BlkioDeviceReadBps": null,
            "BlkioDeviceWriteBps": null,
            "BlkioDeviceReadIOps": null,
            "BlkioDeviceWriteIOps": null,
            "CpuPeriod": 0,
            "CpuQuota": 0,
            "CpuRealtimePeriod": 0,
            "CpuRealtimeRuntime": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "Devices": null,
            "DeviceCgroupRules": null,
            "DeviceRequests": null,
            "MemoryReservation": 0,
            "MemorySwap": 0,
            "MemorySwappiness": null,
            "OomKillDisable": null,
            "PidsLimit": null,
            "Ulimits": null,
            "CpuCount": 0,
            "CpuPercent": 0,
            "IOMaximumIOps": 0,
            "IOMaximumBandwidth": 0,
            "MaskedPaths": [
                "/proc/asound",
                "/proc/acpi",
                "/proc/kcore",
                "/proc/keys",
                "/proc/latency_stats",
                "/proc/timer_list",
                "/proc/timer_stats",
                "/proc/sched_debug",
                "/proc/scsi",
                "/sys/firmware",
                "/sys/devices/virtual/powercap"
            ],
            "ReadonlyPaths": [
                "/proc/bus",
                "/proc/fs",
                "/proc/irq",
                "/proc/sys",
                "/proc/sysrq-trigger"
            ]
        },
        "GraphDriver": {
            "Data": {
                "LowerDir": "/var/lib/docker/overlay2/dc1fe8aeff8cd57b77c7deea30033fa705f446f21dbba045d6b65ca807a7f362-init/diff:/var/lib/docker/overlay2/2bac522ee7c3a5bed46d478c7f9157d03c2baba7826a1dbef584a9d4251043fe/diff:/var/lib/docker/overlay2/f2868e68a7c66f4218ee58362e9257ebd4ec2977c47af9a088fda21091155d4c/diff:/var/lib/docker/overlay2/1e65dd9c399f87d88b9aeebeb68ba5610641c0c45f7f351f2277b674d643d2f4/diff:/var/lib/docker/overlay2/e8173724c53c64a59d21dabd83199f8ad7e212caf493ddd9bbbf2097e603945b/diff:/var/lib/docker/overlay2/47e85b7554b14d7cd5066e2010cca6bfe1a82f91130c72cd4889aac706f55966/diff:/var/lib/docker/overlay2/65adff0a9fb1c921bf04a8007e87b8ae0fa0117129c7b891aff70e087c3c80c5/diff:/var/lib/docker/overlay2/c1ae6a966a4fbee70e99eacb9ace0861bc57226614401af903ac355b067c319d/diff:/var/lib/docker/overlay2/c525f94c27322bbd09010fd1be0ec25d65ae54ff154cd06cded1724e410949dd/diff",
                "MergedDir": "/var/lib/docker/overlay2/dc1fe8aeff8cd57b77c7deea30033fa705f446f21dbba045d6b65ca807a7f362/merged",
                "UpperDir": "/var/lib/docker/overlay2/dc1fe8aeff8cd57b77c7deea30033fa705f446f21dbba045d6b65ca807a7f362/diff",
                "WorkDir": "/var/lib/docker/overlay2/dc1fe8aeff8cd57b77c7deea30033fa705f446f21dbba045d6b65ca807a7f362/work"
            },
            "Name": "overlay2"
        },
        "Mounts": [
            {
                "Type": "bind",
                "Source": "/seafile/seatable/mysql-data",
                "Destination": "/var/lib/mysql",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            }
        ],
        "Config": {
            "Hostname": "f0b41ce6b05e",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": true,
            "AttachStderr": true,
            "ExposedPorts": {
                "3306/tcp": {}
            },
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "MARIADB_AUTO_UPGRADE=1",
                "MYSQL_ROOT_PASSWORD=******************",
                "MYSQL_LOG_CONSOLE=true",
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "GOSU_VERSION=1.17",
                "LANG=C.UTF-8",
                "MARIADB_VERSION=1:10.11.7+maria~ubu2204"
            ],
            "Cmd": [
                "mariadbd"
            ],
            "Image": "mariadb:10.11",
            "Volumes": {
                "/var/lib/mysql": {}
            },
            "WorkingDir": "",
            "Entrypoint": [
                "docker-entrypoint.sh"
            ],
            "OnBuild": null,
            "Labels": {
                "com.docker.compose.config-hash": "595c38619b305d5a2c2a5f265f3a6b56b584e0695896109439a8352df97bf165",
                "com.docker.compose.container-number": "1",
                "com.docker.compose.depends_on": "",
                "com.docker.compose.image": "sha256:ba6f6d8eea0a2eec13955e15aa31621d341df5a90d1b9895da870b964e4aa3e8",
                "com.docker.compose.oneoff": "False",
                "com.docker.compose.project": "seatable",
                "com.docker.compose.project.config_files": "/data/compose/25/docker-compose.yml",
                "com.docker.compose.project.working_dir": "/data/compose/25",
                "com.docker.compose.service": "db",
                "com.docker.compose.version": "2.13.0",
                "org.opencontainers.image.authors": "MariaDB Community",
                "org.opencontainers.image.base.name": "docker.io/library/ubuntu:jammy",
                "org.opencontainers.image.description": "MariaDB Database for relational SQL",
                "org.opencontainers.image.documentation": "https://hub.docker.com/_/mariadb/",
                "org.opencontainers.image.licenses": "GPL-2.0",
                "org.opencontainers.image.ref.name": "ubuntu",
                "org.opencontainers.image.source": "https://github.com/MariaDB/mariadb-docker",
                "org.opencontainers.image.title": "MariaDB Database",
                "org.opencontainers.image.url": "https://github.com/MariaDB/mariadb-docker",
                "org.opencontainers.image.vendor": "MariaDB Community",
                "org.opencontainers.image.version": "10.11.7"
            }
        },
        "NetworkSettings": {
            "Bridge": "",
            "SandboxID": "35595ed2e6059f7b11130f89bd2258bc233610cbb3dd093b15e45a4a7b569910",
            "SandboxKey": "/var/run/docker/netns/35595ed2e605",
            "Ports": {
                "3306/tcp": null
            },
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "",
            "Gateway": "",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "",
            "IPPrefixLen": 0,
            "IPv6Gateway": "",
            "MacAddress": "",
            "Networks": {
                "seatable_seatable-net": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": [
                        "db",
                        "f0b41ce6b05e"
                    ],
                    "MacAddress": "02:42:ac:1b:00:04",
                    "NetworkID": "2abba28e6de69d2712e087608dbb16f331ed828bade8b9f0a5ed95ba6af0b5c6",
                    "EndpointID": "5421e3b1816c105dfc81455ee9d9ffb60cf71a3da521280410596ff3520575bc",
                    "Gateway": "172.27.0.1",
                    "IPAddress": "172.27.0.4",
                    "IPPrefixLen": 16,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "DriverOpts": null,
                    "DNSNames": [
                        "seatable-mysql",
                        "db",
                        "f0b41ce6b05e"
                    ]
                }
            }
        }
    }
]

you can both see alias and DNSNames are set to db:

                  "Aliases": [
                        "db",
                        "f0b41ce6b05e"
                    ],
                    "DNSNames": [
                        "seatable-mysql",
                        "db",
                        "f0b41ce6b05e"
                    ]

Where did you get this docker-compose from?

Here there is the pre 4.3 docker-compose provided I used:
https://admin.seatable.io/docker/Developer-Edition/Deploy%20SeaTable-DE%20with%20Docker/

https://manual.seatable.io/docker/Developer-Edition/docker-compose.yml

Here the upgrade manual I use:
https://admin.seatable.io/upgrade/upgrade_manual/

Here the extra upgrade notice I use:

https://admin.seatable.io/upgrade/extra-upgrade-notice/

I apologize that you found and used an old docker-compose.yml file. Please go to admin.seatable.io and follow the default navigation. There you will find the correct instructions and yml files.

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