Buildout File (where, what and how)?

Hello,

I hope someone can help me out, first let me start saying that I'm not a developer or have developer knowledge :frowning:

I installed Plone on my Mac M1 using docker and following the installation instructions that I found on the web, this works fine and I was able to start editing our site - no problems there :slight_smile:

First problem appeared when trying to install the Onlyoffice Pluging, cause I started to see references to a file called buildout.cfg (which I didn't found anywhere), so I give-up with Onlyoffice after I couldn't solve the error "DocumentServer not accessible" :frowning:

Now, I need to migrate what I have on my Mac to a different server (docker as well), and again I found that I need to make changes to buildout.cfg, which means that I reached a road end.

I will appreciate any help to solve the migration issue I'm facing, and if this also help-me out with the onlyoffice plugin, even better !!!

Thanks !!!!!

Carlos via Plone Community wrote at 2023-8-3 16:59 +0000:

...
First problem appeared when trying to install the Onlyoffice Pluging, cause I started to see references to a file called buildout.cfg (which I didn't found anywhere), so I give-up with Onlyoffice after I couldn't solve the error "DocumentServer not accessible" :frowning:

You did not tell us which Plone version you target.

Up to Plone version 5, Plone used buildout by default as build system.
With Plone version 6, buildout can still be used but the default
is something else.
Therefore, older installation instructions (e.g. for extensions)
likely refer to the buildout configuration file buildout.cfg.
But, you may not find this configuration file in Plone 6 installations
(and sometimes also not in older Plone installations).

Hi Dieter, you're right, I forgot yo mentioned that I'm using Plone 6 with the classic frontend, not Volto.

If Plone 6 does not need to use Buildout, how should I proceed to do the export/import and the onlyoffice plugin installation?

Appreciate your help, thanks !!!

Carlos via Plone Community wrote at 2023-8-3 18:58 +0000:

If Plone 6 does not need to use Buildout, how should I proceed to do the export/import and the onlyoffice plugin installation?

I have read (in this discussion list) that Plone 6 no longer
uses buildout by default. But I have not tried Plone 6 myself
and therefore cannot answer your question.

Likely, you will find information in the Plone 6 documentation.

Thanks for your support Dieter, I'll try to read the documentation to check if I can find the solution.

You can use buildout with Plone 6

cd /your-install-dir
touch buildout.cfg
# buildout.cfg
[buildout]
parts = instance
extends =
    https://dist.plone.org/release/6-latest/versions.cfg
#  https://dist.plone.org/release/6-latest/versions-ecosystem.cfg
#  https://dist.plone.org/release/6-latest/versions-extra.cfg       

versions = versions

[instance]
recipe = plone.recipe.zope2instance
eggs =
    Plone
    Pillow
python3 -m venv .venv
source .venv/bin/activate
pip install -r https://dist.plone.org/release/6-latest/requirements.txt
buildout

Start Plone in Debug Mode

bin/instance fg

Stop Plone in Debug Mode press ctl+c

Start Plone in Prod Mode

bin/instance start

Stop Plone in Prod Mode

bin/instance stop

Hi Jan,

Thanks for your help, I'll test this on my site :grinning: !!!