Closed tschettervictor closed 10 months ago
It's hard to say without error logs. but the service scripts should be put to /usr/local/etc/rc.d/photoprism
might you can find it and try to run it directly or open it and try to run the phptoprism
bin without /usr/sbin/daemon
, the at least you will have some error logs.
I'm getting "Illegal Instruction" when trying that.
According to the docs, this might be because it was compiled with newer hardware?
Even just trying photoprism
without specifying any option returns Illegal Instruction
Illegal Instruction means the pre build binary compiled with some cpu feature that your cpu not support. You can try to build it by yourself and disable some feature flags.
On Sat, Dec 9, 2023, 11:04 a.m. tschettervictor @.***> wrote:
Even just trying photoprism without specifying any option returns Illegal Instruction
— Reply to this email directly, view it on GitHub https://github.com/huo-ju/photoprism-freebsd-port/issues/64#issuecomment-1848449191, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEJFESFPYM4UU7TM36HNTLYISD2PAVCNFSM6AAAAABANHBAEGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBYGQ2DSMJZGE . You are receiving this because you commented.Message ID: @.***>
Will give it a try. How do I get the pkg build from the make install command?
Build fails anyway on FreeBSD 13.2 I’ll stick with the 12 build for now
Trying to build.
Build goes all the way to the end, but then errors out with pkg-static:file not found Here Is the end output.
`pkg-static: Unable to access file /root/photoprism-freebsd-port/work/stage/var/db/photoprism/assets/nsfw/saved_model.pb:No such file or directory pkg-static: Unable to access file /root/photoprism-freebsd-port/work/stage/var/db/photoprism/assets/nsfw/variables/variables.data-00000-of-00001:No such file or directory pkg-static: Unable to access file /root/photoprism-freebsd-port/work/stage/var/db/photoprism/assets/nsfw/variables/variables.index:No such file or directory pkg-static: Unable to access file /root/photoprism-freebsd-port/work/stage/var/db/photoprism/assets/nsfw/version.txt:No such file or directory pkg-static: Unable to access file /root/photoprism-freebsd-port/work/stage/var/db/photoprism/assets/facenet/:No such file or directory pkg-static: Unable to access file /root/photoprism-freebsd-port/work/stage/var/db/photoprism/assets/nasnet/variables/:No such file or directory pkg-static: Unable to access file /root/photoprism-freebsd-port/work/stage/var/db/photoprism/assets/nasnet/:No such file or directory pkg-static: Unable to access file /root/photoprism-freebsd-port/work/stage/var/db/photoprism/assets/nsfw/variables/:No such file or directory pkg-static: Unable to access file /root/photoprism-freebsd-port/work/stage/var/db/photoprism/assets/nsfw/:No such file or directory pkg-static: duplicate file listing: /usr/local/etc/rc.d/photoprism, ignoring *** Error code 1
Stop. make: stopped in /root/photoprism-freebsd-port`
It looks the nsfw package not be downloaded, the code is https://github.com/huo-ju/photoprism-freebsd-port/blob/fc5adb75cdcf05b3c644e284eb0d9e02152706d4/Makefile#L52 and https://github.com/photoprism/photoprism/blob/develop/scripts/download-nsfw.sh
maybe you can remove all nsfw related files from https://github.com/huo-ju/photoprism-freebsd-port/blob/fc5adb75cdcf05b3c644e284eb0d9e02152706d4/pkg-plist#L146 and try to build it again.
Build completed but with same Illegal Instruction as before.
Using all the defaults with make config-recursive
might just have to update the cpu
avx2 is required with my build, I will change the readme.
Hi, i start with truenas core 13 and i have the same issue trying to install Photoprism on a jail : "this program can only be run on amd64 processors with v3 microarchitecture support" my cpu support avx but not avx2.
Gaojianli, is there something to do to delete avx2 requirement with your build ?
Hi, i start with truenas core 13 and i have the same issue trying to install Photoprism on a jail : "this program can only be run on amd64 processors with v3 microarchitecture support" my cpu support avx but not avx2.
Gaojianli, is there something to do to delete avx2 requirement with your build ?
you can try to build it with yourself, run make config
and choose the type of your CPU in the dialog
ok thanks :)
Or you can try my build, which only uses AVX and SSE42 (no AVX2).
Or you can try my build, which only uses AVX and SSE42 (no AVX2).
Just tried. Same issue. Illegal instruction when running the photoprism binary.
Photoprism installs fine using libtensorflow1 from here and the build from here but it does not start.
service photoprism start
showsStarting photoprism.
but it does not start or show any obvious errors.Any ideas?