seafile | *** Running /etc/my_init.d/01_create_data_links.sh...
seafile | *** Booting runit daemon...
seafile | *** Runit started as PID 16
seafile | *** Running /scripts/enterpoint.sh...
seafile | 2025-02-13 16:56:15 Nginx ready
seafile | 2025-02-13 16:56:15 This is an idle script (infinite loop) to keep container running.
seafile | [2025-02-13 16:56:15] Now running setup-seafile-mysql.py in auto mode.
seafile | Checking python on this machine ...
seafile |
seafile-mysql | 2025-02-13 08:55:48+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.11.10+maria~ubu2204 started.
seafile-mysql | 2025-02-13 08:55:49+00:00 [Warn] [Entrypoint]: /sys/fs/cgroup///memory.pressure not writable, functionality unavailable to MariaDB
seafile-mysql | 2025-02-13 08:55:49+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
seafile-mysql | 2025-02-13 08:55:49+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.11.10+maria~ubu2204 started.
seafile-mysql | 2025-02-13 08:55:49+00:00 [Note] [Entrypoint]: Initializing database files
seafile-mysql | 2025-02-13 8:55:49 0 [Warning] mariadbd: io_uring_queue_init() failed with errno 1
seafile-mysql | 2025-02-13 8:55:49 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF
seafile-mysql | 2025-02-13 08:56:04+00:00 [Note] [Entrypoint]: Database files initialized
seafile-mysql | 2025-02-13 08:56:04+00:00 [Note] [Entrypoint]: Starting temporary server
seafile-mysql | 2025-02-13 08:56:04+00:00 [Note] [Entrypoint]: Waiting for server startup
seafile-mysql | 2025-02-13 8:56:04 0 [Note] Starting MariaDB 10.11.10-MariaDB-ubu2204 source revision 3d0fb150289716ca75cd64d62823cf715ee47646 server_uid oKy6kXSLEtVIoBcZkHc1ctEC1iw= as process 124
seafile-mysql | 2025-02-13 8:56:04 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
seafile-mysql | 2025-02-13 8:56:04 0 [Note] InnoDB: Number of transaction pools: 1
seafile-mysql | 2025-02-13 8:56:04 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
seafile-mysql | 2025-02-13 8:56:04 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts)
seafile-mysql | 2025-02-13 8:56:04 0 [Warning] mariadbd: io_uring_queue_init() failed with errno 1
seafile-mysql | 2025-02-13 8:56:04 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF
seafile-caddy | {"level":"info","ts":1739436948.9976802,"logger":"docker-proxy","msg":"Running caddy proxy server"}
seafile-caddy | {"level":"info","ts":1739436948.9991522,"logger":"admin","msg":"admin endpoint started","address":"localhost:2019","enforce_origin":false,"origins":["//localhost:2019","//[::1]:2019","//127.0.0.1:2019"]}
seafile-mysql | 2025-02-13 8:56:04 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB
seafile-mysql | 2025-02-13 8:56:04 0 [Note] InnoDB: Completed initialization of buffer pool
seafile-mysql | 2025-02-13 8:56:04 0 [Note] InnoDB: File system buffers for log disabled (block size=4096 bytes)
seafile-mysql | 2025-02-13 8:56:04 0 [Note] InnoDB: End of log at LSN=46862
seafile-mysql | 2025-02-13 8:56:07 0 [Note] InnoDB: 128 rollback segments are active.
seafile-mysql | 2025-02-13 8:56:07 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...
seafile-mysql | 2025-02-13 8:56:07 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
seafile-mysql | 2025-02-13 8:56:07 0 [Note] InnoDB: log sequence number 46862; transaction id 14
seafile-mysql | 2025-02-13 8:56:07 0 [Note] Plugin 'FEEDBACK' is disabled.
seafile-mysql | 2025-02-13 8:56:07 0 [Note] mariadbd: ready for connections.
seafile-mysql | Version: '10.11.10-MariaDB-ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution
seafile-mysql | 2025-02-13 08:56:08+00:00 [Note] [Entrypoint]: Temporary server started.
seafile-mysql | 2025-02-13 08:56:10+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation)
seafile-mysql |
seafile-caddy | {"level":"info","ts":1739436948.9994128,"msg":"autosaved config (load with --resume flag)","file":"/config/caddy/autosave.json"}
seafile-caddy | {"level":"info","ts":1739436948.9994228,"logger":"docker-proxy","msg":"Running caddy proxy controller"}
seafile-caddy | {"level":"info","ts":1739436949.0008879,"logger":"docker-proxy","msg":"Start","CaddyfilePath":"","EnvFile":"","LabelPrefix":"caddy","PollingInterval":30,"ProxyServiceTasks":true,"ProcessCaddyfile":true,"ScanStoppedContainers":false,"IngressNetworks":"[seafile-net]","DockerSockets":[""],"DockerCertsPath":[""],"DockerAPIsVersion":[""]}
seafile-caddy | {"level":"info","ts":1739436949.0019963,"logger":"docker-proxy","msg":"Connecting to docker events","DockerSocket":""}
seafile-caddy | {"level":"info","ts":1739436949.002422,"logger":"docker-proxy","msg":"IngressNetworksMap","ingres":"map[cf9c17be333d73528ca270536f58ae005a8ed8b9f6da73f700ae9211c3961a5f:true seafile-net:true]"}
seafile-caddy | {"level":"info","ts":1739436949.0142815,"logger":"docker-proxy","msg":"Swarm is available","new":false}
seafile-caddy | {"level":"info","ts":1739436949.0222425,"logger":"docker-proxy","msg":"New Caddyfile","caddyfile":"# Empty caddyfile"}
seafile-caddy | {"level":"warn","ts":1739436949.022523,"logger":"docker-proxy","msg":"Caddyfile to json warning","warn":"[Caddyfile:1: Caddyfile input is not formatted; run 'caddy fmt --overwrite' to fix inconsistencies]"}
seafile-caddy | {"level":"info","ts":1739436949.0225337,"logger":"docker-proxy","msg":"New Config JSON","json":"{}"}
seafile-caddy | {"level":"info","ts":1739436949.022762,"logger":"docker-proxy","msg":"Sending configuration to","server":"localhost"}
seafile-caddy | {"level":"info","ts":1739436949.0237985,"logger":"admin.api","msg":"received request","method":"POST","host":"localhost:2019","uri":"/load","remote_ip":"127.0.0.1","remote_port":"54176","headers":{"Accept-Encoding":["gzip"],"Content-Length":["41"],"Content-Type":["application/json"],"User-Agent":["Go-http-client/1.1"]}}
seafile-caddy | {"level":"info","ts":1739436949.0238743,"msg":"config is unchanged"}
seafile-caddy | {"level":"info","ts":1739436949.023883,"logger":"admin.api","msg":"load complete"}
seafile-caddy | {"level":"info","ts":1739436949.0239751,"logger":"docker-proxy","msg":"Successfully configured","server":"localhost"}
seafile-caddy | {"level":"info","ts":1739436975.2415545,"logger":"docker-proxy","msg":"New Caddyfile","caddyfile":"http://127.0.0.1 {\n\treverse_proxy 172.20.0.5:80\n}\n"}
seafile-caddy | {"level":"info","ts":1739436975.24449,"logger":"docker-proxy","msg":"New Config JSON","json":"{\"apps\":{\"http\":{\"servers\":{\"srv0\":{\"listen\":[\":80\"],\"routes\":[{\"match\":[{\"host\":[\"127.0.0.1\"]}],\"handle\":[{\"handler\":\"subroute\",\"routes\":[{\"handle\":[{\"handler\":\"reverse_proxy\",\"upstreams\":[{\"dial\":\"172.20.0.5:80\"}]}]}]}],\"terminal\":true}]}}}}}"}
seafile-caddy | {"level":"info","ts":1739436975.2445905,"logger":"docker-proxy","msg":"Sending configuration to","server":"localhost"}
seafile-caddy | {"level":"info","ts":1739436975.245074,"logger":"admin.api","msg":"received request","method":"POST","host":"localhost:2019","uri":"/load","remote_ip":"127.0.0.1","remote_port":"54176","headers":{"Accept-Encoding":["gzip"],"Content-Length":["284"],"Content-Type":["application/json"],"User-Agent":["Go-http-client/1.1"]}}
seafile-caddy | {"level":"info","ts":1739436975.2469766,"logger":"admin","msg":"admin endpoint started","address":"localhost:2019","enforce_origin":false,"origins":["//localhost:2019","//[::1]:2019","//127.0.0.1:2019"]}
seafile-caddy | {"level":"info","ts":1739436975.2479312,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc000882200"}
seafile-caddy | {"level":"warn","ts":1739436975.2483287,"logger":"http.auto_https","msg":"server is listening only on the HTTP port, so no automatic HTTPS will be applied to this server","server_name":"srv0","http_port":80}
seafile-caddy | {"level":"info","ts":1739436975.2501166,"logger":"http.log","msg":"server running","name":"srv0","protocols":["h1","h2","h3"]}
seafile-caddy | {"level":"info","ts":1739436975.2512164,"msg":"autosaved config (load with --resume flag)","file":"/config/caddy/autosave.json"}
seafile-caddy | {"level":"info","ts":1739436975.2512555,"logger":"admin.api","msg":"load complete"}
seafile-caddy | {"level":"info","ts":1739436975.2514727,"logger":"docker-proxy","msg":"Successfully configured","server":"localhost"}
seafile-caddy | {"level":"info","ts":1739436975.2555625,"logger":"admin","msg":"stopped previous server","address":"localhost:2019"}
seafile-caddy | {"level":"info","ts":1739436975.2786143,"logger":"tls","msg":"cleaning storage unit","storage":"FileStorage:/data/caddy"}
seafile-caddy | {"level":"info","ts":1739436975.2794397,"logger":"tls","msg":"finished cleaning storage units"}
seafile-mysql | 2025-02-13 08:56:10+00:00 [Note] [Entrypoint]: Stopping temporary server
seafile-mysql | 2025-02-13 8:56:10 0 [Note] mariadbd (initiated by: unknown): Normal shutdown
seafile-mysql | 2025-02-13 8:56:10 0 [Note] InnoDB: FTS optimize thread exiting.
seafile-mysql | 2025-02-13 8:56:11 0 [Note] InnoDB: Starting shutdown...
seafile-mysql | 2025-02-13 8:56:11 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
seafile-mysql | 2025-02-13 8:56:11 0 [Note] InnoDB: Buffer pool(s) dump completed at 250213 8:56:11
seafile-mysql | 2025-02-13 8:56:11 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1"
seafile-mysql | 2025-02-13 8:56:11 0 [Note] InnoDB: Shutdown completed; log sequence number 46862; transaction id 15
seafile-mysql | 2025-02-13 8:56:11 0 [Note] mariadbd: Shutdown complete
seafile-mysql |
seafile-mysql | 2025-02-13 08:56:11+00:00 [Note] [Entrypoint]: Temporary server stopped
seafile-mysql |
seafile-mysql | 2025-02-13 08:56:11+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up.
seafile-mysql |
seafile-mysql | 2025-02-13 8:56:11 0 [Note] Starting MariaDB 10.11.10-MariaDB-ubu2204 source revision 3d0fb150289716ca75cd64d62823cf715ee47646 server_uid oKy6kXSLEtVIoBcZkHc1ctEC1iw= as process 1
seafile-mysql | 2025-02-13 8:56:11 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
seafile-mysql | 2025-02-13 8:56:11 0 [Note] InnoDB: Number of transaction pools: 1
seafile-mysql | 2025-02-13 8:56:11 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
seafile-mysql | 2025-02-13 8:56:11 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts)
seafile-mysql | 2025-02-13 8:56:11 0 [Warning] mariadbd: io_uring_queue_init() failed with errno 1
seafile-mysql | 2025-02-13 8:56:11 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF
seafile-mysql | 2025-02-13 8:56:11 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB
seafile-mysql | 2025-02-13 8:56:11 0 [Note] InnoDB: Completed initialization of buffer pool
seafile-mysql | 2025-02-13 8:56:11 0 [Note] InnoDB: File system buffers for log disabled (block size=4096 bytes)
seafile-mysql | 2025-02-13 8:56:11 0 [Note] InnoDB: End of log at LSN=46862
seafile-mysql | 2025-02-13 8:56:11 0 [Note] InnoDB: 128 rollback segments are active.
seafile-mysql | 2025-02-13 8:56:11 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...
seafile-mysql | 2025-02-13 8:56:11 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
seafile-mysql | 2025-02-13 8:56:11 0 [Note] InnoDB: log sequence number 46862; transaction id 14
seafile-mysql | 2025-02-13 8:56:11 0 [Note] Plugin 'FEEDBACK' is disabled.
seafile-mysql | 2025-02-13 8:56:11 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
seafile-mysql | 2025-02-13 8:56:11 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work.
seafile-mysql | 2025-02-13 8:56:11 0 [Note] InnoDB: Buffer pool(s) load completed at 250213 8:56:11
seafile-mysql | 2025-02-13 8:56:11 0 [Note] Server socket created on IP: '0.0.0.0'.
seafile-mysql | 2025-02-13 8:56:11 0 [Note] Server socket created on IP: '::'.
seafile-mysql | 2025-02-13 8:56:11 0 [Note] mariadbd: ready for connections.
seafile-mysql | Version: '10.11.10-MariaDB-ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution
seafile |
seafile | verifying password of user root ... done
seafile |
seafile | ---------------------------------
seafile | This is your configuration
seafile | ---------------------------------
seafile |
seafile | server name: seafile
seafile | server ip/domain: 127.0.0.1
seafile |
seafile | seafile data dir: /opt/seafile/seafile-data
seafile | fileserver port: 8082
seafile |
seafile | database: create new
seafile | ccnet database: ccnet_db
seafile | seafile database: seafile_db
seafile | seahub database: seahub_db
seafile | database user: seafile
seafile |
seafile |
seafile | Generating seafile configuration ...
seafile |
seafile | done
seafile | Generating seahub configuration ...
seafile |
seafile | ----------------------------------------
seafile | Now creating seafevents database tables ...
seafile |
seafile | ----------------------------------------
seafile | ----------------------------------------
seafile | Now creating ccnet database tables ...
seafile |
seafile | ----------------------------------------
seafile | ----------------------------------------
seafile | Now creating seafile database tables ...
seafile |
seafile | ----------------------------------------
seafile | ----------------------------------------
seafile | Now creating seahub database tables ...
seafile |
seafile | ----------------------------------------
seafile |
seafile | creating seafile-server-latest symbolic link ... done
seafile |
seafile |
seafile |
seafile |
seafile | -----------------------------------------------------------------
seafile | Your seafile server configuration has been finished successfully.
seafile | -----------------------------------------------------------------
seafile |
seafile | run seafile server: ./seafile.sh { start | stop | restart }
seafile | run seahub server: ./seahub.sh { start <port> | stop | restart <port> }
seafile |
seafile | -----------------------------------------------------------------
seafile | If you are behind a firewall, remember to allow input/output of these tcp ports:
seafile | -----------------------------------------------------------------
seafile |
seafile | port of seafile fileserver: 8082
seafile | port of seahub: 8000
seafile |
seafile | When problems occur, Refer to
seafile |
seafile | https://download.seafile.com/published/seafile-manual/home.md
seafile |
seafile | for information.
seafile |
seafile |
seafile | [2025-02-13 16:56:41] Updating version stamp
seafile |
seafile | Starting seafile server, please wait ...
seafile | Seafile server started
seafile |
seafile | Done.
seafile |
seafile | Starting seahub at port 8000 ...
seafile |
seafile |
seafile |
seafile | ----------------------------------------
seafile | Successfully created seafile admin
seafile | ----------------------------------------
seafile |
seafile |
seafile |
seafile-mysql | 2025-02-13 8:56:46 15 [Warning] Aborted connection 15 to db: 'seahub_db' user: 'seafile' host: '172.20.0.5' (Got an error reading communication packets)
seafile |
seafile | Seahub is started
seafile |
seafile | Done.
seafile |