Seafile 12 on Ubuntu 20.04.6 LTS?

Hi

Can I upgrade Seafile 11 to Seafile 12 on my Ubuntu 20.04 server?

Or is 24.04 required?

My issue is that I can’t install the new python system libraries

When I want to install the python libraries, it won’t run through

sudo pip3 install future==1.0.* mysqlclient==2.2.* pillow==10.4.* sqlalchemy==2.0.* pillow_heif==0.18.0 \
               gevent==24.2.* captcha==0.6.* django_simple_captcha==0.6.* djangosaml2==1.9.* \
               pysaml2==7.3.* pycryptodome==3.20.* cffi==1.17.0 python-ldap==3.4.*

fish: No matches for wildcard “future==1.0.*”. See `help expand`.
sudo pip3 install future==1.0.* mysqlclient==2.2.* pillow==10.4.* sqlalchemy==2.0.* pillow_heif==0.18.0 \

My guess is that your shell (fish) is misinterpreting pip’s wildcard asterisk character.

Here’s a test: try using a requirements.txt file. In other words, create a plain text file with one package per line, with the package, operator & glob version in single quotes:

'future==1.0.*'
'mysqlclient==2.2.*'
'pillow==10.4.*'

…and so on. Then issue the command:

pip3 install -r ./requirements.txt

1 Like

Nice tip! -Thanks

Thanks a lot for taking the time.

Unfortunately it didn’t work for me.

But I will try to use a different shell.

pip3 install -r ./requirements.txt

ERROR: Invalid requirement: "'future==1.0.*'" (from line 1 of ./requirements.txt)

Edit:
… but swapping frim Fish to Bash and tehn xecuting the commend from the manual runs through perfectly.

Thank you!!

Do you also know if I can run Seafile 12 on Ubuntu 20.04?

No problem! Maybe the single quotes were overkill using the text file approach :slight_smile: I’ll try that next time lol

And as for 12.0 on Ubuntu 20.04, the system requirements page specifies that you can go as low as Ubuntu 22.04, but that is for binary installations only. In other words, my guess is you can use Ubuntu 20.04 but you’d be better off going the Docker route, because if 20.04 can run a new version of Docker CE, it should be able to handle Seafile 12.0 just fine.

UPDATE 1: Added system requirements clarification.

1 Like