The qwc-uwsgi-base images have been changed to allow for configurable UID/GID of the uwsgi process. The default is UID=33 and GID=33, you can override it by setting the SERVICE_UID and SERVICE_GID environment variables in docker-compose.yml.
As a consequence, /var/www is not necessarily anymore the home directory of the user wich runs uwsgi, and therefore the qwc-uwsgi-base images now set ENV PGSERVICEFILE="/srv/pg_service.conf". You'll therefore need to adapt your pg_service.conf volume mounts in your docker-compose.yml to point to that location, i.e.
[...]
- ./pg_service.conf:/srv/pg_service.conf:ro
[...]
scanned_projects_path_prefixhas been dropped as a config setting. Instead,qgis_projects_scan_base_dirmust be a directory belowqgis_projects_base_dir, and the prefix is automatically computed internally.scanned_projects_path_prefixhas been added as a config setting as the output path for preprocessed qgis projects. It must be a directory belowqgis_projects_base_dirto which the config service is allowed to write.
Starting with v2022.01.08, the requirements of all services where updated to use Flask-JWT-Extended 4.3.1.
Flask-JWT-4.x changes the JWT format (see 4.0.0 Breaking Changes), which can result in QWC Services returning a Missing claim: identity error message.
To avoid this:
- Change your JWT secret key in
.env. - Ensure all services are upgraded to v2022.01.12 or later (if such a version exists). Please omit v2022.01.08 and v2022.01.11.