it works fine and available online. now i wanted to to add some add-ons in my site like Products.PloneFormGen . i have added it in my buildout.cfg
# Eggs
# ----
# Add an indented line to the eggs section for any Python
# eggs or packages you wish to include in your Plone instance.
#
# Note that versions may be specified here or in the [versions]
# section below. You should always specify versions that you know
# are compatible with the Plone release and at an acceptable
# development level.
#
# If you update to a later version of Plone, remove the hotfix.
#
eggs =
Plone
Pillow
Products.PloneHotfix20151208
Products.PloneFormGen
plone.app.debugtoolbar
webcouturier.dropdownmenu
the problem is that i want to restart my buildout but the command im using bin/buildout restart results in no such file or directory, i tried /opt/plone/zeocluster/var/zeoserver client1 restart as well but no success. i searched out the doc but only go the option of bin/instance restart
im using zeocluster with the client1, please let me know how to restart the buildout now, any alternate way of restarting it or am i making a mistake in finding out my instance.
If you add eggs you need to rebuild with 'bin/buildout'.
When that is done you need to restart all your zeo clients and the zeo server, typically with 'bin/supervisorctl restart all'.
It really depends on how you installed the system. One trick you can do is run the following command:
netstat -tulpn
This will give you a list of running services and their ports. What do you get when you run that command now?
Also, check to see if you are using supervisor with a command like:
sudo supervisorctl status
This doesn't cover all the possibilities but it is a good start.
On one of my machines, I get the following output:
Try re-running buildout with "bin/buildout -Nvvvvvvvv". This will give you more complete information about the build and package selection.
If it runs to completion, you should be able to restart your Plone using either supervisor or instance, depending on if you installed a cluster, or single instance, respectively.
bin/instance start
bin/supervisord
Also, before you re-run buildout, you're shutting down the cluster or instance, right?
I would say that this isn't always the best plan - if buildout doesn't run to completion then zeoserver and/or your instance(s) won't necessarily start again afterwards.
I'm not sure if you're testing in live or not but it's often a good plan to have separate environments in order to test things without impacting your live site(s)!
As others have mentioned, the first step is to make sure your buildout is running to completion?
It looks like you might be running things in the wrong directory. Can you confirm which folder your buildout.cfg file is in?
The key thing to avoid is running buildout on a running cluster/instance. Having A and B installs and alternating between them is a nice approach, but @bazo didn't mention if he was doing this or not, so I wanted to make sure he wasn't running buildout on a running install.
David Siedband . yes i made a mistake initially to make changes in the site on a running instance. now what i did is that i made a copy of my site and making changes in that. is that ok?
Still a guess, I think your issue is the virtualenv that the unified installer created.
Look in the bin/activate file, what do you see as the value for VIRTUAL_ENV?