Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make package/install fails on photoprism-g20240915 #79

Open
gvelim opened this issue Oct 26, 2024 · 1 comment · May be fixed by #80
Open

make package/install fails on photoprism-g20240915 #79

gvelim opened this issue Oct 26, 2024 · 1 comment · May be fixed by #80

Comments

@gvelim
Copy link

gvelim commented Oct 26, 2024

I am able to build with make however when I try to install it fails.

Any ideas how to overcome this ?

# uname -a
FreeBSD photoprism 13.3-RELEASE-p4 FreeBSD 13.3-RELEASE-p4 n257491-41f6a830f8e TRUENAS amd64
# make install
===>  Installing for photoprism-g20240915
===>  Checking if photoprism is already installed
===>   Registering installation for photoprism-g20240915
pkg-static: Unable to access file /root/photoprism-freebsd-port/work/stage/var/db/photoprism/assets/static/build/app.7c8896e06308b4527cda.js:No such file or directory
pkg-static: Unable to access file /root/photoprism-freebsd-port/work/stage/var/db/photoprism/assets/static/build/app.7c8896e06308b4527cda.js.LICENSE.txt:No such file or directory
pkg-static: Unable to access file /root/photoprism-freebsd-port/work/stage/var/db/photoprism/assets/static/font/Open Sans Bold/13056-1339.pbf:No such file or directory
pkg-static: Unable to access file /root/photoprism-freebsd-port/work/stage/var/db/photoprism/assets/static/font/Open Sans Bold/45056-4539.pbf:No such file or directory
pkg-static: Unable to access file /root/photoprism-freebsd-port/work/stage/var/db/photoprism/assets/static/font/Open Sans Italic/13056-1339.pbf:No such file or directory
pkg-static: Unable to access file /root/photoprism-freebsd-port/work/stage/var/db/photoprism/assets/static/font/Open Sans Italic/45056-4539.pbf:No such file or directory
pkg-static: Unable to access file /root/photoprism-freebsd-port/work/stage/var/db/photoprism/assets/static/font/Open Sans Regular/13056-1339.pbf:No such file or directory
pkg-static: Unable to access file /root/photoprism-freebsd-port/work/stage/var/db/photoprism/assets/static/font/Open Sans Regular/45056-4539.pbf:No such file or directory
pkg-static: Unable to access file /root/photoprism-freebsd-port/work/stage/var/db/photoprism/assets/static/font/Open Sans Semibold/13056-1339.pbf:No such file or directory
pkg-static: Unable to access file /root/photoprism-freebsd-port/work/stage/var/db/photoprism/assets/static/font/Open Sans Semibold/45056-4539.pbf: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
# make package
===>  Building packages for photoprism-g20240915
===>   Building photoprism-g20240915
pkg-static: Unable to access file /root/photoprism-freebsd-port/work/stage/var/db/photoprism/assets/static/build/app.7c8896e06308b4527cda.js:No such file or directory
pkg-static: Unable to access file /root/photoprism-freebsd-port/work/stage/var/db/photoprism/assets/static/build/app.7c8896e06308b4527cda.js.LICENSE.txt:No such file or directory
pkg-static: Unable to access file /root/photoprism-freebsd-port/work/stage/var/db/photoprism/assets/static/font/Open Sans Bold/13056-1339.pbf:No such file or directory
pkg-static: Unable to access file /root/photoprism-freebsd-port/work/stage/var/db/photoprism/assets/static/font/Open Sans Bold/45056-4539.pbf:No such file or directory
pkg-static: Unable to access file /root/photoprism-freebsd-port/work/stage/var/db/photoprism/assets/static/font/Open Sans Italic/13056-1339.pbf:No such file or directory
pkg-static: Unable to access file /root/photoprism-freebsd-port/work/stage/var/db/photoprism/assets/static/font/Open Sans Italic/45056-4539.pbf:No such file or directory
pkg-static: Unable to access file /root/photoprism-freebsd-port/work/stage/var/db/photoprism/assets/static/font/Open Sans Regular/13056-1339.pbf:No such file or directory
pkg-static: Unable to access file /root/photoprism-freebsd-port/work/stage/var/db/photoprism/assets/static/font/Open Sans Regular/45056-4539.pbf:No such file or directory
pkg-static: Unable to access file /root/photoprism-freebsd-port/work/stage/var/db/photoprism/assets/static/font/Open Sans Semibold/13056-1339.pbf:No such file or directory
pkg-static: Unable to access file /root/photoprism-freebsd-port/work/stage/var/db/photoprism/assets/static/font/Open Sans Semibold/45056-4539.pbf: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
@lapo-luchini lapo-luchini linked a pull request Oct 26, 2024 that will close this issue
@gvelim
Copy link
Author

gvelim commented Oct 26, 2024

Thanks. Somehow after a number of make clean install the font file errors disappeared however the .js file errors remained.

I noticed the discrepancy between plist and asset directory contents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant