[Dachs-support] Dachs and docker-compose

Mariangeles Mendoza ninesmp75 at gmail.com
Wed Apr 28 09:08:24 CEST 2021


Thank you very much to all,

I already got the Dach portal up. The problem was on my side.

Now I will train using one VM instead of docker as suggested by Markus. ;-)

Kind regards,
Maria

On Wed, Apr 28, 2021 at 8:26 AM Jean-Michel GLORIAN <
Jean-Michel.Glorian at irap.omp.eu> wrote:

> HI maria,
>
> what project do you use ?
> I have forked from chbrandt/docker-dachs
> <https://github.com/chbrandt/docker-dachs>
> to have a dachs deployement with  dachs 2, python3 and postgresql 11,
> buster debian with 1 container for dachs and 1 for postgresql and it works
> for me ...
>
> https://github.com/jglorian/docker-dachs/tree/dachs_2_pg_11
>
> Best regards
>
> Jean-Michel
>
>
>
>
> Le 25/01/2021 à 12:32, Mariangeles Mendoza a écrit :
>
> Hello,
>
> I'm new with Dachs, I am trying to raise dachs services using
> docker-compose, but I found some warnings and messages error.
> I've read "Common Problems with Dachs" and previously related
> Dachs-support messages,
> but I do not find out the error.
> I assume I am not given enough privileges to access my database.  However,
> I add my user to the gavo group in my Dockerfile by:
>
> """
> RUN adduser --system gavo && addgroup --system gavo && adduser gavo gavo
> && adduser `id -nu` gavo
> RUN mkdir -p /var/gavo/
> RUN gavo init --nodb
> """"
>
> But, I got:
> """
> Step 6/23 : WORKDIR ./dachs/
> Step 7/23 : RUN python3 setup.py install
>
> ´´´´´´´
> warning: no previously-included files matching '*' found under directory
> 'schemata'
> warning: no previously-included files matching '*' found under directory
> 'utils'
> warning: no previously-included files matching '*' found under directory
> 'subpkgs'
> warning: no previously-included files matching '.*.swp' found under
> directory 'gavo/resources'
> warning: no previously-included files matching '*' found under directory
> 'docs'
>
> ..............
>
> Step 12/23 : RUN gavo init --nodb
>  ---> Running in 93a870623ad2
> /usr/local/lib/python3.8/dist-packages/gavodachs-2.0.3-py3.8.egg/gavo/base/config.py:601:
> UserWarning: /var/gavo/etc/defaultmeta.txt does not exist, registry
> interface  will be
>  broken
>
>
> warnings.warn("%s does not exist, registry interface  will be broken"%
>  ..................
>
> Creating service_vo      ... done
> service_vo         | *X*X* Uncaught exception at toplevel
> sev_vo         | *** Error: Oops.  Unhandled exception
> InsufficientPrivilege.
> service_vo         |
> service_vo         | Exception payload: permission denied for database MyDB
>
> .............
>
> -----------------------------------------------------------------------------------
>
> I would be very grateful if you could guide me.
> Best wishes,
> Maria
>
>
>
> --
> ********************************Jean-Michel.Glorian at irap.omp.eu
> Jean-Michel Glorian - Responsable technique OV-GSO - Chef de projet CASSIS
>
> IRAP - Institut de Recherche en Astrophysique et Planétologie,
> 9, avenue du Colonel Roche, BP 44346,
> 31028 Toulouse cedex 4
> (+33) 5 61 55 77 79http://cassis.irap.omp.eu
>
> IRAP, Université de Toulouse, CNRS, CNES, UPS, (Toulouse), France
> ********************************
>
> --
> Dachs-support mailing list
> Dachs-support at g-vo.org
> https://lists.g-vo.org/mailman/listinfo/dachs-support
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.g-vo.org/pipermail/dachs-support/attachments/20210428/7fa527e5/attachment.htm>


More information about the Dachs-support mailing list