Update to 7.6 fail

When updating to version 7.6 I get the following error:

$ trytond-admin -c /etc/tryton/trytond.conf -d tryton --all

Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.13/trytond-admin", line 33, in <module>
    admin.run(options)
    ~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/trytond/admin.py", line 59, in run
    pool.init(update=options.update, lang=list(lang),
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        activatedeps=options.activatedeps,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        indexes=options.indexes)
        ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/trytond/pool.py", line 143, in init
    restart = not load_modules(
                  ~~~~~~~~~~~~^
        self.database_name, self, update=update, lang=lang,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        activatedeps=activatedeps, indexes=indexes)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/trytond/modules/__init__.py", line 425, in load_modules
    _load_modules(update)
    ~~~~~~~~~~~~~^^^^^^^^
  File "/usr/lib/python3.13/site-packages/trytond/modules/__init__.py", line 395, in _load_modules
    load_module_graph(graph, pool, update, lang, indexes)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/trytond/modules/__init__.py", line 194, in load_module_graph
    register_classes(early_classes[module], module)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/trytond/modules/__init__.py", line 181, in register_classes
    cls.__register__(module)
    ~~~~~~~~~~~~~~~~^^^^^^^^
  File "/usr/lib/python3.13/site-packages/trytond/ir/model.py", line 343, in __register__
    super().__register__(module)
    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^
  File "/usr/lib/python3.13/site-packages/trytond/model/fields/fmany2one.py", line 34, in __register__
    super().__register__(module)
    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^
  File "/usr/lib/python3.13/site-packages/trytond/model/fields/fmany2one.py", line 34, in __register__
    super().__register__(module)
    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^
  File "/usr/lib/python3.13/site-packages/trytond/model/fields/fmany2one.py", line 34, in __register__
    super().__register__(module)
    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^
  File "/usr/lib/python3.13/site-packages/trytond/model/modelsql.py", line 452, in __register__
    super().__register__(module_name)
    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/trytond/model/model.py", line 131, in __register__
    model_id = Model_.register(cls, module_name)
  File "/usr/lib/python3.13/site-packages/trytond/ir/model.py", line 110, in register
    cursor.execute(*ir_model.insert(
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
            [ir_model.name, ir_model.string, ir_model.module],
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
            [[model.__name__, model.__string__, module_name]]))
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/trytond/backend/postgresql/database.py", line 78, in execute
    cursor.execute(self, sql, args)
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
psycopg2.errors.UndefinedColumn: no existe la columna «string» en la relación «ir_model»
LINE 1: INSERT INTO "ir_model" ("name", "string", "module") VALUES (...

I have no idea which model I should delete or which database table.

Have you checked the migration guide Migration — Tryton Documentation? You have to make some changes to the database before you can upgrade.

Thanks, I didn’t know there wasn’t that documentation.

Yeah, it used to be here on the forum in a special category, but it silently got moved to the new location. Hopefully this will help others as well.

It was not silently, it is clearly in the announcement, the former link redirect to the new place and it was done publicly on Add manual migration to documentation (!1993) · Merge requests · Tryton / Tryton · GitLab.

Well, I can’t find anything here on the forum where most of the people look. Also the link in the news of the release is pointing to How to setup a database — Tryton server instead of Migration — Tryton Documentation.

Can do nothing if people does not look at the right place.
We are not going to duplicate all the discussion about the development in the forum for those who look only to the forum.

it is pointing to how to upgrade to a new series which has a warning pointing to the migration :person_facepalming: .