Hey,
so i tried multiple times to follow the instructions https://github.com/uniuuu/zotprime/tree/production from the production tree. I could run the dockers but the attempt to build the clients faild on Step 12
#12 [stage-1 7/14] RUN git checkout tags/7.0.6 -b v7.0.6
#12 0.529 fatal: 'tags/7.0.6' is not a commit and a branch 'v7.0.6' cannot be created from it
#12 ERROR: process "/bin/sh -c git checkout tags/7.0.6 -b v7.0.6" did not complete successfully: exit code: 128
------
> [stage-1 7/14] RUN git checkout tags/7.0.6 -b v7.0.6:
0.529 fatal: 'tags/7.0.6' is not a commit and a branch 'v7.0.6' cannot be created from it
------
WARNING: current commit information was not captured by the build: failed to read current commit information with git rev-parse --is-inside-work-tree
client.Dockerfile:14
--------------------
12 |
13 | WORKDIR /usr/src/app/client/zotero-client
14 | >>> RUN git checkout tags/7.0.6 -b v7.0.6
15 | #RUN git checkout 7.0.6-hotfix
16 | # RUN git checkout main
--------------------
ERROR: failed to solve: process "/bin/sh -c git checkout tags/7.0.6 -b v7.0.6" did not complete successfully: exit code: 128
i also downloaded the releas v2.6.1 as zip https://github.com/uniuuu/zotprime/releases/tag/v2.6.1-rc
and unpacked it in my folder. I followed the README.md of that releas. mostly the same outcome. the dockers are running and i can access them but building the client stops this time at Step 8:
#8 [intermediate 5/30] RUN git submodule update --init client/zotero-build
#8 0.521 fatal: not a git repository (or any of the parent directories): .git
#8 ERROR: process "/bin/sh -c git submodule update --init client/zotero-build" did not complete successfully: exit code: 128
------
> [intermediate 5/30] RUN git submodule update --init client/zotero-build:
0.521 fatal: not a git repository (or any of the parent directories): .git
------
client.Dockerfile:14
--------------------
12 | COPY . .
13 |
14 | >>> RUN git submodule update --init client/zotero-build
15 | RUN git submodule update --init client/zotero-standalone-build
16 | RUN git submodule update --init client/zotero-client
--------------------
ERROR: failed to solve: process "/bin/sh -c git submodule update --init client/zotero-build" did not complete successfully: exit code: 128
can i do something manualy to prevant this errors?
Hey, so i tried multiple times to follow the instructions https://github.com/uniuuu/zotprime/tree/production from the production tree. I could run the dockers but the attempt to build the clients faild on Step 12
In discussion https://github.com/uniuuu/zotprime/discussions/32 32 the solution is to copy of repository again. i did that multiple times.
i also downloaded the releas v2.6.1 as zip https://github.com/uniuuu/zotprime/releases/tag/v2.6.1-rc and unpacked it in my folder. I followed the README.md of that releas. mostly the same outcome. the dockers are running and i can access them but building the client stops this time at Step 8:
can i do something manualy to prevant this errors?
Originally posted by @Omega1102 in https://github.com/uniuuu/zotprime/discussions/33#discussioncomment-10878044