-
Notifications
You must be signed in to change notification settings - Fork 15
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
Needed environment variables #14
Comments
After install the port, you should see the following message about environmental variables.
|
Hi. Those two variables in /etc/rc.conf are used to launch the photoprism server properly at startup.
But, afterwards, if you just want to run the photoprism command for any purpose (manually index your files, get the configuration, purge, cleanup, backup, etc...), an error is given, since those folders are not found. For example:
Another example:
But, if they are given as parameters to photoprism command every time, it works fine:
Another option is to set those environment variables and no extra parameters must be given to setenv PHOTOPRISM_ASSETS_PATH "/var/db/photoprism/assets" https://docs.photoprism.org/getting-started/config-options/ Thanks. |
Hi.
I saw that doing a
photoprism config
There were some errors such as
ERRO[2021-05-23T19:18:20Z] config: failed creating /var/db/.photoprism/storage/serial: open /var/db/.photoprism/storage/serial: no such file or directory
The beginning of such path was the path you were already.
Also, I could not perform a
photoprism purge
orphotoprism cleanup
due to similar errors.Then, I noticed that setting the following environmental variables, was making everything fine:
I think they are needed to be set in this freebsd-port.
Thanks
The text was updated successfully, but these errors were encountered: