Closed EmperorMurfy closed 2 years ago
I am happy to help if you need me to be more specific in certain area's to help solve this bug.
Do you have a copy of ports installed? Try to run ls /usr/ports/Mk/
in the jails. You can use portsnap fetch extract
to get the port tree if there are no files.
I'll try to do that. I'll keep you posted!
I could not run ls /usr/port/Mk as it said there was no files. So, I ran portsnap fetch extract which did in fact run and completed without error.
Make config did basically nothing but it didn't result in an error. Make && make install did run and had some gui's which I just resulted to default and didn't touch anything.
@EmperorMurfy Thanks for the reminder. The make config
should be remove from the README. The make config
is using for set the options to build the tensorflow
in the previous releases, but we depends on the official libtensorflow ports instead of build it by ourself.
The README has been updated.
BTW, I used nano to edit rc.conf. Is that ok?
I'm kinda stuck now. I put in everything for rc.conf and saved it. I then tried setting up a password by pasting the line into shell and didn't do much and didn't run. I then tried running photoprism, which just said photoprism does not exist in /etc/rc.d or the local startup
Directories (/usr/local/etc/rc.d), or is not executable
Did you run the command make install
successful? The photoprism should be build and install to /usr/local/bin/photoprism
, then you can setup the password, and you can run photoprism
directly.
Yes, I did run it successfully
On Tue, Aug 9, 2022 at 4:27 PM Ju Huo @.***> wrote:
Did you run the command make install successful? The photoprism should be build and install to /usr/local/bin/photoprism, then you can setup the password, and you can run photoprism directly.
— Reply to this email directly, view it on GitHub https://github.com/huo-ju/photoprism-freebsd-port/issues/41#issuecomment-1209840046, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2N2ONA5HPYMJ7D3M6LQJUTVYK5J3ANCNFSM5562GKPA . You are receiving this because you were mentioned.Message ID: @.***>
When I do ls /usr/local/bin/photoprism it just say's no such file or directory
I think after the download and install, I start running into issues. I edited the config with nano and just copied and pasted this into rc.config: photoprism_enable="YES" photoprism_assetspath="/var/db/photoprism/assets" photoprism_storagepath="/var/db/photoprism/storage"
I didn't rly know where to put the password (fresh install) code so I just entered into into a the jail's shell and did nothing.
service photoprism start - had an error. Screenshot include
d
Do you mind running me through how to install this into truenas core jails? I want to compare it with my current understanding of how to install this. Perhaps I did something wrong in the installation instead of the code being broken.
There are no different between this port and other ports, just install the libtensorflow1 from official port tree, then make
this ports, then make install
if the build successful.
You may like to install the pre-build release: https://github.com/psa/photoprism-freebsd-port/releases
How can I install the pre-build release? Please be patient with me as I am new to github and freebsd (truenas core)
Would it be possible for you to make a .json file of this? Like something like these files: https://github.com/ix-plugin-hub/iocage-plugin-index
How can I fetch the pre-build release? I did: fetch https://github.com/psa/photoprism-freebsd-port/releases and it didn't work.
Just download the pkg file, and use the pkg add
command to install it locally.
Please read the FreeBSD document. https://www.freebsd.org/cgi/man.cgi?pkg-add(8)
Hello! So I tried installing Photoprism into TrueNAS core and it didn't exactly work. Now since TrueNAS core is based on FreeBSD, most people directed me here to install it. I've tried to do this in a clone jail shell and just normal shell in the ui, but it simply didn't work.
The git clone worked most of the time, but I couldn't execute make config or make && make install. It just simply didn't work and gave me an error. I don't know what I've done wrong.
I've attached a screenshot to the error I get down below.