i have just installed the latest version of tryton from docker image as described in “How to run Tryton using Docke” from here How to run Tryton using Docker
the problem is that i can not activate any module for example account (version 7.0.2 as it is appear in details) although all dependencies modules are activated (currency,party,company,ir and res).
i am trying to activate the module from inside the erp from Adminstration/modules/modules then perform pending activation/upgrade after choosing the needed module to be activated then Start Upgrade the procces start and then an empty error message appear to command me to report the bug.
i run docker on virsualbox that run ubuntu 22.04.3 desktop
this is the first time to play with tryton … any help?
no , just empty message from inside tryton web client.
for account module not needed as it is not appear in dependencies tab. but i checked it and it is already activated with others(currency, party, ir , res , company , bank , user role, country) that is all activated modules, nothing else.
I am not familiar with docker but after i was played with it i can run it inside tryton container (tryton/tryton image) and the Traceback :
File “/usr/local/bin/trytond-admin”, line 31, in
admin.run(options)
File “/usr/local/lib/python3.11/dist-packages/trytond/admin.py”, line 31, in run
database.connect()
File “/usr/local/lib/python3.11/dist-packages/trytond/backend/sqlite/database.py”, line 365, in connect
self._make_uri(), uri=True,
^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/dist-packages/trytond/backend/sqlite/database.py”, line 439, in _make_uri
raise IOError(“Database ‘%s’ doesn’t exist!” % db_path)
OSError: Database ‘/var/lib/trytond/db/tryton.sqlite’ doesn’t exist!
Clearly you do not launch with the ENTRYPOINT /entrypoint.sh because you are missing the environment it is supposed to setup.
So you must run /entrypoint.sh bash before running any command when you enter the container with docker exec.
Or you must use docker run like described on Docker