Created
July 22, 2016 18:41
-
-
Save caduvieira/8e5454262ca60b563e4c49c52dde0dea to your computer and use it in GitHub Desktop.
Error on zeopack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plone: | |
image: plone/plone:4.3.9-alpine | |
links: | |
- zeoserver | |
volumes_from: | |
- 'plone_data' | |
- 'plone_data_backup' | |
environment: | |
- ZEO_ADDRESS=zeoserver:8100 | |
plone_data: | |
container_name: plone_data | |
image: busybox | |
volumes: | |
- './filestorage:/data/filestorage' | |
- './blobstorage:/data/blobstorage' | |
command: ['chown', '-R', '500:500', '/data'] | |
plone_data_backup: | |
container_name: plone_data_backup | |
image: busybox | |
volumes: | |
- './backups:/data/backups' | |
- './blobstoragebackups:/data/blobstoragebackups' | |
command: ['chown', '-R', '500:500', '/data'] | |
zeoserver: | |
container_name: 'zeoserver' | |
image: plone/plone:4.3.9-alpine | |
command: ['zeoserver'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker-compose run plone bin/backup | |
Starting plone_data_backup | |
Starting plone_data | |
INFO: Please wait while backing up database file: /data/filestorage/Data.fs to /data/backups | |
INFO: Please wait while backing up blobs from /data/blobstorage to /data/blobstoragebackups | |
INFO: Renaming blobstorage.0 to blobstorage.1. | |
INFO: rsync -a --delete --link-dest=../blobstorage.1 /data/blobstorage /data/blobstoragebackups/blobstorage.0 | |
docker-compose run plone bin/zeopack | |
Starting plone_data_backup | |
Starting plone_data | |
Traceback (most recent call last): | |
File "/plone/instance/bin/zeopack", line 40, in <module> | |
sys.exit(plone.recipe.zeoserver.pack.main(host, port, unix, days, username, password, realm, blob_dir, storage)) | |
File "/plone/buildout-cache/eggs/plone.recipe.zeoserver-1.2.8-py2.7.egg/plone/recipe/zeoserver/pack.py", line 58, in main | |
_main(*args, **kw) | |
File "/plone/buildout-cache/eggs/plone.recipe.zeoserver-1.2.8-py2.7.egg/plone/recipe/zeoserver/pack.py", line 30, in _main | |
blob_dir=blob_dir, shared_blob_dir=shared_blob_dir, | |
File "/plone/buildout-cache/eggs/ZODB3-3.10.5-py2.7-linux-x86_64.egg/ZEO/ClientStorage.py", line 387, in __init__ | |
self.fshelper = ZODB.blob.FilesystemHelper(blob_dir) | |
File "/plone/buildout-cache/eggs/ZODB3-3.10.5-py2.7-linux-x86_64.egg/ZODB/blob.py", line 336, in __init__ | |
self.layout = LAYOUTS[layout_name] | |
KeyError: 'zeocache' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment