Hello again @ramonski
Thanks for your instructions. On the new server, I have installed SENAITE 2.6, copied filestrorage
and blobstorage
where they belong by default, started an instance in foreground mode, and go this error:
/home/senaite/senaite/eggs/Products.CMFCore-2.7.1-py2.7.egg/Products/CMFCore/CachingPolicyManager.py:30: DeprecationWarning: IObjectMovedEvent is deprecated. Some zope.container interfaces have been moved to zope.lifecycleevent.interfaces, please import form there.
from zope.container.interfaces import IObjectMovedEvent
/home/senaite/senaite/eggs/Products.CMFCore-2.7.1-py2.7.egg/Products/CMFCore/CMFCatalogAware.py:28: DeprecationWarning: IObjectAddedEvent is deprecated. Some zope.container interfaces have been moved to zope.lifecycleevent.interfaces, please import form there.
from zope.container.interfaces import IObjectAddedEvent
/home/senaite/senaite/eggs/Products.Archetypes-1.16.6-py2.7.egg/Products/Archetypes/generator/widget.py:4: DeprecationWarning: InitializeClass is deprecated. Please import from AccessControl.class_init.
from App.class_init import InitializeClass
/home/senaite/senaite/eggs/Products.Archetypes-1.16.6-py2.7.egg/Products/Archetypes/ReferenceEngine.py:31: DeprecationWarning: LazyMap is deprecated. Please import from ZTUtils.Lazy.
from Products.ZCatalog.Lazy import LazyMap
2025-05-22 23:40:38,953 INFO [chameleon.config:38][MainThread] directory cache: /home/senaite/senaite/var/cache.
/home/senaite/senaite/eggs/Products.ATContentTypes-3.0.7-py2.7.egg/Products/ATContentTypes/interfaces/factories.py:2: DeprecationWarning: IFileFactory is deprecated. Import IFileFactory from zope.filerepresentation.interfaces instead
from plone.app.widgets.interfaces import IFileFactory
/home/senaite/senaite/eggs/Products.ATContentTypes-3.0.7-py2.7.egg/Products/ATContentTypes/permission.py:2: DeprecationWarning: IFieldPermissionChecker is deprecated. Import IFieldPermissionChecker from plone.app.z3cform.interfaces instead
from plone.app.widgets.interfaces import IFieldPermissionChecker
/home/senaite/senaite/eggs/Products.ATContentTypes-3.0.7-py2.7.egg/Products/ATContentTypes/permission.py:8: DeprecationWarning: setDefaultRoles is deprecated. Please use addPermission from AccessControl.Permission.
from Products.CMFCore.permissions import setDefaultRoles
/home/senaite/senaite/eggs/Products.ATContentTypes-3.0.7-py2.7.egg/Products/ATContentTypes/content/base.py:21: DeprecationWarning: ResourceLockedError is deprecated. Please import from zExceptions.
from webdav.Lockable import ResourceLockedError
/home/senaite/senaite/eggs/Products.ATContentTypes-3.0.7-py2.7.egg/Products/ATContentTypes/lib/historyaware.py:4: DeprecationWarning: html_quote is deprecated. Please import from DocumentTemplate.html_quote. These shims will go away in DocumentTemplate 4.0.
from DocumentTemplate.DT_Util import html_quote
/home/senaite/senaite/eggs/Products.ATContentTypes-3.0.7-py2.7.egg/Products/ATContentTypes/content/topic.py:35: DeprecationWarning: LazyCat is deprecated. Please import from ZTUtils.Lazy.
from Products.ZCatalog.Lazy import LazyCat
/home/senaite/senaite/eggs/Products.ATContentTypes-3.0.7-py2.7.egg/Products/ATContentTypes/tool/factory.py:30: DeprecationWarning: call_object is deprecated. Please import from ZServer.ZPublisher.Publish.
from ZPublisher.Publish import call_object
/home/senaite/senaite/eggs/Products.ATContentTypes-3.0.7-py2.7.egg/Products/ATContentTypes/tool/factory.py:31: DeprecationWarning: dont_publish_class is deprecated. Please import from ZServer.ZPublisher.Publish.
from ZPublisher.Publish import dont_publish_class
/home/senaite/senaite/eggs/Products.ATContentTypes-3.0.7-py2.7.egg/Products/ATContentTypes/tool/factory.py:32: DeprecationWarning: missing_name is deprecated. Please import from ZServer.ZPublisher.Publish.
from ZPublisher.Publish import missing_name
/home/senaite/senaite/eggs/plone.app.upgrade-2.1.8-py2.7.egg/plone/app/upgrade/__init__.py:157: DeprecationWarning: GopipIndex is deprecated. Please import from plone.folder.nogopip
from plone.app.folder.nogopip import GopipIndex
/home/senaite/senaite/eggs/plone.app.blob-1.8.2-py2.7.egg/plone/app/blob/field.py:6: DeprecationWarning: rfc1123_date is deprecated. Please import from zope.datetime. This backwards compatibility import will go away in Zope 6.
from App.Common import rfc1123_date
/home/senaite/senaite/eggs/plone.app.blob-1.8.2-py2.7.egg/plone/app/blob/content.py:23: DeprecationWarning: MimeTypeException is deprecated. Import from Products.MimetypesRegistry.interfaces instead
from Products.MimetypesRegistry.common import MimeTypeException
/home/senaite/senaite/eggs/Products.ATContentTypes-3.0.7-py2.7.egg/Products/ATContentTypes/setuphandlers.py:9: DeprecationWarning: ILanguageSchema is deprecated. It has been moved to plone.i18n.interfaces, import from there instead.
from Products.CMFPlone.interfaces import ILanguageSchema
/home/senaite/senaite/eggs/archetypes.schemaextender-3.0.2-py2.7.egg/archetypes/schemaextender/extender.py:15: DeprecationWarning: zope.site.hooks has moved to zope.component.hooks. Import of zope.site.hooks will become unsupported in Version 5.0
from zope.site.hooks import getSite
/home/senaite/senaite/eggs/plone.contentrules-2.1.3-py2.7.egg/plone/contentrules/engine/interfaces.py:4: DeprecationWarning: IContained is deprecated. Some zope.container interfaces have been moved to zope.location.interfaces, please import form there.
from zope.container.interfaces import IContained
/home/senaite/senaite/eggs/plone.app.contentrules-4.1.6-py2.7.egg/plone/app/contentrules/handlers.py:16: DeprecationWarning: IObjectRemovedEvent is deprecated. Some zope.container interfaces have been moved to zope.lifecycleevent.interfaces, please import form there.
from zope.container.interfaces import IObjectRemovedEvent
/home/senaite/senaite/eggs/plone.app.contenttypes-2.2.3-py2.7.egg/plone/app/contenttypes/migration/patches.py:13: DeprecationWarning: _marker is deprecated. Please import from Products.PluginIndexes.unindex.
from Products.PluginIndexes.common.UnIndex import _marker
2025-05-22 23:40:42,077 INFO [senaite.jsonapi:48][MainThread] INITIALIZED SENAITE JSONAPI V1 ROUTE ---> senaite.jsonapi.v1.routes.catalogs
2025-05-22 23:40:42,085 INFO [senaite.jsonapi:48][MainThread] INITIALIZED SENAITE JSONAPI V1 ROUTE ---> senaite.jsonapi.v1.routes.content
2025-05-22 23:40:42,085 INFO [senaite.jsonapi:48][MainThread] INITIALIZED SENAITE JSONAPI V1 ROUTE ---> senaite.jsonapi.v1.routes.push
2025-05-22 23:40:42,087 INFO [senaite.jsonapi:48][MainThread] INITIALIZED SENAITE JSONAPI V1 ROUTE ---> senaite.jsonapi.v1.routes.registry
2025-05-22 23:40:42,088 INFO [senaite.jsonapi:48][MainThread] INITIALIZED SENAITE JSONAPI V1 ROUTE ---> senaite.jsonapi.v1.routes.settings
2025-05-22 23:40:42,091 INFO [senaite.jsonapi:48][MainThread] INITIALIZED SENAITE JSONAPI V1 ROUTE ---> senaite.jsonapi.v1.routes.users
2025-05-22 23:40:42,094 INFO [senaite.jsonapi:48][MainThread] INITIALIZED SENAITE JSONAPI V1 ROUTE ---> senaite.jsonapi.v1.routes.version
/home/senaite/senaite/eggs/senaite.impress-2.6.0-py2.7.egg/senaite/impress/browser/viewlets/setupbutton.py:22: DeprecationWarning: ManageBika: Moved to senaite.core.permissions
from bika.lims.permissions import ManageBika
/home/senaite/senaite/eggs/zope.configuration-4.4.1-py2.7.egg/zope/configuration/config.py:239: DeprecationWarning: IAutoGenerateID: Moved to senaite.core.interfaces
obj = getattr(mod, oname)
/home/senaite/senaite/eggs/zope.configuration-4.4.1-py2.7.egg/zope/configuration/config.py:239: DeprecationWarning: IMultiCatalogBehavior: Moved to senaite.core.interfaces
obj = getattr(mod, oname)
/home/senaite/senaite/eggs/senaite.core-2.6.0-py2.7.egg/senaite/core/browser/stickers/view.py:39: DeprecationWarning: ComponentLookupError is deprecated. Import from zope.interface.interfaces
from zope.component.interfaces import ComponentLookupError
2025-05-22 23:40:43,604 INFO [senaite.impress:35][MainThread] TemplateFinder::init:type=senaite.impress.reports
2025-05-22 23:40:43,997 INFO [SENAITE:32][MainThread] *** Initializing SENAITE LIMS Customization Package ***
2025-05-22 23:40:43,997 INFO [senaite.impress:32][MainThread] *** Initializing SENAITE.IMPRESS ***
2025-05-22 23:40:43,997 INFO [senaite.app.supermodel:37][MainThread] *** Initializing SENAITE.APP.SUPERMODEL ***
2025-05-22 23:40:43,997 INFO [senaite.app.spotlight:28][MainThread] *** Initializing SENAITE.APP.SPOTLIGHT ***
2025-05-22 23:40:43,997 INFO [senaite.app.listing:36][MainThread] *** Initializing SENAITE.APP.LISTING ***
2025-05-22 23:40:43,997 INFO [senaite.core:55][MainThread] *** Initializing BIKA.LIMS ***
2025-05-22 23:40:44,394 INFO [senaite.core:32][MainThread] *** Initializing SENAITE.CORE ***
2025-05-22 23:40:44,394 INFO [plone.jsonapi.routes:16][MainThread] ### PLONE.JSONAPI.CORE INITIALIZE ###
2025-05-22 23:40:44,396 INFO [Zope:45][MainThread] Ready to handle requests
Starting server in PID 55456.
Serving on http://0.0.0.0:8080
Then I ran all the upgrades in the http://localhost:8080/senaite/portal_setup/manage_upgrades
, as shown
and the upgrades on the Add-ons, as shown:
Nevertheless, when I access Samples
section, I get this error:
Traceback (innermost last):
Module ZPublisher.WSGIPublisher, line 176, in transaction_pubevents
Module ZPublisher.WSGIPublisher, line 385, in publish_module
Module ZPublisher.WSGIPublisher, line 288, in publish
Module ZPublisher.mapply, line 85, in mapply
Module ZPublisher.WSGIPublisher, line 63, in call_object
Module senaite.app.listing.view, line 246, in __call__
Module senaite.app.listing.ajax, line 113, in handle_subpath
Module senaite.core.decorators, line 40, in decorator
Module senaite.app.listing.decorators, line 63, in wrapper
Module senaite.app.listing.decorators, line 50, in wrapper
Module senaite.app.listing.decorators, line 100, in wrapper
Module senaite.app.listing.ajax, line 383, in ajax_folderitems
Module senaite.app.listing.decorators, line 88, in wrapper
Module senaite.app.listing.ajax, line 259, in get_folderitems
Module senaite.app.listing.view, line 982, in folderitems
Module senaite.core.browser.samples.view, line 499, in folderitem
Module plone.memoize.view, line 59, in memogetter
Module bika.lims.browser, line 94, in user_fullname
Module bika.lims.api, line 1572, in get_user_fullname
Module bika.lims.api, line 1514, in get_user_contact
Module bika.lims.api, line 1009, in search
Module bika.lims.api, line 484, in get_tool
Module bika.lims.api, line 492, in fail
APIError: No tool named 'senaite_catalog_contact' found.
Am I missing on how to run also the upgrade steps of the dependent packages, e.g. senaite.impress
, senaite.app.listing
, senaite.app.spotlight
etc.?
Sorry If I seem to rookie, what can I do?
Thanks very much for your help
Best regards,
Diego