Open zopyx opened 10 months ago
What was the error at the end of the traceback?
Sorry for incomplete information.
The savepoints for blobs are created (by default) inside var/blobstorage/tmp
. Only var/blobstorage
existed.
This is also true in other contexts where the ZODB/Zope expects directory to exist for var/logs
, var/instance
, var/filestorage
etc.
@zopyx What storages is your ZODB configured with?
From what I can see this temporary directory should normally be created when the blob storage is initialized: https://github.com/zopefoundation/ZODB/blob/master/src/ZODB/blob.py#L377-L378
A
savepoint()
call may cause the errorif the target directory does not exist. Better: the directory should be created automatically rather than failing implicitly.