Gronis / docker-seafile-client

Run a seafile client inside docker which can sync files from seafile repositories
MIT License
18 stars 12 forks source link

old curl-version prevents from receiving the token #9

Closed mm-ruhri closed 2 years ago

mm-ruhri commented 3 years ago

At least for some domains secured by letsencrypt, the image no longer is able to receive a token, due to certificate failure in start.sh in this line:

TOKEN_JSON=$(curl -d "username=$USERNAME" -d "password=$PASSWORD" {SERVER_URL}:${SERVER_PORT}/api2/auth-token/ 2> /dev/null)

An update to a newer debian release should help.

I don't know why, but since some weeks, some older versions of curl other used by curl ssl-libs are no longer able to verify certs and report them as invalid.

mm-ruhri commented 3 years ago

to problem exists not only in curl but also in the seafile-client which needs an update...