hi,
Thank you for your quick response. Actually i use ferda version 3.9.5 and my .env content file is :
# Network settings
ALLOWED_HOSTS=*
# App settings
SECRET_KEY='gAAAAABciT3pFbbSihD_HZBZ8kqfAj94UhknamBuirZWKivWOukgKQ03qE2mcuvpuwCSuZ-X_Xkud0uWQLZ5e-aOwLC0Ccnepg=='
DEBUG=on
FERDA_REGISTRY_NETLOC=localhost:50050
FERDA_LOGGER_NETLOC=gloss:50051
FERDA_MESSENGER_NETLOC=localhost:50052
FERDA_FILEMAN_NETLOC=localhost:50053
FERDA_DBREPORT_NETLOC=localhost:50054
FERDA_SECRETARY_URL=https://secretary.localhost/api/


I rebuild docker again and encountered to the error that mention below:

[root@fred ~]# docker-compose -f ferda/docker/docker-compose.yml up
Starting docker_ferda_uwsgi_1 ... done
Starting docker_nginx_1       ... done
Attaching to docker_ferda_uwsgi_1, docker_nginx_1
nginx_1        | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
nginx_1        | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
nginx_1        | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
nginx_1        | 10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf is not a file or does not exist
nginx_1        | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
nginx_1        | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
nginx_1        | /docker-entrypoint.sh: Configuration complete; ready for start up
ferda_uwsgi_1  | Traceback (most recent call last):
ferda_uwsgi_1  |   File "/app/venv/bin/django-admin", line 8, in <module>
ferda_uwsgi_1  |     sys.exit(execute_from_command_line())
ferda_uwsgi_1  |   File "/app/venv/lib/python3.7/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
ferda_uwsgi_1  |     utility.execute()
ferda_uwsgi_1  |   File "/app/venv/lib/python3.7/site-packages/django/core/management/__init__.py", line 395, in execute
ferda_uwsgi_1  |     django.setup()
ferda_uwsgi_1  |   File "/app/venv/lib/python3.7/site-packages/django/__init__.py", line 24, in setup
ferda_uwsgi_1  |     apps.populate(settings.INSTALLED_APPS)
ferda_uwsgi_1  |   File "/app/venv/lib/python3.7/site-packages/django/apps/registry.py", line 91, in populate
ferda_uwsgi_1  |     app_config = AppConfig.create(entry)
ferda_uwsgi_1  |   File "/app/venv/lib/python3.7/site-packages/django/apps/config.py", line 212, in create
ferda_uwsgi_1  |     mod = import_module(mod_path)
ferda_uwsgi_1  |   File "/usr/local/lib/python3.7/importlib/__init__.py", line 127, in import_module
ferda_uwsgi_1  |     return _bootstrap._gcd_import(name[level:], package, level)
ferda_uwsgi_1  |   File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
ferda_uwsgi_1  |   File "<frozen importlib._bootstrap>", line 983, in _find_and_load
ferda_uwsgi_1  |   File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
ferda_uwsgi_1  |   File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
ferda_uwsgi_1  |   File "<frozen importlib._bootstrap_external>", line 728, in exec_module
ferda_uwsgi_1  |   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ferda_uwsgi_1  |   File "/app/venv/lib/python3.7/site-packages/ferda/apps.py", line 8, in <module>
ferda_uwsgi_1  |     from ferda.backend import LOGGER
ferda_uwsgi_1  |   File "/app/venv/lib/python3.7/site-packages/ferda/backend/__init__.py", line 5, in <module>
ferda_uwsgi_1  |     from .logger import LOGGER
ferda_uwsgi_1  |   File "/app/venv/lib/python3.7/site-packages/ferda/backend/logger.py", line 4, in <module>
ferda_uwsgi_1  |     import fred_api.logger.diagnostics.service_diagnostics_grpc_pb2_grpc
ferda_uwsgi_1  | ModuleNotFoundError: No module named 'fred_api.logger.diagnostics'
docker_ferda_uwsgi_1 exited with code 1

Can you guide me in this regard?
Thank you.

On Mon, Nov 1, 2021 at 4:57 PM <fred-users-request@lists.nic.cz> wrote:
Send fred-users mailing list submissions to
        fred-users@lists.nic.cz

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.nic.cz/mailman/listinfo/fred-users
or, via email, send a message with subject or body 'help' to
        fred-users-request@lists.nic.cz

You can reach the person managing the list at
        fred-users-owner@lists.nic.cz

When replying, please edit your Subject line so it is more specific
than "Re: Contents of fred-users digest..."


Today's Topics:

   1. Re: I'm having trouble building a docker Ferda (Jiri Sadek)
   2. Re: I'm having trouble building a docker Ferda (Jan Musílek)
   3. can not run ferda docker (Mahmoudreza Abbasi)
   4. Re: can not run ferda docker (Jan Musílek)


----------------------------------------------------------------------

Message: 1
Date: Wed, 30 Jun 2021 15:40:43 +0200
From: Jiri Sadek <jiri.sadek@nic.cz>
To: fred-users@lists.nic.cz
Subject: Re: I'm having trouble building a docker Ferda
Message-ID: <f36434e7-6973-859a-8b77-064715713065@nic.cz>
Content-Type: text/plain; charset=UTF-8; format=flowed

Hi,

thanks for reporting the issue. It looks like webpack config separation
was not properly reflected in the Dockerfile. We'll look into it and let
you know when it's fixed.

Regards

Jiri

Dne 6/30/21 v 12:37 Leonardo Assunção napsal(a):
> Hi,
>
> I'm having trouble building a docker Ferda.
>
> I followed the steps described in this link
> https://fred.nic.cz/documentation/html/FerdaManual/Installation.html#how-to-install
> <https://fred.nic.cz/documentation/html/FerdaManual/Installation.html#how-to-install>
>
> and in the step of doing build occurs this error:
>
> Digest:
> sha256:70d4fffcab39a1f9f7161d58e674ddcc56c7f0724196b68d52a87bab15cb4a04
>
> Status: Downloaded newer image for node:13
>
> ---> 2b9604a36e49
>
> Step 2/24 : WORKDIR /app
>
> ---> Running in 7a6b66ab06a9
>
> Removing intermediate container 7a6b66ab06a9
>
> ---> 9bac969be5a8
>
> Step 3/24 : COPY ferda/static/ /app/static/
>
> ---> 46036760fee1
>
> Step 4/24 : COPY assets/ /app/assets/
>
> ---> 8428cbd225ea
>
> Step 5/24 : COPY package.json webpack.config.js /app/
>
> COPY failed: file not found in build context or excluded by
> .dockerignore: stat webpack.config.js: file does not exist
>
> ERROR: Service 'ferda_uwsgi' failed to build : Build failed
>
> How do I solve this problem?
>
> Greetings,
>
> Leonardo Assunção
>
> g9telecom
>
>       
>
> *Leonardo Assunção*
> Técnica
> T.: 707 450 000
> F.: 707 450 009
> www.g9telecom.pt <http://www.g9telecom.pt/>
>
>       
>
> [Download vCard] <http://public.g9telecom.pt/vCards/tec29bk5-leonardo.vcf>
>
> certif
>
> Esta mensagem (incluindo anexos) pode conter informação confidencial
> para uso exclusivo do destinatário. Se não for o destinatário pretendido
> não deverá usar, distribuir ou copiar este e-mail, devendo eliminá-lo e
> informar o emissor imediatamente. Obrigado.
>
> This message (including any attachments) may contain confidential
> information for the exclusive use of the recipient. If you are not the
> intended recipient, you should not use, distribute or copy this email,
> and you must delete it and inform the issuer immediately. Thank you.
>
>
> _______________________________________________
> fred-users mailing list
> fred-users@lists.nic.cz
> https://lists.nic.cz/mailman/listinfo/fred-users
>


------------------------------

Message: 2
Date: Thu, 1 Jul 2021 08:50:51 +0200
From: Jan Musílek <jan.musilek@nic.cz>
To: fred-users@lists.nic.cz
Subject: Re: I'm having trouble building a docker Ferda
Message-ID: <bf5405af-b935-2aba-d4c4-de6faef13770@nic.cz>
Content-Type: text/plain; charset="utf-8"

Hello,

This issue is now fixed in master branch. Please pull the new commits
and try the build again.

The issue was caused by not reflecting some code changes in the
Dockerfile. I added new CI job to check the docker-compose build passes,
so we should not get any more build failures in the future.

Furthermore, there has been quite a rapid development in Ferda which is
not reflected in the web docs yet. In order to run it, you need more
comprehensive `.env` file (although for building itself, the old one
will probably suffice). I prepared `example.env` file containing all
necessary settings to successfully run Ferda [1].

Please note that this is just an example – you need to change the
defaults to your own configuration in order for most features to work.

All these settings are either standard Django settings [2] or they are
documented in README [3]. Please note that `FERDA_GRPC_NETLOC` from
README is translated to `FERDA_REGISTRY_NETLOC` in the docker build –
this is the new name we want to use, so eventually, it will be
`FERDA_REGISTRY_NETLOC` in README and settings as well.

We are quite excited that you decided to give Ferda a try. As far as we
know, it's not used by any other domain registry besides us right now.
If you have any other issues, don't hesitate to ask – we're happy to help.

Kind Regards,
Jan Musílek

[1] https://gitlab.nic.cz/fred/ferda/-/blob/master/docker/example.env
[2] https://docs.djangoproject.com/en/3.2/ref/settings/
[3] https://gitlab.nic.cz/fred/ferda/-/blob/master/README.rst



On 30. 06. 21 15:40, Jiri Sadek wrote:
> Hi,
>
> thanks for reporting the issue. It looks like webpack config separation
> was not properly reflected in the Dockerfile. We'll look into it and let
> you know when it's fixed.
>
> Regards
>
> Jiri
>
> Dne 6/30/21 v 12:37 Leonardo Assunção napsal(a):
>> Hi,
>>
>> I'm having trouble building a docker Ferda.
>>
>> I followed the steps described in this link
>> https://fred.nic.cz/documentation/html/FerdaManual/Installation.html#how-to-install
>> <https://fred.nic.cz/documentation/html/FerdaManual/Installation.html#how-to-install>
>>
>>
>> and in the step of doing build occurs this error:
>>
>> Digest:
>> sha256:70d4fffcab39a1f9f7161d58e674ddcc56c7f0724196b68d52a87bab15cb4a04
>>
>> Status: Downloaded newer image for node:13
>>
>> ---> 2b9604a36e49
>>
>> Step 2/24 : WORKDIR /app
>>
>> ---> Running in 7a6b66ab06a9
>>
>> Removing intermediate container 7a6b66ab06a9
>>
>> ---> 9bac969be5a8
>>
>> Step 3/24 : COPY ferda/static/ /app/static/
>>
>> ---> 46036760fee1
>>
>> Step 4/24 : COPY assets/ /app/assets/
>>
>> ---> 8428cbd225ea
>>
>> Step 5/24 : COPY package.json webpack.config.js /app/
>>
>> COPY failed: file not found in build context or excluded by
>> .dockerignore: stat webpack.config.js: file does not exist
>>
>> ERROR: Service 'ferda_uwsgi' failed to build : Build failed
>>
>> How do I solve this problem?
>>
>> Greetings,
>>
>> Leonardo Assunção
>>
>> g9telecom
>>
>>     
>>
>> *Leonardo Assunção*
>> Técnica
>> T.: 707 450 000
>> F.: 707 450 009
>> www.g9telecom.pt <http://www.g9telecom.pt/>
>>
>>     
>>
>> [Download vCard]
>> <http://public.g9telecom.pt/vCards/tec29bk5-leonardo.vcf>
>>
>> certif
>>
>> Esta mensagem (incluindo anexos) pode conter informação confidencial
>> para uso exclusivo do destinatário. Se não for o destinatário
>> pretendido não deverá usar, distribuir ou copiar este e-mail, devendo
>> eliminá-lo e informar o emissor imediatamente. Obrigado.
>>
>> This message (including any attachments) may contain confidential
>> information for the exclusive use of the recipient. If you are not the
>> intended recipient, you should not use, distribute or copy this email,
>> and you must delete it and inform the issuer immediately. Thank you.
>>
>>
>> _______________________________________________
>> fred-users mailing list
>> fred-users@lists.nic.cz
>> https://lists.nic.cz/mailman/listinfo/fred-users
>>
> _______________________________________________
> fred-users mailing list
> fred-users@lists.nic.cz
> https://lists.nic.cz/mailman/listinfo/fred-users

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3055 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.nic.cz/pipermail/fred-users/attachments/20210701/1a353305/attachment-0001.bin>

------------------------------

Message: 3
Date: Sun, 31 Oct 2021 20:30:21 +0330
From: Mahmoudreza Abbasi <abbasi.mahmoudreza@gmail.com>
To: fred-users@lists.nic.cz
Subject: can not run ferda docker
Message-ID:
        <CAO-HzVE2O9nt6O9doDn7NCVoGVcsegK21sjBtPeJKTNfM8NJvA@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

hi,
I tried to install fred in my server as test bed and view it's capabilities
and followed the instructions that mention in
https://fred.nic.cz/documentation/html/FerdaManual/Installation.html but
when i want to run ferda docker , i encounter with this error : (the OS is
Centos 7 latest version)

[root@fred ~]# docker-compose -f ferda/docker/docker-compose.yml up
docker_nginx_1 is up-to-date
Starting docker_ferda_uwsgi_1 ... done
Attaching to docker_nginx_1, docker_ferda_uwsgi_1
nginx_1        | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty,
will attempt to perform configuration
nginx_1        | /docker-entrypoint.sh: Looking for shell scripts in
/docker-entrypoint.d/
nginx_1        | /docker-entrypoint.sh: Launching
/docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
nginx_1        | 10-listen-on-ipv6-by-default.sh: info:
/etc/nginx/conf.d/default.conf is not a file or does not exist
nginx_1        | /docker-entrypoint.sh: Launching
/docker-entrypoint.d/20-envsubst-on-templates.sh
nginx_1        | /docker-entrypoint.sh: Launching
/docker-entrypoint.d/30-tune-worker-processes.sh
nginx_1        | /docker-entrypoint.sh: Configuration complete; ready for
start up
ferda_uwsgi_1  | Traceback (most recent call last):
ferda_uwsgi_1  |   File "/app/venv/bin/django-admin", line 8, in <module>
ferda_uwsgi_1  |     sys.exit(execute_from_command_line())
ferda_uwsgi_1  |   File
"/app/venv/lib/python3.7/site-packages/django/core/management/__init__.py",
line 419, in execute_from_command_line
ferda_uwsgi_1  |     utility.execute()
ferda_uwsgi_1  |   File
"/app/venv/lib/python3.7/site-packages/django/core/management/__init__.py",
line 395, in execute
ferda_uwsgi_1  |     django.setup()
ferda_uwsgi_1  |   File
"/app/venv/lib/python3.7/site-packages/django/__init__.py", line 24, in
setup
ferda_uwsgi_1  |     apps.populate(settings.INSTALLED_APPS)
ferda_uwsgi_1  |   File
"/app/venv/lib/python3.7/site-packages/django/apps/registry.py", line 91,
in populate
ferda_uwsgi_1  |     app_config = AppConfig.create(entry)
ferda_uwsgi_1  |   File
"/app/venv/lib/python3.7/site-packages/django/apps/config.py", line 212, in
create
ferda_uwsgi_1  |     mod = import_module(mod_path)
ferda_uwsgi_1  |   File "/usr/local/lib/python3.7/importlib/__init__.py",
line 127, in import_module
ferda_uwsgi_1  |     return _bootstrap._gcd_import(name[level:], package,
level)
ferda_uwsgi_1  |   File "<frozen importlib._bootstrap>", line 1006, in
_gcd_import
ferda_uwsgi_1  |   File "<frozen importlib._bootstrap>", line 983, in
_find_and_load
ferda_uwsgi_1  |   File "<frozen importlib._bootstrap>", line 967, in
_find_and_load_unlocked
ferda_uwsgi_1  |   File "<frozen importlib._bootstrap>", line 677, in
_load_unlocked
ferda_uwsgi_1  |   File "<frozen importlib._bootstrap_external>", line 728,
in exec_module
ferda_uwsgi_1  |   File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
ferda_uwsgi_1  |   File
"/app/venv/lib/python3.7/site-packages/ferda/apps.py", line 8, in <module>
ferda_uwsgi_1  |     from ferda.backend import LOGGER
ferda_uwsgi_1  |   File
"/app/venv/lib/python3.7/site-packages/ferda/backend/__init__.py", line 5,
in <module>
ferda_uwsgi_1  |     from .logger import LOGGER
ferda_uwsgi_1  |   File
"/app/venv/lib/python3.7/site-packages/ferda/backend/logger.py", line 4, in
<module>
ferda_uwsgi_1  |     import
fred_api.logger.diagnostics.service_diagnostics_grpc_pb2_grpc
ferda_uwsgi_1  | ModuleNotFoundError: No module named
'fred_api.logger.diagnostics'
docker_ferda_uwsgi_1 exited with code 1


Could you plz help me to solve this problem.
thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nic.cz/pipermail/fred-users/attachments/20211031/e2ea5620/attachment-0001.html>

------------------------------

Message: 4
Date: Mon, 1 Nov 2021 14:27:51 +0100
From: Jan Musílek <jan.musilek@nic.cz>
To: fred-users@lists.nic.cz
Subject: Re: can not run ferda docker
Message-ID: <a213fb4b-7b92-412d-72b4-3f49c9eb5836@nic.cz>
Content-Type: text/plain; charset="utf-8"

Hi,

this is known issue that has been fixed in commit 0c51219. Upgrading to
current master (e384fad) or latest tag (3.10.1) should fix the issue. If
it doesn't, please specify which version of Ferda are you trying to run.

Regards,
Jan Musílek


On 31. 10. 21 18:00, Mahmoudreza Abbasi wrote:
> hi,
> I tried to install fred in my server as test bed and view it's
> capabilities and followed the instructions that mention in
> https://fred.nic.cz/documentation/html/FerdaManual/Installation.html
> <https://fred.nic.cz/documentation/html/FerdaManual/Installation.html>
> but when i want to run ferda docker , i encounter with this error : (the
> OS is Centos 7 latest version)
>
> [root@fred ~]# docker-compose -f ferda/docker/docker-compose.yml up
> docker_nginx_1 is up-to-date
> Starting docker_ferda_uwsgi_1 ... done
> Attaching to docker_nginx_1, docker_ferda_uwsgi_1
> nginx_1        | /docker-entrypoint.sh: /docker-entrypoint.d/ is not
> empty, will attempt to perform configuration
> nginx_1        | /docker-entrypoint.sh: Looking for shell scripts in
> /docker-entrypoint.d/
> nginx_1        | /docker-entrypoint.sh: Launching
> /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
> nginx_1        | 10-listen-on-ipv6-by-default.sh: info:
> /etc/nginx/conf.d/default.conf is not a file or does not exist
> nginx_1        | /docker-entrypoint.sh: Launching
> /docker-entrypoint.d/20-envsubst-on-templates.sh
> nginx_1        | /docker-entrypoint.sh: Launching
> /docker-entrypoint.d/30-tune-worker-processes.sh
> nginx_1        | /docker-entrypoint.sh: Configuration complete; ready
> for start up
> ferda_uwsgi_1  | Traceback (most recent call last):
> ferda_uwsgi_1  |   File "/app/venv/bin/django-admin", line 8, in <module>
> ferda_uwsgi_1  |     sys.exit(execute_from_command_line())
> ferda_uwsgi_1  |   File
> "/app/venv/lib/python3.7/site-packages/django/core/management/__init__.py",
> line 419, in execute_from_command_line
> ferda_uwsgi_1  |     utility.execute()
> ferda_uwsgi_1  |   File
> "/app/venv/lib/python3.7/site-packages/django/core/management/__init__.py",
> line 395, in execute
> ferda_uwsgi_1  |     django.setup()
> ferda_uwsgi_1  |   File
> "/app/venv/lib/python3.7/site-packages/django/__init__.py", line 24, in
> setup
> ferda_uwsgi_1  |     apps.populate(settings.INSTALLED_APPS)
> ferda_uwsgi_1  |   File
> "/app/venv/lib/python3.7/site-packages/django/apps/registry.py", line
> 91, in populate
> ferda_uwsgi_1  |     app_config = AppConfig.create(entry)
> ferda_uwsgi_1  |   File
> "/app/venv/lib/python3.7/site-packages/django/apps/config.py", line 212,
> in create
> ferda_uwsgi_1  |     mod = import_module(mod_path)
> ferda_uwsgi_1  |   File
> "/usr/local/lib/python3.7/importlib/__init__.py", line 127, in import_module
> ferda_uwsgi_1  |     return _bootstrap._gcd_import(name[level:],
> package, level)
> ferda_uwsgi_1  |   File "<frozen importlib._bootstrap>", line 1006, in
> _gcd_import
> ferda_uwsgi_1  |   File "<frozen importlib._bootstrap>", line 983, in
> _find_and_load
> ferda_uwsgi_1  |   File "<frozen importlib._bootstrap>", line 967, in
> _find_and_load_unlocked
> ferda_uwsgi_1  |   File "<frozen importlib._bootstrap>", line 677, in
> _load_unlocked
> ferda_uwsgi_1  |   File "<frozen importlib._bootstrap_external>", line
> 728, in exec_module
> ferda_uwsgi_1  |   File "<frozen importlib._bootstrap>", line 219, in
> _call_with_frames_removed
> ferda_uwsgi_1  |   File
> "/app/venv/lib/python3.7/site-packages/ferda/apps.py", line 8, in <module>
> ferda_uwsgi_1  |     from ferda.backend import LOGGER
> ferda_uwsgi_1  |   File
> "/app/venv/lib/python3.7/site-packages/ferda/backend/__init__.py", line
> 5, in <module>
> ferda_uwsgi_1  |     from .logger import LOGGER
> ferda_uwsgi_1  |   File
> "/app/venv/lib/python3.7/site-packages/ferda/backend/logger.py", line 4,
> in <module>
> ferda_uwsgi_1  |     import
> fred_api.logger.diagnostics.service_diagnostics_grpc_pb2_grpc
> ferda_uwsgi_1  | ModuleNotFoundError: No module named
> 'fred_api.logger.diagnostics'
> docker_ferda_uwsgi_1 exited with code 1
>
>
> Could you plz help me to solve this problem.
> thank you
>
>
> _______________________________________________
> fred-users mailing list
> fred-users@lists.nic.cz
> https://lists.nic.cz/mailman/listinfo/fred-users
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2835 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.nic.cz/pipermail/fred-users/attachments/20211101/f2a54e7d/attachment.bin>

------------------------------

Subject: Digest Footer

_______________________________________________
fred-users mailing list
fred-users@lists.nic.cz
https://lists.nic.cz/mailman/listinfo/fred-users


------------------------------

End of fred-users Digest, Vol 99, Issue 1
*****************************************