Trying to get seafile off the ground

Hello all.

I really like what seafile proposes it can do. Based on my research and attempts with other solutions (nextcloud, owncloud, mydrive-storage, etc.) seafile seems to fit the bill for what I need it to do.

My only issues right now is installation. I know that there are ubuntu install guides and docker install guides. I use proxmox and lxc and I prefer to use lxc right now because I am able to bind mount host directories into the container.

I “managed” to install seafile 9 into a debian 11 lxc (not easy) but I could never get the uploads to work through the web gui. I even tried an ubuntu lxc 20.04 and installed seafile there and still could not upload any files through the web gui.

My main concerns right now is if there is an install guide for seafile in debian 11 since I read somewhere that debian 11 would be supported with seafile 9. I also wanted to know if there is a way to setup seafile as a local service initially and then later configure it to use a world accessible domain name. And lastly, is there a way to symlink or specify a different location for the data directory during install?

Thank you.

SOLVED.

The Docker CE instructions worked a dream for me. Try that first.

@genuser
Did you manage to upload file with Seafile in LXC container ?
I have also install Seafile (in Docker container) in a LXC container.
With my setup, i can download files but i can’t upload.
There is nothing in Seafile logs on server.
However on client side I have :

[06/29/23 22:43:50] sync-mgr.c(580): Repo 'xxxx_admin' sync state transition from 'synchronized' to 'uploading'.
[06/29/23 22:43:50] http-tx-mgr.c(1156): Transfer repo 'b62be0a6': ('normal', 'init') --> ('normal', 'check')
[06/29/23 22:43:50] http-tx-mgr.c(1156): Transfer repo 'b62be0a6': ('normal', 'check') --> ('normal', 'commit')
[06/29/23 22:43:50] http-tx-mgr.c(1156): Transfer repo 'b62be0a6': ('normal', 'commit') --> ('normal', 'fs')
[06/29/23 22:43:50] http-tx-mgr.c(1156): Transfer repo 'b62be0a6': ('normal', 'fs') --> ('normal', 'data')
[06/29/23 22:43:50] http-tx-mgr.c(3369): Bad response code for PUT http://xx.xxxx.org/seafhttp/repo/b62be0a6-69c9-48b7-8b32-04dcbe2d36a1/block/baed9136f25aa32dcc9885b2f21fb88f8c943135: 413.
[06/29/23 22:43:50] http-tx-mgr.c(3369): Bad response code for PUT http://xx.xxxx.org.org/seafhttp/repo/b62be0a6-69c9-48b7-8b32-04dcbe2d36a1/block/be01e5a299ee2a04d022039df6d75623e19d1f95: 413.
[06/29/23 22:43:50] http-tx-mgr.c(3369): Bad response code for PUT http://xx.xxxx.org.org/seafhttp/repo/b62be0a6-69c9-48b7-8b32-04dcbe2d36a1/block/cf3c16dc46552413891abeaddbf966fd5396e715: 413.
[06/29/23 22:43:50] http-tx-mgr.c(930): libcurl failed to PUT http://xx.xxxx.org.org/seafhttp/repo/b62be0a6-69c9-48b7-8b32-04dcbe2d36a1/block/e0092bb66c18f57ac6ac69d7e8dceb4d16784192: Operation was aborted by an application callback.
[06/29/23 22:43:50] http-tx-mgr.c(1156): Transfer repo 'b62be0a6': ('normal', 'data') --> ('error', 'finished')
[06/29/23 22:43:50] sync-mgr.c(618): Repo 'xxxx_admin' sync state transition from uploading to 'error': 'Unknown error'.

What i wrote is not totally true.
I can upload files.
But i can’t upload my file with a size of 92.9 Mo. However, no problem to upload another file of 6.6 Mo.
Any clue to solve this issue ?
Best!

OK.
I was using a web proxy for my LXC containers based on Nginx.
Setting :
client_max_body_size 0;
for my subdomain do the job.