Is this supposed to happen?
If I did it wrong, what is the recommended way to set emial configuration?
I even tried setting it through ZMI after I got this error, but still without luck. I cannot make an entry for the “From” address there.
I want to be able to receive emails from senaite when devices are due for calibration. Is this possible?
Please enlighten me.
Thx for your input @hsgkp, but the problem is, that I cannot access the page where I can entry my email details. It just leeves me with the error message above.
However, meanwhile I tried firing up the official Plone 5.x and 4.3 docker images.
In both cases everything seems to work there.
So I wonder what makes the difference there, as almost all is the same regarding Plone installation.
Please, update to latest source code and run the upgrade step 1.3.3 for senaite.core:
1.- Update to latest source code of senaite.core
2.- Login as admin user
3.- Go to “Site setup > Add-ons”
4.- In the “List of activated add-ons”, locate “Senaite Core 1.3.2” and press the button to upgrade your instance.
Thanks for this tip. I searched through this community site as well as github but could not find anything related to the email settings.
However, I struggled already with your first point:
I tried using “mr.developer” inside my docker container according to point “Installing development version of add-on packages” on https://docs.plone.org/manage/installing/installing_addons.html. However, it didn’t work. I modified the top rows of my buildout and ran “python bootstrap.py” again. The lines are as follows:
root@185b24f1b101:/home/senaite/senaitelims# python bootstrap.py
ez_setup.py is deprecated and when using it setuptools will be pinned to 33.1.1 since it’s the last version that supports setuptools self upgrade/installation, check Drop support for self upgrade/installation · Issue #581 · pypa/setuptools · GitHub for more info; use pip to install setuptools
Downloading https://pypi.io/packages/source/s/setuptools/setuptools-33.1.1.zip
Extracting in /tmp/tmpzO27m_
Now working in /tmp/tmpzO27m_/setuptools-33.1.1
Building a Setuptools egg in /tmp/bootstrap-hDjouB
warning: no files found matching ‘*’ under directory ‘setuptools/_vendor’
/tmp/bootstrap-hDjouB/setuptools-33.1.1-py2.7.egg
no previously-included directories found matching ‘doc’
no previously-included directories found matching ‘old-tutorial’
Creating directory ‘/home/senaite/senaitelims/develop-eggs’.
What is the intended way to exchange a released package version with the current source from github?
What did I miss?
Is there another information source how to add github source packages to an already up and running instance?
chmod -R g-w /home/senaite/senaitelims/var/.python-eggs
find /data -type d -exec chmod 770 {} ; 2> /dev/null
find /data -type f -exec chmod 660 {} ; 2> /dev/null
chmod 754 /home/senaite/senaitelims/bin/*
chmod: cannot access ‘/home/senaite/senaitelims/var/.python-eggs’: No such file or directory
Updating zeo.
Versions had to be automatically picked.
The following part definition lists the versions picked:
[versions]
senaite.storage = 1.0.0
From what is the output, this would suggest a “success”. However, in senaite it looks like this in the list of activated addons:
Hi @der.einstein I think that the easiest way to use the latest code in GitHub is using the development environment.
You have to at least add "senaite.core " under the eggs section but I suggest that you also add all other packages: senaite.core.listing, senaite.impress, etc
Now, you "git clone " in the “src/” folder.
Then, you have to define the “develop” section that points where to find the source code. Note that the code have to be in a local directory in your computer or server.
# Provide the *paths* to the eggs you are developing here:
develop =
# src/my.package
src/senaite.lims
src/senaite.core
src/senaite.core.listing
src/senaite.core.supermodel
src/senaite.impress
src/senaite.api
If you are considering to use Senaite in a productive environment, I suggest that you hire professional services for guidance, help and training. It is the easiest way to deploy and customize Senaite having professional backup to face any inconvenience.
Thanks for sharing this. Please share step-by-step terminal commands for your instructions. I am new to docker and unable to navigate properly to find the different files mentioned.
Thanks.
The steps on my last post just miss out the following:
cd src && git clone https://github.com/senaite/senaite.core
… analogous all other senaite packages …
cd … & vi buildout.cfg
… to comment out the senaite packages lines under “[versions]”
I now have several buildout.cfg files. Which one is being edited? 1.3.3 or the ones in the src folder?
Not sure where in the folder structure I should run this command from. Also, when I run it, I get the error message that “docker build requires exactly 1 argument”
This will build like the previous example, but it will then tag the resulting image. The repository name will be vieux/apache and the tag will be 2.0 . Read more about valid tags.
run the docker build command from the folder where your “Dockerfile” resides
Hi I have this email problem too with the trace text displayed. My senaite is installed on a ubuntu server, what are the terminal commands or steps to type in to get senaite to update to 1.3.3 to solve the email problem?
Thank you very much for your advice on setting up senaite on docker. However, I have followed your advice but each time I launch the docker-compose up -d command, everything in the src folder gets deleted, as such, my changes are lost.
Am I missing something? You can find the contents of my buildout file below