This is rediculous - Seafile 12 Binary install don;t work

I have tried and tried to install seafile version 12 on ubuntu 24 with mysql and every time is shits the bed and it seems like its in the mysql portion

I have posted log files and asked for help. I have searched and there seem to be a couple of few posts with the same issues but not many replies

No i don’t want to learn docker

tail -100 seafevents.log
[2025-06-16 19:21:08] [WARNING] root:57 Can not start work weixin notice sender: it is not enabled!
[2025-06-16 19:21:08] [WARNING] root:130 Can not start index updater: it is not enabled!
[2025-06-16 19:21:08] [INFO] root:56 seahub email sender is started, interval = 1800 sec
[2025-06-16 19:21:08] [WARNING] root:17 Can not start ldap syncer: it is not enabled!
[2025-06-16 19:21:08] [WARNING] root:18 Can not start virus scanner: it is not enabled!
[2025-06-16 19:21:08] [INFO] root:35 Start data statistics…
[2025-06-16 19:21:08] [WARNING] root:40 Can not start content scanner: it is not enabled!
[2025-06-16 19:21:08] [WARNING] root:46 Can not scan repo old files auto del days: it is not enabled!
[2025-06-16 19:21:08] [INFO] root:182 Start counting total storage…
[2025-06-16 19:21:08] [WARNING] root:78 Can not start filename index updater: it is not enabled!
[2025-06-16 19:21:08] [WARNING] root:112 Can not start wiki index updater: it is not enabled!
[2025-06-16 19:21:08] [INFO] root:87 Start counting file operations…
[2025-06-16 19:21:08] [INFO] root:403 Start counting monthly traffic info…
[2025-06-16 19:21:08] [INFO] root:491 Monthly traffic counter finished, update 0 user items, 0 org items, total time: 0.051572322845458984 seconds.
[2025-06-16 19:21:08] [INFO] root:203 [TotalStorageCounter] No results from seafile-db.
[2025-06-16 19:21:08] [INFO] root:169 [FileOpsCounter] Finish counting file operations in 0.05465555191040039 seconds, 0 added, 0 deleted, 0 visited, 0 modified
[2025-06-16 19:24:38] [INFO] root:82 LDAP is not set, disable ldap sync.
[2025-06-16 19:24:38] [INFO] virus_scan:51 [virus_scan] scan_command option is not found in seafile.conf, disable virus scan.
[2025-06-16 19:24:38] [INFO] seafevents.app.mq_handler:127 Subscribe to channels: {‘seahub.stats’, ‘seaf_server.stats’, ‘seaf_server.event’}
[2025-06-16 19:24:38] [INFO] root:534 Start counting user activity info…
[2025-06-16 19:24:38] [INFO] root:547 [UserActivityCounter] update 0 items.
[2025-06-16 19:24:38] [INFO] root:240 Start counting traffic info…
[2025-06-16 19:24:38] [INFO] root:268 Traffic counter finished, total time: 0.0003190040588378906 seconds.
[2025-06-16 19:24:38] [INFO] root:23 Start file updates sender, interval = 300 sec
[2025-06-16 19:24:38] [WARNING] root:57 Can not start work weixin notice sender: it is not enabled!
[2025-06-16 19:24:38] [WARNING] root:130 Can not start index updater: it is not enabled!
[2025-06-16 19:24:38] [INFO] root:56 seahub email sender is started, interval = 1800 sec
[2025-06-16 19:24:38] [WARNING] root:17 Can not start ldap syncer: it is not enabled!
[2025-06-16 19:24:38] [WARNING] root:18 Can not start virus scanner: it is not enabled!
[2025-06-16 19:24:38] [INFO] root:35 Start data statistics…
[2025-06-16 19:24:38] [WARNING] root:40 Can not start content scanner: it is not enabled!
[2025-06-16 19:24:38] [WARNING] root:46 Can not scan repo old files auto del days: it is not enabled!
[2025-06-16 19:24:38] [INFO] root:182 Start counting total storage…
[2025-06-16 19:24:38] [WARNING] root:78 Can not start filename index updater: it is not enabled!
[2025-06-16 19:24:38] [WARNING] root:112 Can not start wiki index updater: it is not enabled!
[2025-06-16 19:24:38] [INFO] root:87 Start counting file operations…
[2025-06-16 19:24:38] [INFO] root:403 Start counting monthly traffic info…
[2025-06-16 19:24:38] [INFO] root:491 Monthly traffic counter finished, update 0 user items, 0 org items, total time: 0.053066253662109375 seconds.
[2025-06-16 19:24:38] [INFO] root:203 [TotalStorageCounter] No results from seafile-db.
[2025-06-16 19:24:38] [INFO] root:169 [FileOpsCounter] Finish counting file operations in 0.05622458457946777 seconds, 0 added, 0 deleted, 0 visited, 0 modified
[2025-06-16 19:54:38] [INFO] root:74 starts to send email
[2025-06-16 20:24:38] [INFO] root:534 Start counting user activity info…
[2025-06-16 20:24:38] [INFO] root:547 [UserActivityCounter] update 0 items.
[2025-06-16 20:24:38] [INFO] root:240 Start counting traffic info…
[2025-06-16 20:24:38] [INFO] root:268 Traffic counter finished, total time: 0.000362396240234375 seconds.
[2025-06-16 20:24:38] [INFO] root:74 starts to send email
[2025-06-16 20:24:38] [INFO] root:403 Start counting monthly traffic info…
[2025-06-16 20:24:38] [INFO] root:182 Start counting total storage…
[2025-06-16 20:24:38] [INFO] root:87 Start counting file operations…
[2025-06-16 20:24:38] [INFO] root:491 Monthly traffic counter finished, update 0 user items, 0 org items, total time: 0.021081209182739258 seconds.
[2025-06-16 20:24:38] [INFO] root:203 [TotalStorageCounter] No results from seafile-db.
[2025-06-16 20:24:38] [INFO] root:169 [FileOpsCounter] Finish counting file operations in 0.017003536224365234 seconds, 0 added, 0 deleted, 0 visited, 0 modified
[2025-06-16 20:54:38] [INFO] root:74 starts to send email
[2025-06-16 21:24:38] [INFO] root:534 Start counting user activity info…
[2025-06-16 21:24:38] [INFO] root:547 [UserActivityCounter] update 0 items.
[2025-06-16 21:24:38] [INFO] root:240 Start counting traffic info…
[2025-06-16 21:24:38] [INFO] root:268 Traffic counter finished, total time: 0.0006606578826904297 seconds.
[2025-06-16 21:24:38] [INFO] root:74 starts to send email
[2025-06-16 21:24:38] [INFO] root:403 Start counting monthly traffic info…
[2025-06-16 21:24:38] [INFO] root:182 Start counting total storage…
[2025-06-16 21:24:38] [INFO] root:87 Start counting file operations…
[2025-06-16 21:24:38] [INFO] root:203 [TotalStorageCounter] No results from seafile-db.
[2025-06-16 21:24:38] [INFO] root:491 Monthly traffic counter finished, update 0 user items, 0 org items, total time: 0.019808292388916016 seconds.
[2025-06-16 21:24:38] [INFO] root:169 [FileOpsCounter] Finish counting file operations in 0.021097660064697266 seconds, 0 added, 0 deleted, 0 visited, 0 modified
[2025-06-16 21:54:38] [INFO] root:74 starts to send email
[2025-06-16 22:24:38] [INFO] root:534 Start counting user activity info…
[2025-06-16 22:24:38] [INFO] root:547 [UserActivityCounter] update 0 items.
[2025-06-16 22:24:38] [INFO] root:240 Start counting traffic info…
[2025-06-16 22:24:38] [INFO] root:268 Traffic counter finished, total time: 0.00037288665771484375 seconds.
[2025-06-16 22:24:38] [INFO] root:74 starts to send email
[2025-06-16 22:24:38] [INFO] root:182 Start counting total storage…
[2025-06-16 22:24:38] [INFO] root:403 Start counting monthly traffic info…
[2025-06-16 22:24:38] [INFO] root:203 [TotalStorageCounter] No results from seafile-db.
[2025-06-16 22:24:38] [INFO] root:87 Start counting file operations…
[2025-06-16 22:24:38] [INFO] root:169 [FileOpsCounter] Finish counting file operations in 0.01202535629272461 seconds, 0 added, 0 deleted, 0 visited, 0 modified
[2025-06-16 22:24:38] [INFO] root:491 Monthly traffic counter finished, update 0 user items, 0 org items, total time: 0.10420751571655273 seconds.
[2025-06-16 22:54:38] [INFO] root:74 starts to send email
[2025-06-16 23:24:38] [INFO] root:534 Start counting user activity info…
[2025-06-16 23:24:38] [INFO] root:547 [UserActivityCounter] update 0 items.
[2025-06-16 23:24:38] [INFO] root:240 Start counting traffic info…
[2025-06-16 23:24:38] [INFO] root:268 Traffic counter finished, total time: 0.0006921291351318359 seconds.
[2025-06-16 23:24:38] [INFO] root:74 starts to send email
[2025-06-16 23:24:38] [INFO] root:182 Start counting total storage…
[2025-06-16 23:24:38] [INFO] root:203 [TotalStorageCounter] No results from seafile-db.
[2025-06-16 23:24:38] [INFO] root:87 Start counting file operations…
[2025-06-16 23:24:38] [INFO] root:169 [FileOpsCounter] Finish counting file operations in 0.012867212295532227 seconds, 0 added, 0 deleted, 0 visited, 0 modified
[2025-06-16 23:24:38] [INFO] root:403 Start counting monthly traffic info…
[2025-06-16 23:24:38] [INFO] root:491 Monthly traffic counter finished, update 0 user items, 0 org items, total time: 0.0053632259368896484 seconds.
[2025-06-16 23:54:38] [INFO] root:74 starts to send email
[2025-06-17 00:24:38] [INFO] root:534 Start counting user activity info…
[2025-06-17 00:24:38] [INFO] root:547 [UserActivityCounter] update 0 items.
[2025-06-17 00:24:38] [INFO] root:240 Start counting traffic info…
[2025-06-17 00:24:38] [INFO] root:268 Traffic counter finished, total time: 0.0003502368927001953 seconds.
[2025-06-17 00:24:38] [INFO] root:74 starts to send email
[2025-06-17 00:24:38] [INFO] root:182 Start counting total storage…
[2025-06-17 00:24:38] [INFO] root:203 [TotalStorageCounter] No results from seafile-db.
[2025-06-17 00:24:38] [INFO] root:87 Start counting file operations…
[2025-06-17 00:24:38] [INFO] root:169 [FileOpsCounter] Finish counting file operations in 0.010330677032470703 seconds, 0 added, 0 deleted, 0 visited, 0 modified
[2025-06-17 00:24:38] [INFO] root:403 Start counting monthly traffic info…
[2025-06-17 00:24:38] [INFO] root:491 Monthly traffic counter finished, update 0 user items, 0 org items, total time: 0.0067768096923828125 seconds.

tail -50 seafile.log
[2025-06-16 15:15:22] [INFO] …/common/seaf-utils.c(401): Use database Mysql
[2025-06-16 15:15:22] [INFO] http-server.c(196): fileserver: worker_threads = 10
[2025-06-16 15:15:22] [INFO] http-server.c(207): fileserver: verify_client_blocks = 1
[2025-06-16 15:15:22] [INFO] http-server.c(229): fileserver: cluster_shared_temp_file_mode = 600
[2025-06-16 15:15:22] [INFO] socket file exists, delete it anyway
[2025-06-16 15:15:22] [WARNING] …/common/seaf-db.c(867): Failed to connect to MySQL: Plugin caching_sha2_password could not be loaded: /usr/lib/mariadb/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory
[2025-06-16 15:15:22] [WARNING] …/common/seaf-db.c(867): Failed to connect to MySQL: Plugin caching_sha2_password could not be loaded: /usr/lib/mariadb/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory
[2025-06-16 15:15:22] [WARNING] repo-mgr.c(3917): Failed to add branch.
[2025-06-16 15:15:22] [WARNING] seafile-session.c(633): Failed to create system default repo.
[2025-06-16 15:20:40] [INFO] seafile-session.c(64): fileserver: web_token_expire_time = 3600
[2025-06-16 15:20:40] [INFO] seafile-session.c(76): fileserver: max_index_processing_threads= 3
[2025-06-16 15:20:40] [INFO] seafile-session.c(89): fileserver: fixed_block_size = 8388608
[2025-06-16 15:20:40] [INFO] seafile-session.c(101): fileserver: max_indexing_threads = 1
[2025-06-16 15:20:40] [INFO] …/common/seaf-utils.c(401): Use database Mysql
[2025-06-16 15:20:40] [INFO] http-server.c(196): fileserver: worker_threads = 10
[2025-06-16 15:20:40] [INFO] http-server.c(207): fileserver: verify_client_blocks = 1
[2025-06-16 15:20:40] [INFO] http-server.c(229): fileserver: cluster_shared_temp_file_mode = 600
[2025-06-16 15:20:40] [INFO] socket file exists, delete it anyway
[2025-06-16 15:20:40] [WARNING] …/common/seaf-db.c(867): Failed to connect to MySQL: Plugin caching_sha2_password could not be loaded: /usr/lib/mariadb/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory
[2025-06-16 15:20:40] [WARNING] …/common/seaf-db.c(867): Failed to connect to MySQL: Plugin caching_sha2_password could not be loaded: /usr/lib/mariadb/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory
[2025-06-16 15:20:40] [WARNING] repo-mgr.c(3917): Failed to add branch.
[2025-06-16 15:20:40] [WARNING] seafile-session.c(633): Failed to create system default repo.
[2025-06-16 15:21:04] [INFO] seafile-session.c(64): fileserver: web_token_expire_time = 3600
[2025-06-16 15:21:04] [INFO] seafile-session.c(76): fileserver: max_index_processing_threads= 3
[2025-06-16 15:21:04] [INFO] seafile-session.c(89): fileserver: fixed_block_size = 8388608
[2025-06-16 15:21:04] [INFO] seafile-session.c(101): fileserver: max_indexing_threads = 1
[2025-06-16 15:21:04] [INFO] …/common/seaf-utils.c(401): Use database Mysql
[2025-06-16 15:21:04] [INFO] http-server.c(196): fileserver: worker_threads = 10
[2025-06-16 15:21:04] [INFO] http-server.c(207): fileserver: verify_client_blocks = 1
[2025-06-16 15:21:04] [INFO] http-server.c(229): fileserver: cluster_shared_temp_file_mode = 600
[2025-06-16 15:21:04] [INFO] socket file exists, delete it anyway
[2025-06-16 15:21:04] [WARNING] …/common/seaf-db.c(867): Failed to connect to MySQL: Plugin caching_sha2_password could not be loaded: /usr/lib/mariadb/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory
[2025-06-16 15:21:04] [WARNING] …/common/seaf-db.c(867): Failed to connect to MySQL: Plugin caching_sha2_password could not be loaded: /usr/lib/mariadb/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory
[2025-06-16 15:21:04] [WARNING] repo-mgr.c(3917): Failed to add branch.
[2025-06-16 15:21:04] [WARNING] seafile-session.c(633): Failed to create system default repo.
[2025-06-16 15:24:34] [INFO] seafile-session.c(64): fileserver: web_token_expire_time = 3600
[2025-06-16 15:24:34] [INFO] seafile-session.c(76): fileserver: max_index_processing_threads= 3
[2025-06-16 15:24:34] [INFO] seafile-session.c(89): fileserver: fixed_block_size = 8388608
[2025-06-16 15:24:34] [INFO] seafile-session.c(101): fileserver: max_indexing_threads = 1
[2025-06-16 15:24:34] [INFO] …/common/seaf-utils.c(401): Use database Mysql
[2025-06-16 15:24:34] [INFO] http-server.c(196): fileserver: worker_threads = 10
[2025-06-16 15:24:34] [INFO] http-server.c(207): fileserver: verify_client_blocks = 1
[2025-06-16 15:24:34] [INFO] http-server.c(229): fileserver: cluster_shared_temp_file_mode = 600
[2025-06-16 15:24:34] [INFO] socket file exists, delete it anyway
[2025-06-16 15:24:34] [WARNING] …/common/seaf-db.c(867): Failed to connect to MySQL: Plugin caching_sha2_password could not be loaded: /usr/lib/mariadb/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory
[2025-06-16 15:24:34] [WARNING] …/common/seaf-db.c(867): Failed to connect to MySQL: Plugin caching_sha2_password could not be loaded: /usr/lib/mariadb/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory
[2025-06-16 15:24:34] [WARNING] repo-mgr.c(3917): Failed to add branch.
[2025-06-16 15:24:34] [WARNING] seafile-session.c(633): Failed to create system default repo.
[2025-06-16 15:24:45] [WARNING] …/common/seaf-db.c(867): Failed to connect to MySQL: Plugin caching_sha2_password could not be loaded: /usr/lib/mariadb/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory
[2025-06-16 15:25:02] [WARNING] …/common/seaf-db.c(867): Failed to connect to MySQL: Plugin caching_sha2_password could not be loaded: /usr/lib/mariadb/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory

more seafile-monitor.log
[2025-06-16 14:16:04] Start Monitor
[2025-06-16 14:16:04] Start seafevents.main
/opt/seafile/seafile-server-12.0.14/seahub/seahub/settings.py:1104: SyntaxWarning: invalid escape sequence ‘\w’
match = re.search(‘^EXTRA_(\w+)’, attr)
/opt/seafile/seafile-server-12.0.14/seahub/thirdpart/seafobj/mc.py:13: SyntaxWarning: invalid escape sequence ‘\S’
match = re.match(‘–SERVER\s*=\s*(\S+)’, mc_options)
/opt/seafile/seafile-server-12.0.14/pro/python/seafevents/main.py:66: MonkeyPatchWarning: Monkey-patching ssl after ssl has already been imported may lead to errors, including Re
cursionError on Python 3.6. It may also silently lead to incorrect behaviour on Python 3.7. Please monkey-patch earlier. See SSLContext infinite recursion in Python 3.6 · Issue #1016 · gevent/gevent · GitHub. Modules
that had direct imports (NOT patched): [‘urllib3.util (/opt/seafile/seafile-server-12.0.14/seahub/thirdpart/urllib3/util/init.py)’, ‘jwt.jwks_client (/opt/seafile/seafile-se
rver-12.0.14/seahub/thirdpart/jwt/jwks_client.py)’, ‘urllib3.util.ssl_ (/opt/seafile/seafile-server-12.0.14/seahub/thirdpart/urllib3/util/ssl_.py)’].
from gevent import monkey; monkey.patch_all()
/opt/seafile/seafile-server-12.0.14/seahub/seahub/utils/htmldiff.py:1383: SyntaxWarning: invalid escape sequence ‘+’
change_re = re.compile(‘(++|-+|^+)’)
/opt/seafile/seafile-server-12.0.14/seahub/seahub/utils/password.py:26: SyntaxWarning: invalid escape sequence ‘\d’
has_numbers = bool(re.search(‘\d’, password))
/opt/seafile/seafile-server-12.0.14/seahub/seahub/group/utils.py:33: SyntaxWarning: invalid escape sequence ‘\w’
return re.match(‘[1]+$’, group_name, re.U)
/opt/seafile/seafile-server-12.0.14/seahub/seahub/views/file.py:2090: SyntaxWarning: invalid escape sequence ‘(’
image_file_name = image_file_name.replace(‘(’, ‘(’)
/opt/seafile/seafile-server-12.0.14/seahub/seahub/views/file.py:2091: SyntaxWarning: invalid escape sequence ‘)’
image_file_name = image_file_name.replace(‘)’, ‘)’)
/opt/seafile/seafile-server-12.0.14/seahub/seahub/views/file.py:2094: SyntaxWarning: invalid escape sequence ‘?’
p = re.compile(‘(%s)/lib/(%s)/file(.*?)%s?raw=1’ % (serviceURL, repo_id, encoded_image_file_name))
/opt/seafile/seafile-server-12.0.14/seahub/seahub/wiki/utils.py:63: SyntaxWarning: invalid escape sequence ‘\w’
return True if re.match(‘[2]+$’, name, re.U) else False
/opt/seafile/seafile-server-12.0.14/seahub/seahub/utils/slugify/init.py:23: SyntaxWarning: invalid escape sequence ‘\s’
new = re.sub(‘[-\s]+’, ‘-’, new)
/opt/seafile/seafile-server-12.0.14/seahub/seahub/api2/endpoints/file_tag.py:226: SyntaxWarning: invalid escape sequence ‘.’
return True if re.match(‘[3]+$’, tagname, re.U) else False
/opt/seafile/seafile-server-12.0.14/seahub/seahub/api2/endpoints/revision_tag.py:67: SyntaxWarning: invalid escape sequence ‘.’
return True if re.match(‘[4]+$’, tagname, re.U) else False
/opt/seafile/seafile-server-12.0.14/seahub/seahub/wiki2/utils.py:34: SyntaxWarning: invalid escape sequence ‘\w’
return True if re.match(‘[5]+$’, name, re.U) else False
/opt/seafile/seafile-server-12.0.14/seahub/thirdpart/registration/views.py:22: SyntaxWarning: invalid escape sequence ‘*’
“”"
/opt/seafile/seafile-server-12.0.14/seahub/seahub/avatar/urls.py:8: SyntaxWarning: invalid escape sequence ‘\d’
re_path(‘^render_primary/(?P[^/]+)/(?P[\d]+)/$’, render_primary, name=‘avatar_render_primary’),
[2025-06-16 18:21:15.203970] Start sending file updates emails…
[2025-06-16 18:21:15.206561] Finish sending file updates emails.

[2025-06-16 18:26:18.722865] Start sending file updates emails…
[2025-06-16 18:26:18.724958] Finish sending file updates emails.


  1. ()()\w\s'.- ↩︎

  2. \w\s- ↩︎

  3. .\w- ↩︎

  4. .\w- ↩︎

  5. \w\s- ↩︎

Seafile switched to Docker for a reason — to avoid the exact kind of mess you’re dealing with. Dependency issues, broken setups, inconsistent environments — all of that is what Docker was designed to solve.

If you refuse to use Docker, you’re going against the officially supported method. No one owes you a manual install guide or custom support just because you “don’t want to learn Docker.” Either adapt and use the supported approach, or fork the project and maintain your own setup. Don’t expect much sympathy if you choose to fight the toolchain the developers themselves rely on.

I don’t know Docker so, as to put it, I now have 2 messes to deal with

@trofen So with docker I don;t need a lamp server with MySQL - it will all be in the dock ??? Kind of like a hypervisor (VMWare or microsoft) or like a KVM machine ???

It is a similar idea. Docker (or podman if you prefer it over docker) will download a container image. This is like the virtual disk for a VM with everything already installed in it. The seafile docker install actually uses several containers, one for seafile itself, one for mysql, and a few for some optional components (the notification server, seadoc, collabora, caddy, etc.). Your data and the config live outside of these disk images so that in an upgrade you replace the image with a newer one without losing the data.

There are ways that this isn’t like a VM. Programs running in a container are running directly on the host OS, but with some limits on their ability to talk to programs outside of the container. Containers are less isolated than a VM. It’s usually very difficult for an attacker who manages to break into a VM to escape from the VM and gain control of the hypervisor OS, but escaping from a container is considerably more common. If this is a concern for you, you might want to run the containers inside a VM.

Personally I dislike podman, and I dislike docker more. Distributing as an image makes it harder for people to monitor, modify, and customize the software. When projects switch to only releasing docker images, they sometimes get pretty lazy about managing dependencies and security. The container images tend to hide from the end user when a program is using terribly outdated and insecure libraries or configurations. I am not saying that seafile’s announced intent to switch to only doing docker releases means that they will definitely have this problem, but it is something we need to watch out for.

Thank you s much for all that info

I installed Ubuntu 24 and selected dicker during the Ubuntu install

@tomservo thank you so much for that explanation. What user names and passwords do the use - editing the .env file etc

I think with docker those files can be owned and edited by your normal user, or any normal user as long as they are readable by docker when you are done it should be fine. I think Docker itself runs as root and creates users within the container for things to run as, so you don’t need to mess with that part.

There are ways to run without needing anything to run as root, but its best to take these things in bite-sized chunks. So I suggest that you just know it is possible to learn how to do that later if you want, and don’t worry about it for now.

Do I need to define the sql user and password in The .env file?

Yes. Usually just put any randomly generated password in.

If you let it deploy a new SQL server, you need to set both the INIT_SEAFILE_MYSQL_ROOT_PASSWORD, and SEAFILE_MYSQL_DB_PASSWORD. The root password will be set as the root user’s password to the database, and then used by the seafile docker to log into the database and create the seafile user, and the databases. Once the database is created, the SEAFILE_MYSQL_DB_USER and SEAFILE_MYSQL_DB_PASSWORD will be used to log into the databases from there.

So if you are using an existing mysql that already has the seafile user and databases, then you might get by without the root password.

I Thought that it was all in the docker

Do I Just installed Ubuntu 24 and docker download the pacjages and go or will i need to install LAMP first???

I’m sorry I wasn’t clear. The default option with docker is that it brings its own mysql server. If you have one already that you want it to use instead of using its own, you can tell it to do that. For example, when I upgraded from not-docker seafile 11 to in-docker seafile 12, I configured it to keep using the mysql I had already set up and working.

You don’t need to install mysql or apache or anything else, by default those things will be inside the containers that docker will download.