Looking back over all the posts on WebDAV 502 errors I decided to check that all the software dependencies were met for the upgrade to 7.1.2.
The Manual specifically calls out
pip3 install --timeout=3600 Pillow pylibmc captcha jinja2 sqlalchemy psd-tools django-pylibmc django-simple-captcha python3-ldap
For those who come after it might be worth mentioning that pip3 might need to be installed in your system too.
sudo apt install python3-pip
You can check if it’s installed and its version using:
pip3 -V
@Jonathan warns against installing WSGI manually (‘pip3 install wsgidav’) but you can check for it using
pip3 list
I made the mistake of installing wsgidav from the command line, however. Once I ran
pip3 install --timeout=3600 Pillow pylibmc captcha jinja2 sqlalchemy psd-tools
django-pylibmc django-simple-captcha python3-ldap
a second time, as suggested in the Manual, the problem corrected and I finally got WebDAV to run. It seems to be working again.
As a side note, I received no errors or warnings about software dependencies from the upgrade script when updating to 7.1.2.