I gradually upgraded our Pro version from 6.3 to 8.0.22, it worked fine,
Then on the last upgrade from 8 to the latest 9 version I followed the steps to
rename the SSL folder as well as rename the seafile.nginx.conf file. as stipulated
in the Upgrade for other versions in the manual at the bottom of this link : Upgrade for other versions - Seafile Admin Manual
I then proceed to bring docker-compose down
then when I start it, it creates a new ssl folder opt/seafile-data/ssl
but there is no new file under /opt/seafile-data/nginx/conf/
The instructions say to wait for the certificate to be applied then modify the new seafile.nginx.conf as you want, but no such file gets created.
If I open the log file with docker-compose logs -f
I see the following -
seafile | nginx:
seafile-mysql | 2022-12-21 16:02:39 0 [Note] Reading of all Master_info entries succeeded
seafile | nginx version: nginx/1.18.0 (Ubuntu)
seafile-mysql | 2022-12-21 16:02:39 0 [Note] Added new Master_info ‘’ to hash table
seafile | built with OpenSSL 1.1.1f 31 Mar 2020
seafile-mysql | 2022-12-21 16:02:39 0 [Note] mysqld: ready for connections.
seafile | TLS SNI support enabled
seafile-mysql | Version: ‘10.5.18-MariaDB-1:10.5.18+maria~ubu2004’ socket: ‘/run/mysqld/mysqld.sock’ port: 3306 mariadb.org binary distribution
seafile | configure arguments: --with-cc-opt=’-g -O2 -fdebug-prefix-map=/build/nginx-7KvRN5/nginx-1.18.0=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2’ --with-ld-opt=’-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -fPIC’ --prefix=/usr/share/nginx --conf-path=/etc/nginx/nginx.conf --http-log-path=/var/log/nginx/access.log --error-log-path=/var/log/nginx/error.log --lock-path=/var/lock/nginx.lock --pid-path=/run/nginx.pid --modules-path=/usr/lib/nginx/modules --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --with-debug --with-compat --with-pcre-jit --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module --with-http_auth_request_module --with-http_v2_module --with-http_dav_module --with-http_slice_module --with-threads --with-http_addition_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_image_filter_module=dynamic --with-http_sub_module --with-http_xslt_module=dynamic --with-stream=dynamic --with-stream_ssl_module --with-mail=dynamic --with-mail_ssl_module
seafile | socat:
seafile | [2022-12-21 16:02:40] Preparing for letsencrypt …
seafile | [2022-12-21 16:02:40] Starting letsencrypt verification
seafile | Traceback (most recent call last):
seafile | File “/scripts/start.py”, line 86, in
seafile | main()
seafile | File “/scripts/start.py”, line 51, in main
seafile | init_letsencrypt()
seafile | File “/scripts/bootstrap.py”, line 83, in init_letsencrypt
seafile | call(’/scripts/ssl.sh {0} {1}’.format(ssl_dir, domain))
seafile | File “/scripts/utils.py”, line 70, in call
seafile | return subprocess.check_call(*a, **kw)
seafile | File “/usr/lib/python3.8/subprocess.py”, line 364, in check_call
seafile | raise CalledProcessError(retcode, cmd)
seafile | subprocess.CalledProcessError: Command ‘/scripts/ssl.sh /shared/ssl my.domain.net’ returned non-zero exit status 1.
Any assistance would be greatly appreciated.