Because the deployment may not have a homeserver.yaml file, or it may not contain the DB settings (they're in another file) or homeserver.yaml is on a read-only filesystem and the script needs to be run from another directory to be able to write cache.db
Because the deployment may not have a
homeserver.yaml
file, or it may not contain the DB settings (they're in another file) orhomeserver.yaml
is on a read-only filesystem and the script needs to be run from another directory to be able to writecache.db