Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EPIC: Migrate isaw.web to Plone 5.1, Plone 5.2, Python 3 #481

Open
18 tasks
paregorios opened this issue Apr 30, 2024 · 3 comments
Open
18 tasks

EPIC: Migrate isaw.web to Plone 5.1, Plone 5.2, Python 3 #481

paregorios opened this issue Apr 30, 2024 · 3 comments

Comments

@paregorios
Copy link
Member

paregorios commented Apr 30, 2024

Related tickets

Just look for the Plone 5.1 and Plone 5.2 labels.

High-level plan

  • Upgrade custom code to work with Plone 5.1
  • Remove unnecessary add-ons
  • Upgrade necessary add-ons (including profiles)
  • Migrate custom content types to Dexterity (profiles)
  • Migrate core content types to Dexterity
  • Remove Archetypes
  • Migrate site to Plone 5.1 - migration server
  • Test and bugfix
  • Repeat 5.1 migration steps on production
  • Upgrade custom code to work with Python 3
  • Migrate site to Plone 5.2/Python 3 - migration server
  • Test and bugfix
  • Repeat Python 3 migration steps on production
  • Declare victory

Migration Checklist

@paregorios paregorios added this to the April/May 2024 milestone Apr 30, 2024
@paregorios paregorios removed this from the April/May 2024 milestone Jul 9, 2024
@paregorios paregorios changed the title Migrate isaw.web to Plone 5.1 EPIC: Migrate isaw.web to Plone 5.1 Jul 16, 2024
sauzher added a commit that referenced this issue Oct 18, 2024
added post migration fix for calendar event portlet.
@sauzher
Copy link

sauzher commented Dec 18, 2024

I have this kind of erros on three Images that prevent some things going on (like access the object, or purge historystorage...) after migration

2024-12-18 06:32:35 ERROR ZODB.Connection Couldn't load state for plone.app.contenttypes.content.Image 0x352f26
Traceback (most recent call last):
  File "/mnt/hdd3/projects/isaw4/isaw.web51/eggs/ZODB-5.3.0-py2.7.egg/ZODB/Connection.py", line 800, in setstate
    self._reader.setGhostState(obj, p)
  File "/mnt/hdd3/projects/isaw4/isaw.web51/eggs/ZODB-5.3.0-py2.7.egg/ZODB/serialize.py", line 622, in setGhostState
    state = self.getState(pickle)
  File "/mnt/hdd3/projects/isaw4/isaw.web51/eggs/ZODB-5.3.0-py2.7.egg/ZODB/serialize.py", line 615, in getState
    return unpickler.load()
  File "/mnt/hdd3/projects/isaw4/isaw.web51/eggs/ZODB-5.3.0-py2.7.egg/ZODB/serialize.py", line 481, in _persistent_load
    return self.load_persistent(*reference)
  File "/mnt/hdd3/projects/isaw4/isaw.web51/eggs/ZODB-5.3.0-py2.7.egg/ZODB/serialize.py", line 523, in load_persistent
    self._cache.new_ghost(oid, obj)
TypeError: Cache values must be persistent objects.
2024-12-18 06:32:35 ERROR ZODB.Connection Couldn't load state for plone.app.contenttypes.content.Image 0x352f26
Traceback (most recent call last):
  File "/mnt/hdd3/projects/isaw4/isaw.web51/eggs/ZODB-5.3.0-py2.7.egg/ZODB/Connection.py", line 800, in setstate
    self._reader.setGhostState(obj, p)
  File "/mnt/hdd3/projects/isaw4/isaw.web51/eggs/ZODB-5.3.0-py2.7.egg/ZODB/serialize.py", line 622, in setGhostState
    state = self.getState(pickle)
  File "/mnt/hdd3/projects/isaw4/isaw.web51/eggs/ZODB-5.3.0-py2.7.egg/ZODB/serialize.py", line 615, in getState
    return unpickler.load()
  File "/mnt/hdd3/projects/isaw4/isaw.web51/eggs/ZODB-5.3.0-py2.7.egg/ZODB/serialize.py", line 481, in _persistent_load
    return self.load_persistent(*reference)
  File "/mnt/hdd3/projects/isaw4/isaw.web51/eggs/ZODB-5.3.0-py2.7.egg/ZODB/serialize.py", line 523, in load_persistent
    self._cache.new_ghost(oid, obj)
TypeError: Cache values must be persistent objects.

ERROR purging /isaw/about/pictureofaspeakeratISAW.jpeg (Image)
ERROR purging /isaw/graduate-studies/AinelGedida.JPG (Image)
ERROR purging /isaw/graduate-studies/ISAW_Foyer.tiff (Image)

the objects are also undeletable: folder._delOb(id) returns same traceback

@alecpm any suggestion about it?

@paregorios
Copy link
Member Author

@sauzher all three of those images are very old content and are not being used in any pages or other contexts anywhere on the site. I have just successfully deleted all three of them through-the-plone on production.

@sauzher
Copy link

sauzher commented Dec 18, 2024

I deleted them on isaw-migration.jazkarta.com too. Thanks!

@skleinfeldt skleinfeldt changed the title EPIC: Migrate isaw.web to Plone 5.1 EPIC: Migrate isaw.web to Plone 5.1, Plone 5.2, Python 3 Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants