building-envelope-data / database

Reference implementation of a product data server as part of the product data network buildingenvelopedata.org
MIT License
0 stars 0 forks source link

`make up logs` fails #35

Closed christoph-maurer closed 1 year ago

christoph-maurer commented 1 year ago

Please see https://github.com/building-envelope-data/metabase/issues/144 for a similar error.

 => [database-backend 14/20] COPY   --chown=me:us   ./Database.sln   ./      0.0s
 => [database-backend 15/20] RUN   dotnet clean &&   dotnet restore &&   d  71.8s
 => [database-backend 16/20] RUN   mkdir ./ssl                               0.4s
 => [database-backend 17/20] COPY   --chown=me:us   ./ssl/ca.pfx   ./ssl/    0.0s
 => [database-backend 18/20] COPY   --chown=me:us   ./dotnet-certificate-to  0.0s
 => ERROR [database-backend 19/20] RUN   dotnet publish     --configuration  0.7s
------
 > [database-backend 19/20] RUN   dotnet publish     --configuration Release     --framework net7.0     --output ./dotnet-certificate-tool/release     ./dotnet-certificate-tool/src/GSoft.CertificateTool.csproj &&   dotnet tool restore     --tool-manifest ./dotnet-tools.json     --add-source ./dotnet-certificate-tool/src/nupkg &&   rm -rf ./dotnet-certificate-tool:
#0 0.580 MSBuild version 17.4.1+9a89d02ff for .NET
#0 0.620 MSBUILD : error MSB1009: Project file does not exist.
#0 0.620 Switch: ./dotnet-certificate-tool/src/GSoft.CertificateTool.csproj
------
failed to solve: executor failed running [/bin/sh -c dotnet publish     --configuration Release     --framework net7.0     --output ./dotnet-certificate-tool/release     ./dotnet-certificate-tool/src/GSoft.CertificateTool.csproj &&   dotnet tool restore     --tool-manifest ./dotnet-tools.json     --add-source ./dotnet-certificate-tool/src/nupkg &&   rm -rf ./dotnet-certificate-tool]: exit code: 1
make: *** [Makefile:36: build] Error 17
christoph@de14278:~/Documents/building-envelope-data/database$ 
simon-wacker commented 1 year ago

You need to initialize, fetch und checkout submodules by running git submodule update --init --recursive. I updated the readme accordingly.

christoph-maurer commented 1 year ago

After the procedure of https://github.com/building-envelope-data/metabase/issues/144#issuecomment-1422845097 , make up logs succeeded.