Hi everyone,
This video gives you a step by step guide how to install SENAITE LIMS from scratch on a fresh Ubuntu Linux 24.04 server:
Happy if you give this Video a like or a comment, and subscribe to the channel
Cheers, Ramon
Hi everyone,
This video gives you a step by step guide how to install SENAITE LIMS from scratch on a fresh Ubuntu Linux 24.04 server:
Happy if you give this Video a like or a comment, and subscribe to the channel
Cheers, Ramon
Thank very much Ramon!
I can’t figure out how to automatically start Senaite after boot without needing a logged-in user.
I tried to start senaite (bin/instance start) in a service but no web page was published.
Sorry for my ignorance.
Cheers, Arnaud
Hi soap,
Can you use the following command in senaitelims directory:
./bin/instance fg
And please past the log in terminal here so I can figure out what is exactly the problem.
Regards,
Dear Ramon,
I appreciate the informative video you shared on installing Senaite LIMS—it was very helpful.
Would it be possible for you to create another video demonstrating the process of developing new add-ons for Senaite? I believe it would be highly beneficial for those looking to extend its functionality.
Looking forward to your response.
Best regards,
haideralwaqfi@gmail.com
Hi,
I can run senaite manually without any problem (fg, start or console) but but I’d like senaite to start automatically at boot.
May be i’ve to follow the tuto of Plone
(Automatic Plone (re)starts)!?
Best regards
soap
Hi @soap,
I personally use Supervisor to manage the startup of my SENAITE ZEO and ZOPE instances.
You can simply install it using apt install supervisor
and add a configuration in /etc/supervisor/conf.d/senaite.conf:
[program:senaite_zeoserver]
command=/home/senaite/senaitelims/bin/zeoserver fg
directory=/home/senaite/senaitelims
redirect_stderr=false
autostart=true
autorestart=unexpected
user=senaite_daemon
startsecs=1
stopwaitsecs=10
[program:senaite_client1]
command=/home/senaite/senaitelims/bin/client1 console
directory=/home/senaite/senaitelims
redirect_stderr=false
autostart=true
autorestart=unexpected
user=senaite_daemon
startsecs=1
stopwaitsecs=10
However, you could also consider to use systemd
to configure your services and add the services in your /etc/systemd/system/senaite.conf
folder, e.g.:
[Unit]
Description=SENAITE
After=network.target zeoserver.service
[Service]
Type=simple
User=senaite
Group=senaite
WorkingDirectory=/home/senaite/senaitelims
ExecStart=/home/senaite/senaitelims/bin/instance start
ExecStop=/home/senaite/senaitelims/bin/instance stop
Restart=always
[Install]
WantedBy=multi-user.target
Maybe this documentation helps you to consider what is the best approach for you:
Hi @haideralwaqfi,
Thanks for your feedback and I’m happy to hear that the video was useful to you.
More videos, also on SENAITE development, are planned, but certainly will take a bit time to be produced.
Therefore, thanks for your patience and in the meantime you might want to consider using the senaite.starter
package we offer from our website. It pretty much contains everything to get started with an SENAITE add-on.
Thanks and best regards
Ramon
Hi Ramon,
thanks for the Video and instruction. I had some Problems with UTF-8 but managed it know. For backup can i save only the complete senaite folder and restore it or is there somthing other needed?
Hi Jan,
doing a backup ofthe var/filestorage
and var/blobstorage
folder is sufficient.
Just keep in mind that you need to provide the same codebase on the other system.
Hi Ramon,
with codebase you mean the Version auf Python?
No, I meant the codebase of senaite.core
and it’s add-ons (incl. Plone)
Hello @ramonski,
I followed the steps in your video, and while the build completes successfully, I encounter an error when running the command:
./bin/instance fg
The error message is as follows:
/usr/lib/python3/dist-packages/apport/report.py:13: DeprecationWarning: the imp module is deprecated in favour of importlib...
AttributeError: type object 'PyProxyBase' has no attribute '__long__'
It seems to be related to zope.security.proxy
and an AttributeError
for PyProxyBase
. I suspect this might be due to an incompatibility between dependencies, but I would appreciate any guidance on how to resolve this issue.
Has anyone encountered a similar problem? Any suggestions on potential fixes or debugging steps would be greatly appreciated.
Thanks in advance for your help!
Best regards,
Haider
[Unit]
Description=SENAITE
After=network.target zeoserver.service
[Service]
Type=simple
User=user
Group=user
WorkingDirectory=/home/user/florida
ExecStart=/home/user/florida/bin/instance start
ExecStop=/home/user/florida/bin/instance stop
Restart=always
[Install]
WantedBy=multi-user.target
this will never run the server on bootup even though i have the process running
but instance fg does, i have tried everything in my book still no solution
Hello,
After performing a fresh reinstallation, I identified that the issue was related to the buildout path.
To resolve this, ensure that you are using the correct buildout by checking its path with the following command:
$ which buildout
The output should be similar to:
/home/haider/.pyenv/shims/buildout
Best regards,
Haider