Because I moved my system to a new version, I did a fresh install of docker and tryton and thus accidentially ended up with trytond 5.6.5.
Then I imported my 5.4 sqldump and tried to log in at the web client, which shows this error:
Traceback (most recent call last):
File "/usr/local/lib/python37/dist-packages/trytond/wsgipy", line 109, in dispatch_request
return endpoint(request, **requestview_args)
File "/usr/local/lib/python37/dist-packages/trytond/protocols/dispatcherpy", line 48, in rpc
request, database_name, *requestrpc_params)
File "/usr/local/lib/python37/dist-packages/trytond/protocols/dispatcherpy", line 63, in login
database_name, user, parameters, context=context)
File "/usr/local/lib/python37/dist-packages/trytond/securitypy", line 50, in login
session = user_id, Sessionnew()
File "/usr/local/lib/python37/dist-packages/trytond/ir/sessionpy", line 51, in new
session, = clscreate([values])
File "/usr/local/lib/python37/dist-packages/trytond/ir/sessionpy", line 149, in create
return super(Session, cls)create(vlist)
File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 159, in wrapper
return func(cls, *args, **kwargs)
File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 676, in create
clstrigger_create(records)
File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 76, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 166, in trigger_create
triggers = Triggerget_triggers(cls__name__, 'create')
File "/usr/local/lib/python37/dist-packages/trytond/ir/triggerpy", line 178, in get_triggers
('on_%s' % mode, '=', True),
File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 1317, in search
cursorexecute(*select)
File "/usr/local/lib/python37/dist-packages/trytond/backend/postgresql/databasepy", line 69, in execute
cursorexecute(self, sql, args)
psycopg2ProgrammingError: column aaction does not exist
LINE 1: SELECT "a""id" AS "id", "a""action" AS "action", "a""acti
^
HINT: Perhaps you meant to reference the column "aactive"
My guess is that comes from the different versions. I read @pokoli’s hints on migration 5.4 > 5.6, but could not understand it. What shall I do?
Cheers,
Wolf
PS: Thanks for making the quote look reasonable. I ever wanted to know how to do that… Lesson learned… (: