# Update to 7.6 fail

**URL:** https://discuss.tryton.org/t/update-to-7-6-fail/8574
**Category:** System Administrator
**Created:** [May 9, 2025, 4:46pm UTC](https://discuss.tryton.org/t/update-to-7-6-fail/8574 "2025-05-09T16:46:01Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![eleazar](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/eleazar/32/488_2.png) [@eleazar](https://discuss.tryton.org/u/eleazar)
#### Post date: [May 9, 2025, 4:46pm UTC](https://discuss.tryton.org/t/update-to-7-6-fail/8574/1 "2025-05-09T16:46:02Z")

</div>

When updating to version 7.6 I get the following error:

```auto
$ 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.

---

<div class="post-metadata">

### Author: ![edbo](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/e/f14d63/32.png) [@edbo](https://discuss.tryton.org/u/edbo)
#### Post date: [May 9, 2025, 6:02pm UTC](https://discuss.tryton.org/t/update-to-7-6-fail/8574/3 "2025-05-09T18:02:04Z")

</div>

Have you checked the migration guide [https://docs.tryton.org/latest/migration.html#index-migration](https://docs.tryton.org/latest/migration.html#index-migration)? You have to make some changes to the database before you can upgrade.

---

<div class="post-metadata">

### Author: ![eleazar](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/eleazar/32/488_2.png) [@eleazar](https://discuss.tryton.org/u/eleazar)
#### Post date: [May 9, 2025, 6:14pm UTC](https://discuss.tryton.org/t/update-to-7-6-fail/8574/4 "2025-05-09T18:14:17Z")

</div>

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

---

<div class="post-metadata">

### Author: ![edbo](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/e/f14d63/32.png) [@edbo](https://discuss.tryton.org/u/edbo)
#### Post date: [May 9, 2025, 6:27pm UTC](https://discuss.tryton.org/t/update-to-7-6-fail/8574/5 "2025-05-09T18:27:39Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [May 9, 2025, 9:47pm UTC](https://discuss.tryton.org/t/update-to-7-6-fail/8574/6 "2025-05-09T21:47:48Z")

</div>

> [@edbo](#):
>
> it silently got moved to the new location

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](https://foss.heptapod.net/tryton/tryton/-/merge_requests/1993).

---

<div class="post-metadata">

### Author: ![edbo](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/e/f14d63/32.png) [@edbo](https://discuss.tryton.org/u/edbo)
#### Post date: [May 13, 2025, 9:28am UTC](https://discuss.tryton.org/t/update-to-7-6-fail/8574/7 "2025-05-13T09:28:21Z")

</div>

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](https://docs.tryton.org/7.6/server/topics/setup_database.html#update-a-database) instead of [Migration — Tryton Documentation](https://docs.tryton.org/7.6/migration.html#index-migration).

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [May 13, 2025, 9:57am UTC](https://discuss.tryton.org/t/update-to-7-6-fail/8574/8 "2025-05-13T09:57:34Z")

</div>

> [@edbo](#):
>
> Well, I can’t find anything here on the forum where most of the people look.

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.

> [@edbo](#):
>
> Also the link in the news of the release is pointing to [How to setup a database — Tryton server](https://docs.tryton.org/7.6/server/topics/setup_database.html#update-a-database) instead of [Migration — Tryton Documentation](https://docs.tryton.org/7.6/migration.html#index-migration).

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