Skip to content

Instantly share code, notes, and snippets.

@ology
Created September 2, 2024 17:12
Show Gist options
  • Save ology/94a962befbd741a21ee411f3ade32473 to your computer and use it in GitHub Desktop.
Save ology/94a962befbd741a21ee411f3ade32473 to your computer and use it in GitHub Desktop.
Can't make seafile work at all ever
gene@mopey:/opt/docker/seafile$ sudo docker compose build
[sudo] password for gene:
[+] Building 2.2s (23/23) FINISHED docker:default
=> [memcached internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [memcached internal] load build definition from Dockerfile-memcached 0.0s
=> => transferring dockerfile: 409B 0.0s
=> [db internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [db internal] load build definition from Dockerfile-mariadb 0.0s
=> => transferring dockerfile: 379B 0.0s
=> [memcached internal] load metadata for docker.io/library/memcached:1.6.18 1.0s
=> [db internal] load metadata for docker.io/library/mariadb:10.6 1.0s
=> [db 1/3] FROM docker.io/library/mariadb:10.6@sha256:34ba91d75f6c271e19d35917674a10334fe808f147117930447b1758b62ea6be 0.0s
=> CACHED [db 2/3] RUN apt-get -q update && apt-get -u -y dist-upgrade && apt-get -y autoremove && apt-get clean 0.0s
=> CACHED [db 3/3] RUN ln -fs /usr/share/zoneinfo/America/Los_Angeles /etc/localtime && dpkg-reconfigure -f noninteractive tzdata 0.0s
=> [db] exporting to image 0.0s
=> => exporting layers 0.0s
=> => writing image sha256:1e69a11e6659e303c36cc89ec09b65098a8d1d8d250d951909c6433a7d450449 0.0s
=> => naming to docker.io/library/seafile-db 0.0s
=> [memcached 1/3] FROM docker.io/library/memcached:1.6.18@sha256:4ab520657d9919221f752771bb013d632c9b39cea9dfae9162244b2e39885bcd 0.0s
=> CACHED [memcached 2/3] RUN apt-get -q update && apt-get -u -y dist-upgrade && apt-get -y autoremove && apt-get clean 0.0s
=> CACHED [memcached 3/3] RUN ln -fs /usr/share/zoneinfo/America/Los_Angeles /etc/localtime && dpkg-reconfigure -f noninteractive tzdata 0.0s
=> [memcached] exporting to image 0.0s
=> => exporting layers 0.0s
=> => writing image sha256:25d1e81781f080a2312160560d20ce20ebc0f7817c6b2495a61f342612c89ee0 0.0s
=> => naming to docker.io/library/seafile-memcached 0.0s
=> [seafile internal] load build definition from Dockerfile-seafile 0.0s
=> => transferring dockerfile: 559B 0.0s
=> [seafile internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [seafile internal] load metadata for docker.io/seafileltd/seafile-mc:11.0-latest 0.7s
=> [seafile 1/5] FROM docker.io/seafileltd/seafile-mc:11.0-latest@sha256:d0c66e4621bd418b13dd545090ddb1eb82009db3cfb854f87f78c0b0ed6e5a73 0.0s
=> CACHED [seafile 2/5] RUN apt-get -q update && apt-get -u -y dist-upgrade && apt-get -y autoremove && apt-get clean 0.0s
=> CACHED [seafile 3/5] RUN apt-get install -y python3-dev ldap-utils libldap2-dev 0.0s
=> CACHED [seafile 4/5] RUN pip3 install future==0.18.* mysqlclient==2.1.* pillow==10.2.* sqlalchemy==2.0.18 captcha==0.5.* 0.0s
=> CACHED [seafile 5/5] RUN ln -fs /usr/share/zoneinfo/America/Los_Angeles /etc/localtime && dpkg-reconfigure -f noninteractive tzdata 0.0s
=> [seafile] exporting to image 0.0s
=> => exporting layers 0.0s
=> => writing image sha256:b936164d5baa19e80b680cf13145606b75b475c2b8c6e299451e7b3903dce5db 0.0s
=> => naming to docker.io/library/seafile-seafile
gene@mopey:/opt/docker/seafile$ sudo docker compose up
[+] Running 3/0
✔ Container seafile-mysql Created 0.0s
✔ Container seafile-memcached Created 0.0s
✔ Container seafile Created 0.1s
Attaching to seafile, seafile-memcached, seafile-mysql
seafile-mysql | 2024-09-02 10:09:05-07:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.6.19+maria~ubu2004 started.
seafile-mysql | 2024-09-02 10:09:06-07:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
seafile-mysql | 2024-09-02 10:09:06-07:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.6.19+maria~ubu2004 started.
seafile-mysql | 2024-09-02 10:09:06-07:00 [Note] [Entrypoint]: MariaDB upgrade not required
seafile-mysql | 2024-09-02 10:09:06 0 [Note] Starting MariaDB 10.6.19-MariaDB-ubu2004 source revision 8f020508c87461bbeee551c3001acac56d506ae7 server_uid Vd/ZhQ9/1UDIkuJiKG/mWrlg94k= as process 1
seafile-mysql | 2024-09-02 10:09:06 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
seafile-mysql | 2024-09-02 10:09:06 0 [Note] InnoDB: Number of pools: 1
seafile-mysql | 2024-09-02 10:09:06 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
seafile-mysql | 2024-09-02 10:09:06 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts)
seafile-mysql | 2024-09-02 10:09:06 0 [Note] InnoDB: Using Linux native AIO
seafile-mysql | 2024-09-02 10:09:06 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
seafile-mysql | 2024-09-02 10:09:06 0 [Note] InnoDB: Completed initialization of buffer pool
seafile-mysql | 2024-09-02 10:09:06 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=42732,42732
seafile-mysql | 2024-09-02 10:09:06 0 [Note] InnoDB: To recover: 980 pages
seafile-mysql | 2024-09-02 10:09:06 0 [Note] InnoDB: 128 rollback segments are active.
seafile-mysql | 2024-09-02 10:09:06 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1"
seafile-mysql | 2024-09-02 10:09:06 0 [Note] InnoDB: Creating shared tablespace for temporary tables
seafile-mysql | 2024-09-02 10:09:06 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
seafile-mysql | 2024-09-02 10:09:06 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
seafile-mysql | 2024-09-02 10:09:06 0 [Note] InnoDB: 10.6.19 started; log sequence number 1065231; transaction id 920
seafile-mysql | 2024-09-02 10:09:06 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
seafile-mysql | 2024-09-02 10:09:06 0 [Note] Plugin 'FEEDBACK' is disabled.
seafile-mysql | 2024-09-02 10:09:06 0 [Note] InnoDB: Buffer pool(s) load completed at 240902 10:09:06
seafile-mysql | 2024-09-02 10:09:06 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work.
seafile-mysql | 2024-09-02 10:09:06 0 [Note] Server socket created on IP: '0.0.0.0'.
seafile-mysql | 2024-09-02 10:09:06 0 [Note] Server socket created on IP: '::'.
seafile-mysql | 2024-09-02 10:09:06 0 [Note] mariadbd: ready for connections.
seafile-mysql | Version: '10.6.19-MariaDB-ubu2004' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution
seafile-mysql | 2024-09-02 10:09:35 3 [Warning] Access denied for user 'root'@'localhost' (using password: YES)
^CGracefully stopping... (press Ctrl+C again to force)
[+] Stopping 3/3
✔ Container seafile Stopped 0.0s
✔ Container seafile-mysql Stopped 12.2s
✔ Container seafile-memcached Stopped 12.2s
canceled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment