| Commit message (Collapse) | Author | Age | Files |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is needed for systemd/journal.py.
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/systemd/journal.py", line 617, in emit
self.send(msg,
File "/usr/lib/python3/dist-packages/systemd/journal.py", line 466, in send
return sendv(*args)
^^^^^^^^^^^^
OSError: [Errno 97] Address family not supported by protocol
Call stack:
File "/usr/local/bin/webmap-import", line 814, in <module>
main()
File "/usr/local/bin/webmap-import", line 679, in main
processRaster(layername, layerdef,
File "/usr/local/share/webmap/export_raster.py", line 84, in processRaster
logging.info('Output directory "%s" is up to date, skipping', str(dst))
File "/usr/lib/python3.11/logging/__init__.py", line 2148, in info
root.info(msg, *args, **kwargs)
File "/usr/lib/python3.11/logging/__init__.py", line 1489, in info
self._log(INFO, msg, args, **kwargs)
File "/usr/lib/python3.11/logging/__init__.py", line 1634, in _log
self.handle(record)
File "/usr/lib/python3.11/logging/__init__.py", line 1644, in handle
self.callHandlers(record)
File "/usr/lib/python3.11/logging/__init__.py", line 1706, in callHandlers
hdlr.handle(record)
File "/usr/lib/python3.11/logging/__init__.py", line 978, in handle
self.emit(record)
File "/usr/lib/python3/dist-packages/systemd/journal.py", line 627, in emit
self.handleError(record)
Message: 'Output directory "%s" is up to date, skipping'
Arguments: ('/var/www/webmap/raster/kskog',)
|
|
|
|
| |
Cf. https://ansible.readthedocs.io/projects/lint/rules/deprecated-local-action/
|
|
|
|
| |
Cf. systemd.exec(5).
|
| |
|
| |
|
| |
|
|
|
|
| |
(We don't want to enable it on font files.)
|
|
|
|
| |
This reverts commit fa94e32ba5fe4cc73533ef264b4db33ab0a9c28f.
|
|
|
|
| |
For /index.html and /data/*.json.
|
|
|
|
| |
It appears to be required for GeoTIFF/WebGL on Chrome.
|
| |
|
| |
|
|
|
|
|
| |
They appear to be broken between 01:53 and 07:41 CEST… Unclear if
that'll be off by 1h during winter time.
|
| |
|
|
|
|
|
|
|
|
|
| |
template units.
Via group variables. For instance mineralrattigheter.zip is updated
daily at 04:33 CEST, so we trigger the units after that to avoid being
off by a day. (Also that particular unit runs relatively fast and
should have terminated by the start of office hours.)
|
|
|
|
|
|
|
| |
We no longer need to stream since we don't serve full features
geometries anymore, only their properties.
Cf. 0fe67edd568a53abc1d7514b14d1a8a1d2af3e0e in tools.
|
|
|
|
|
| |
We also lower tile expiration time from 8h to 30m to reduce the race
condition where the database an the on-disk tiles are not in sync.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
So Firefox and Chromium serve a blank page resp. a generic ”HTTP ERROR
404” page. With application/x-empty Chromium serves the following
This site can’t be reached
The webpage at https://example.net/… might be temporarily down or it
may have moved permanently to a new web address.
ERR_INVALID_RESPONSE
which can be confusing (even though only OpenLayer should consume those
error pages).
This reverts commit 1843371641f5b3898893df91094412eaeedc8807.
|
|
|
|
|
| |
[DEPRECATION WARNING]: Alias 'db' is deprecated. See the module docs for more information. This feature will be removed from collection 'community.postgresql' version 5.0.0.
[DEPRECATION WARNING]: Alias 'database' is deprecated. See the module docs for more information. This feature will be removed from collection 'community.postgresql' version 5.0.0.
|
|
|
|
|
|
|
|
| |
application/protobuf and application/vnd.google.protobuf might be valid types too, cf.
https://stackoverflow.com/questions/30505408/what-is-the-correct-protobuf-content-type
But we use application/x-protobuf since it appears more common. That's what cloudflare
lists at least: https://developers.cloudflare.com/speed/optimization/content/compression/
|
|
|
|
|
| |
This matches PHP's finfo_file() behavior for empty files, cf.
https://stackoverflow.com/questions/24015038/why-does-php-file-info-return-inode-x-empty-for-empty-text-files
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Cf. https://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server
|
|
|
|
| |
Cf. nss-myhostname(8).
|
| |
|
| |
|
|
|
|
| |
production machine.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Cf. 256b69ea36959f84bde51279e4720f27daf54c4f in the submodule.
|
|
|
|
|
| |
Something keeps recreating (without content) it if we delete it, so we
leave it instead but ensure it's empty instead.
|
|
|
|
|
|
|
|
| |
We also replace persistent/shared RuntimeDirectory settings with
directories defined as tmpfiles.d(5) entries. This gives more control
over access control.
We also change static compression from gzip to brotli on the HTTPd.
|
| |
|
|
|
|
|
| |
It will be shared between _webmap-* system users, which will be handy
to share lock files.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This is needed for unprivileged ‘become_user’, cf.
https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_privilege_escalation.html#risks-of-becoming-an-unprivileged-user
|
| |
|
| |
|
|
|
|
|
| |
This ensures the unit won't be skipped during DST transition, see
`systemd-analyze calendar --iterations=365 "*-*-* 02:00:00"`.
|
| |
|
| |
|
| |
|
| |
|