SKR03 Docker Image

In the downloadable actual Docker Image is the SKR03 de not complete. Why are the most accounts not available if I make an accountplan with skr03de from the sample.
How can I install the m-ds skr03 module in docker

You must generate a new docker image that uses the base docker image and installs your customer image.

Thanks Sergi,
I’m glad, that I have a running installation on windows 11 with the original docker image.
Is this image not extendable with other modules. I like to install the woocommerce an your sales_point module with the barcodescanner module

The docker image is pretty extensible, as the whole python distribution is included. For testing, you can start a shell in the container and install some modules, but further down the road the better way is to create a custom image, e.g.

FROM tryton/tryton:7.4-office

# Install from file
USER root
ADD modules/some_custom_module /root/some_custom_module
WORKDIR /root/some_custom_module
RUN python3 setup.py install

# Install from pypi
pip3 install trytond_some_module

WORKDIR /var/lib/trytond
USER trytond

The installation steps depend on the specific module, of course.

Thanks Philipp,
in my test environment ist the skr03 integrated. It’s in the standard docker image.
I can not create an chart of account plan vom skr03 into my company. I’m logged in as admin.

The account_de_skr03 module includes the SKR03 chart of account.

Make sure that the module is activated. Then, when you click Financial → Configuration → Templates → Create Chart of Accounts from… it should be available in the “Account Template” dropdown.

I get an error:
TrytonServerUnavailable: Remote end closed connection without response in Tryton Client
In SAO Client Fehler"[0]" Versuchen Sie es später erneut.

It’s a timeout, you have to consider tryton itself and gunicorn.

Add : - GUNICORN_CMD_ARGS=‘–timeout 600’ to your “environment section” in docker-compose.yml
For tryton - TRYTOND_REQUEST__TIMEOUT=240
you can switch to a shorter timeout after the wizard ran successfully.

Yes, this happens if activating the modules takes a long time, as @Gruenfischer explained. An alternative to increasing the timeout is to activate the module via shell:

env TRYTOND_DATABASE_URI="postgresql://postgres:********@postgres" trytond-admin -v -d tryton -u account_de_skr03

Note that the TRYTON_DATABASE_URI must be changed according to your setup, and -d tryton must be adjusted depending on the name of your database.

OK, thats interresting. I never hit the timeout installing the module. I’ve had problems creating the “Chart of Account” form the templates, by using the wizard.
As far as I understand you do not create the accounts with your command, but just update/install the module. That are two different things.

I copied that from my notes, to be fair. I hit that timeout when I activated the module, that is why. However, when creating the account chart, I never had timeout issues (interestingly).