I have a question I would like to ask, thank you. #2305

Closed
opened 2026-02-20 01:09:26 -05:00 by deekerman · 0 comments
Owner

Originally created by @xiaobai6769 on GitHub (Apr 20, 2025).

I followed the instructions to set up a local development environment at https://docs.photoprism.app/developer-guide/setup/.

Step 1: I downloaded the photoprism-develop.zip file.
Step 2: I transferred it to my Ubuntu Linux system, extracted it into the directory /data/dev_photoprism/photoprism-develop, and ran make docker-build.
Step 3: When I executed make terminal && make dep, it got stuck. Here is some of the displayed information:

scripts/download-facenet.sh
fatal: not a git repository (or any parent up to mount point /go/src/github.com/photoprism)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /go/src/github.com/photoprism)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /go/src/github.com/photoprism)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /go/src/github.com/photoprism)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Installing Facenet model for TensorFlow...
Archive: /tmp/photoprism/facenet.zip
creating: assets/facenet/
inflating: assets/facenet/saved_model.pb
Latest Facenet installed.
scripts/download-nasnet.sh
Installing NASNet Mobile model for TensorFlow...
Archive: /tmp/photoprism/nasnet.zip
creating: assets/nasnet/
inflating: assets/nasnet/labels.txt
creating: assets/nasnet/variables/
inflating: assets/nasnet/variables/variables.data-00000-of-00001
inflating: assets/nasnet/variables/variables.index
inflating: assets/nasnet/saved_model.pb
Latest NASNet Mobile installed.
scripts/download-nsfw.sh
Installing NSFW model for TensorFlow...
Archive: /tmp/photoprism/nsfw.zip
creating: assets/nsfw/
extracting: assets/nsfw/labels.txt
creating: assets/nsfw/variables/
inflating: assets/nsfw/variables/variables.data-00000-of-00001
inflating: assets/nsfw/variables/variables.index
inflating: assets/nsfw/saved_model.pb
Latest NSFW installed.
(cd frontend && npm ci --no-update-notifier --no-audit)
fatal: not a git repository (or any parent up to mount point /go/src/github.com/photoprism)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /go/src/github.com/photoprism)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /go/src/github.com/photoprism)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /go/src/github.com/photoprism)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported

Originally created by @xiaobai6769 on GitHub (Apr 20, 2025). I followed the instructions to set up a local development environment at https://docs.photoprism.app/developer-guide/setup/. Step 1: I downloaded the photoprism-develop.zip file. Step 2: I transferred it to my Ubuntu Linux system, extracted it into the directory `/data/dev_photoprism/photoprism-develop`, and ran `make docker-build`. Step 3: When I executed `make terminal && make dep`, it got stuck. Here is some of the displayed information: scripts/download-facenet.sh fatal: not a git repository (or any parent up to mount point /go/src/github.com/photoprism) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). fatal: not a git repository (or any parent up to mount point /go/src/github.com/photoprism) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). fatal: not a git repository (or any parent up to mount point /go/src/github.com/photoprism) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). fatal: not a git repository (or any parent up to mount point /go/src/github.com/photoprism) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). Installing Facenet model for TensorFlow... Archive: /tmp/photoprism/facenet.zip creating: assets/facenet/ inflating: assets/facenet/saved_model.pb Latest Facenet installed. scripts/download-nasnet.sh Installing NASNet Mobile model for TensorFlow... Archive: /tmp/photoprism/nasnet.zip creating: assets/nasnet/ inflating: assets/nasnet/labels.txt creating: assets/nasnet/variables/ inflating: assets/nasnet/variables/variables.data-00000-of-00001 inflating: assets/nasnet/variables/variables.index inflating: assets/nasnet/saved_model.pb Latest NASNet Mobile installed. scripts/download-nsfw.sh Installing NSFW model for TensorFlow... Archive: /tmp/photoprism/nsfw.zip creating: assets/nsfw/ extracting: assets/nsfw/labels.txt creating: assets/nsfw/variables/ inflating: assets/nsfw/variables/variables.data-00000-of-00001 inflating: assets/nsfw/variables/variables.index inflating: assets/nsfw/saved_model.pb Latest NSFW installed. (cd frontend && npm ci --no-update-notifier --no-audit) fatal: not a git repository (or any parent up to mount point /go/src/github.com/photoprism) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). fatal: not a git repository (or any parent up to mount point /go/src/github.com/photoprism) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). fatal: not a git repository (or any parent up to mount point /go/src/github.com/photoprism) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). fatal: not a git repository (or any parent up to mount point /go/src/github.com/photoprism) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported -
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/photoprism#2305
No description provided.