我正在尝试在我的 Plone 4.3.1 环境(使用 ZEO)中安装一个鸡蛋。
因此,我在 buildout.cfg 文件中添加了“collective.quickupload”行,并使用以下命令运行 buildout:
/usr/local/Plone/zeocluster# sudo -E -u plone_buildout ./bin/buildout
这是我得到的:
Updating zeoserver.
Updating client1.
Updating client2.
Updating backup.
Updating zopepy.
Updating unifiedinstaller.
Updating precompiler.
Compiling Python files.
Compiling locale files.
Error while compiling /usr/local/Plone/buildout-cache/eggs/python_gettext-1.2-py2.7.egg/pythongettext/tests/test_escape.po
Error while compiling /usr/local/Plone/buildout-cache/eggs/python_gettext-1.2-py2.7.egg/pythongettext/tests/test5.po
Updating setpermissions.
setpermissions: Running
# Dummy references to force this to execute after referenced parts
echo /usr/local/Plone/zeocluster/var/backups yes > /dev/null
chmod 600 .installed.cfg
# Make sure anything we've created in var is r/w by our group
find /usr/local/Plone/zeocluster/var -type d -exec chmod 770 {} \; 2> /dev/null
find /usr/local/Plone/zeocluster/var -type f -exec chmod 660 {} \; 2> /dev/null
find /usr/local/Plone/zeocluster/var -type d -exec chmod 770 {} \; 2> /dev/null
find /usr/local/Plone/zeocluster/var -type f -exec chmod 660 {} \; 2> /dev/null
chmod 754 /usr/local/Plone/zeocluster/bin/*
*************** PICKED VERSIONS ****************
[versions]
collective.quickupload = 1.6.1
ua-parser = 0.3.4
*************** /PICKED VERSIONS ***************
然后,我使用以下命令重新启动了我的 Plone 实例: ./bin/plonectl restart
重新启动工作正常,但扩展程序未显示在 Plone 的扩展程序列表中。
我还尝试在 fg 模式下启动 zeoserver、client1 和 client2。这没有用。我收到以下错误:[...]
File "/usr/local/Plone/buildout-cache/eggs/zc.lockfile-1.0.2-py2.7.egg/zc/lockfile/__init__.py", line 59, in _lock_file
raise LockError("Couldn't lock %r" % file.name)
zc.lockfile.LockError: Couldn't lock '/usr/local/Plone/zeocluster/var/filestorage/Data.fs.lock'
非常感谢您的反馈!