Complete setup guide, step-by-step

@dietervdwes I tried to pass. Thanks for sharing!

Thanks for sharing that great guide, which I followed for a successful installation of senaite 2.

I would ask about senaite.health current state. Is it already supported by senaite 2 or still in development state ?

If it is supported, any guide for adding this addon will be helpful. The current GitHub instructions are for senaite 1.x

Hi @m3mo3_83, I do not think SENAITE Health is going to be implemented in 2.x, there are some addons for 2.x that already complement the health entities such as patients, etc

Hi @Jeff-DFWEnv I’m having trouble trying to run $python bootstrap.py, the error that it’s regarding zc.buildout:


What could be the problem ?

Some problem with the bootstrap.py file.
The previous release of Senaite 1.3 included a bootstrap.py but this version 2 does not. I borrowed the bootstrap.py file from version 1.3. I may have made a modification in mine, I can’t remember. Let me take a look and also ask the folks in lobby if they can include a bootstrap.py with version 2.0.

I got it working removing the created html (or html-like) file:
$rm bootstrap.py
(Obviously not necessary if you haven’t run the wget command yet).
Downloaded the raw bootstrap.py file from github:

$wget https://raw.githubusercontent.com/senaite/senaite.lims/1.x/bootstrap.py

Then run your command:
$python bootstrap.py

Hello!
I use your instruction for installation Senaite LIMS, and when i go to step “Start the instance in foreground bin/instance fg”, i have a error:


How to fix it?
Linux Ubuntu 18.04.6
Python 2.7
Senaite LIMS 2
Same problem: Installing senaite lims 2.0

@viktor77796, That is a weird error, sorry I don’t really know how to help.
Are you using Linux Ubuntu server, or the gui version?
I managed to install it successfully earlier this year (2022) with this same guide, but used Linux 18 LTS server, without the GUI, not sure if it makes a difference. I’m assuming it shouldn’t but I read somewhere that it may work better, hence tried it and it worked fairly easily. I also failed on the GUI Ubuntu version though. Let us know if you succeed.

Good day!
I used Linux Ubuntu Server 18.04.6 LTS (without GUI) and installed according to the instructions above. Now everything is working. Thanks a lot!

1 Like

Hello,
Someone can help me please?
I can’t understand why I’m stuck, I’m using Ubuntu 18.04.6 LTS
Thank’s

Can you see buildout command in your bin directory?

Unfortunately there isn’t

Hi, I’m having the same issue. There’s not buildout in /bin. any help please?

You can use Virtualenv create virtual environment (python2.7), then use
source bin/activate
pip install zc.buildout
now, you can check if bin/buildout is in your directory

Yes, and I just did it again but still: bash:bin/buildout: No such file or directory

When I run bin/buildout I get this errors:

mr.developer: Queued 'senaite.app.listing' for checkout.
mr.developer: Queued 'senaite.app.spotlight' for checkout.
mr.developer: Queued 'senaite.app.supermodel' for checkout.
mr.developer: Queued 'senaite.core' for checkout.
mr.developer: Queued 'senaite.impress' for checkout.
mr.developer: Queued 'senaite.jsonapi' for checkout.
mr.developer: Cloned 'senaite.app.listing' with git using branch '2.x' from 'git://github.com/senaite/senaite.app.listing.git'.
mr.developer: git cloning of 'senaite.app.listing' failed.
mr.developer: fatal: remote error: 
mr.developer:   The unauthenticated git protocol on port 9418 is no longer supported.
mr.developer: Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
mr.developer: 
mr.developer: Cloned 'senaite.core' with git using branch '2.x' from 'git://github.com/senaite/senaite.core.git'.
mr.developer: git cloning of 'senaite.core' failed.
mr.developer: fatal: remote error: 
mr.developer:   The unauthenticated git protocol on port 9418 is no longer supported.
mr.developer: Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
mr.developer: 
mr.developer: Cloned 'senaite.app.spotlight' with git using branch '2.x' from 'git://github.com/senaite/senaite.app.spotlight.git'.
mr.developer: git cloning of 'senaite.app.spotlight' failed.
mr.developer: fatal: remote error: 
mr.developer:   The unauthenticated git protocol on port 9418 is no longer supported.
mr.developer: Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
mr.developer: 
mr.developer: Cloned 'senaite.app.supermodel' with git using branch '2.x' from 'git://github.com/senaite/senaite.app.supermodel.git'.
mr.developer: git cloning of 'senaite.app.supermodel' failed.
mr.developer: fatal: remote error: 
mr.developer:   The unauthenticated git protocol on port 9418 is no longer supported.
mr.developer: Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
mr.developer: 
mr.developer: Cloned 'senaite.impress' with git using branch '2.x' from 'git://github.com/senaite/senaite.impress.git'.
mr.developer: git cloning of 'senaite.impress' failed.
mr.developer: fatal: remote error: 
mr.developer:   The unauthenticated git protocol on port 9418 is no longer supported.
mr.developer: Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
mr.developer: 
mr.developer: There have been errors, see messages above.
1 Like

Hi @tuaititecnologia

Senaite 2 was officialy released there is no need to run it from sources unless you want to try the development version.

Please follow the official installation instructions: Installation · SENAITE

Hi @ronaldm

I tried to follow the official installation instructions but those are the result:
Installing instance. Error: The requirement ('Plone==5.2.6') is not allowed by your [versions] constraint (4.3.19)

And when I try to launch Senaite:
(senaite) senaite@senaite-lims:~/senaitelims$ bin/instance start -bash: bin/instance: No such file or directory

Thats why everybody flows the alternative guide.

Change your buildout file at [source] , use https instead of git.

Hi @Pulimanti

You are trying to run Senaite 2 using Plone 4.3.19, Senaite 2 requires Plone 5.2.6

Please install and use Plone 5.2.6

I am not sure if “upgrading” Plone by changing your builtout.cfg and versions file to point to Plone 5.2.6 will work

Hi @ronaldm
I erase everything and I followed the official installation guide, but now I’m stuck once again:

(senaite) senaite@senaite-lims:~$ wget --no-check-certificate https://launchpad.net/plone/5.2/5.2.6/+download/Plone-5.2.6-UnifiedInstaller-1.0.tgz
    --2022-04-12 10:27:15--  https://launchpad.net/plone/5.2/5.2.6/+download/Plone-5.2.6-UnifiedInstaller-1.0.tgz
    Resolving launchpad.net (launchpad.net)... 91.189.89.223, 91.189.89.222, 2001:67c:1560:8003::8003, ...
    Connecting to launchpad.net (launchpad.net)|91.189.89.223|:443... connected.
    HTTP request sent, awaiting response... 303 See Other
    Location: https://launchpadlibrarian.net/574555484/Plone-5.2.6-UnifiedInstaller-1.0.tgz [following]
    --2022-04-12 10:27:15--  https://launchpadlibrarian.net/574555484/Plone-5.2.6-UnifiedInstaller-1.0.tgz
    Resolving launchpadlibrarian.net (launchpadlibrarian.net)... 91.189.89.228, 91.189.89.229, 2001:67c:1560:8003::8008, ...
    Connecting to launchpadlibrarian.net (launchpadlibrarian.net)|91.189.89.228|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 5822073 (5.6M) [application/x-tar]
    Saving to: ‘Plone-5.2.6-UnifiedInstaller-1.0.tgz

Plone-5.2.6-UnifiedInstaller 100%[=============================================>]   5.55M  6.78MB/s    in 0.8s    

2022-04-12 10:27:16 (6.78 MB/s) - ‘Plone-5.2.6-UnifiedInstaller-1.0.tgz’ saved [5822073/5822073]
(senaite) senaite@senaite-lims:~$ tar xzf Plone-5.2.6-UnifiedInstaller-1.0.tgz
(senaite) senaite@senaite-lims:~$ cd Plone-5.2.6-UnifiedInstaller-1.0
(senaite) senaite@senaite-lims:~/Plone-5.2.6-UnifiedInstaller-1.0$ ./install.sh standalone --target=/home/senaite --instance=senaitelims --password=admin

Unable to find python3.8 on system exec path.

Please do one of the following:
1) Install python3.8 or python3.6+ as a system dev package\;
2) Use --with-python=... option to point the installer to a useable python.
(senaite) senaite@senaite-lims:~/Plone-5.2.6-UnifiedInstaller-1.0$

So I understand If I install Senaite 2.0 I need Plone 5.2.6 but Plone request Python 3.6+ but Senaite is compatibile just with Python 2.7.

Can someone help us please?

Thanks