在buildout和restart之后,扩展不会显示

时间:2013-11-28 08:19:38

标签: plone buildout egg zeos

我正在尝试在Plone 4.3.1环境中安装一个鸡蛋(使用ZEO)。

所以我将“collective.quickupload”行添加到我的buildout.cfg文件中,并使用以下命令运行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-mode中启动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'

非常感谢您的反馈!

1 个答案:

答案 0 :(得分:0)

非常感谢您的回答。我重新启动了服务器(再次),在buildout.cfg中更改了ZEO的IP地址和端口,并正常启动了实例。现在它似乎工作。我猜你没事:另一个进程是使用相同的端口。尽管我试图显示正在运行的进程,但它不在列表中。