Jump to content

[Support] findthelorax - docker templates


Recommended Posts

On 9/9/2023 at 9:37 AM, Findthelorax said:

Are you getting any errors in the container logs? I just installed it without issue after fixing permissions on the emqx appdata folder which may be my fault somewhere. I'll update the template with PUID/PGID variables. I ended up switching back to mosquitto after having some issues later on with emqx. I use Dozzle to view the logs and troubleshoot but if you post them and I'll do my best to help.

Yes, I am having issues with EMQX it says it cannot create the files and folders it needs due to permissions issue

Link to comment
  • 4 weeks later...
  • 3 weeks later...

in regards to EMQX, everytime i stop the container the accounts i create in user management. Any idea why this isn't being saved in appdata?

 

edit: i think setting the node name *should* fix this issue, I will update later and confirm.

 

EMQX_NODE__NAME: [email protected]

 

Edited by spyd4r
Link to comment
  • 3 weeks later...

Yea, doesn't work. Fresh install. Logs just contain the following:

started 240711 as root (amd64-prod)
init: account with the user id 99 already exists
init: updating filesystem permissions
PHOTOPRISM_DISABLE_CHOWN="true" disables permission updates
Problems? Our Troubleshooting Checklists help you quickly diagnose and solve them:
https://docs.photoprism.app/getting-started/troubleshooting/
file umask....: "0002" (u=rwx,g=rwx,o=rx)
home directory: /photoprism
assets path...: /opt/photoprism/assets
storage path..: /photoprism/storage
config path...: default
cache path....: default
backup path...: /photoprism/storage/backups
import path...: /photoprism/import
originals path: /photoprism/originals
switching to uid 99:100
/opt/photoprism/bin/photoprism start
/opt/photoprism/bin/photoprism start
/opt/photoprism/bin/photoprism start

 

Here is what I see. It "refused" to connect, which tells me it is responding but won't serve any web traffic:

 image.thumb.png.91f0af4b45f10db3c394ca1e9a02b0ce.png

Edited by jaylo123
Link to comment

I got EMQX working. I did have to run the below code which I don't believe is secure so use at your own risk.

 

chmod -R 777 /mnt/user/appdata/emqx

 

As for PhotoPrism:

 

@Artiom97es I believe you can set those as environment variables when editing the container.

 

@jaylo123 What do your settings look like? What database are you using? It looks like it should be starting.

Link to comment

Affine

 

Hello I got the application running but when I try to log in with the email from the AFFINE_ADMIN_EMAIL variable and the password from AFFINE_ADMIN_PASSWORD I got only an error message:
 

Quote


Failed to send email. Please try again.

 

 

 

Link to comment

Howdy, I literally just heard about this app this weekend and got it running. I haven't figured out login in yet but I do remember seeing there are issues with connecting the self-hosted version to the desktop app and such. I will look into this but it may be a while until I can provide a definitive answer.

Link to comment

I've managed to get the program running with the mailer configured correctly and reached the login screen. When I enter the email address specified in AFFiNE_ADMIN_EMAIL, I receive an email with a link to create an account instead of logging in. Also, when I click the link, it opens a new browser tab with the URL http://localhost:3010/magic-link..., and I encounter the following error in the logs: 

 

[Nest] 1  - 08/13/2024, 4:29:17 PM   ERROR [HTTP] Internal server error
PrismaClientKnownRequestError: 
Invalid `prisma.user.create()` invocation:


An operation failed because it depends on one or more records that were required but not found. No 'Feature' record(s) (needed to inline the relation on 'UserFeature' record(s)) was found for a nested connect on one-to-many relation 'FeatureToUserFeature'.
    at _n.handleRequestError (/app/node_modules/@prisma/client/runtime/library.js:121:7749)
    at _n.handleAndLogRequestError (/app/node_modules/@prisma/client/runtime/library.js:121:7057)
    at _n.request (/app/node_modules/@prisma/client/runtime/library.js:121:6741)
    at async l (/app/node_modules/@prisma/client/runtime/library.js:130:9355)
    at async AuthController.magicLinkSignIn (file:///app/dist/core/auth/controller.js:102:22)

 

For those interested in how I got the mailer working, here’s what I did:

Edited the Docker container and added the following four variables:

 

Name: AFFiNE_MAILER_HOST

Key: MAILER_HOST

Value: [Your Email SMTP Server]

 

Name: AFFiNE_MAILER_PORT

Key: MAILER_PORT

Value: [Your SMTP Port]

 

Name: AFFiNE_MAILER_USER

Key: MAILER_USER

Value: [Your Email Address]

 

Name: AFFiNE_MAILER_PASSWORD

Key: MAILER_PASSWORD

Value: [Your Email Password]

 

This setup allows the mailer to function correctly, sending emails as expected.

You may need to setup an App Password if you're using outlook or Gmail.

Link to comment
  • 2 weeks later...

Trying to get this to work with reverse proxy. Currently using NPM.

 

When I create a share link, the link is correct with my domain. But when I navigate to that link all I get in return is a blank page. After a little bit the browser returns "This site can't be reached". Navigating to the shared link with local IP address results in it working just fine.

 

Photoprism is complaining about websockets not working. I've input their config in the proper place in NPM but it causes the proxy host to go offline. Does anyone have a working config for NPM? I am also looking at Traefik which was mentioned in photoprism's documentation.

 

EDIT: I had websockets disabled in NPM. When I enabled it the proxy host went offline. I removed all the extra config from the advanced tab and re-enabled websockets and now that is correctly working. As for the blank page/page not loading issue, I had the docker form incorrectly configured. In the "PHOTOPRISM_SITE_URL" field the site url needs to exclude the port number. With those changes I am no longer experiencing any issues or warnings.

Edited by offroadguy56
Link to comment
On 8/13/2024 at 9:58 AM, JEZBRO said:

I've managed to get the program running with the mailer configured correctly and reached the login screen. When I enter the email address specified in AFFiNE_ADMIN_EMAIL, I receive an email with a link to create an account instead of logging in. Also, when I click the link, it opens a new browser tab with the URL http://localhost:3010/magic-link..., and I encounter the following error in the logs: 

 

[Nest] 1  - 08/13/2024, 4:29:17 PM   ERROR [HTTP] Internal server error
PrismaClientKnownRequestError: 
Invalid `prisma.user.create()` invocation:


An operation failed because it depends on one or more records that were required but not found. No 'Feature' record(s) (needed to inline the relation on 'UserFeature' record(s)) was found for a nested connect on one-to-many relation 'FeatureToUserFeature'.
    at _n.handleRequestError (/app/node_modules/@prisma/client/runtime/library.js:121:7749)
    at _n.handleAndLogRequestError (/app/node_modules/@prisma/client/runtime/library.js:121:7057)
    at _n.request (/app/node_modules/@prisma/client/runtime/library.js:121:6741)
    at async l (/app/node_modules/@prisma/client/runtime/library.js:130:9355)
    at async AuthController.magicLinkSignIn (file:///app/dist/core/auth/controller.js:102:22)

 

For those interested in how I got the mailer working, here’s what I did:

Edited the Docker container and added the following four variables:

 

Name: AFFiNE_MAILER_HOST

Key: MAILER_HOST

Value: [Your Email SMTP Server]

 

Name: AFFiNE_MAILER_PORT

Key: MAILER_PORT

Value: [Your SMTP Port]

 

Name: AFFiNE_MAILER_USER

Key: MAILER_USER

Value: [Your Email Address]

 

Name: AFFiNE_MAILER_PASSWORD

Key: MAILER_PASSWORD

Value: [Your Email Password]

 

This setup allows the mailer to function correctly, sending emails as expected.

You may need to setup an App Password if you're using outlook or Gmail.

 

 

For me is not working! 

 

image.thumb.png.1ca8148daa8deff1c5984aeb55f463c4.png image.thumb.png.8b71d663d044ceceacadda5546ae75f8.png

Link to comment

Hi, I have two instances of Photoprism running (one for me, one for my mom) and it was running fine for a long time but now that I started uploading more pictures, the previews or sidecar images (not sure at this point) are showing up as missing. All the previews start appearing with a broken image file - although the original image is still untouched. I ran a complete rescan on one library and it seemed like it fixed it but once I ran it on the other one, the first library started having the broken previews again. So far I think I have everything separated from each other from what I can tell but I may be wrong. Should I have had a separate path for PHOTOPRISM_ORIGINALS_PATH for the two instances? 

Screenshot 2024-08-25 at 11.35.43 AM.png

Screenshot 2024-08-25 at 11.53.18 AM.png

Screenshot 2024-08-25 at 11.53.31 AM.png

Screenshot 2024-08-25 at 11.54.15 AM.png

Screenshot 2024-08-25 at 11.54.23 AM.png

Link to comment

I believe the variable PHOTOPRISM_ORIGINALS_PATH is set with the docker path: Storage Path /photoprism/originals.

 

I don't even have the sidecar variable set in my template, nor the backup path but that shouldn't make a difference. Are there any errors? Is your storage filling up or server hitting load limits? What database are you using for the containers?

 

As far as I can tell you have photoprism set correctly as separate docker instances in /mnt/cache/appdata and the photos etc should be separated. Unless i'm missing something i'd say it was bad timing that running a scan was fixing/breaking the other docker unless it was affecting the server. You can keep testing and try stopping one container to see how long the previews stay there and if it actually is the second container affecting it.

 

The PhotoPrism docs show this:
 

Regenerate Thumbnails

docker compose exec photoprism photoprism thumbs -f
Link to comment
On 7/10/2023 at 11:07 PM, Findthelorax said:

Support for findthelorax docker templates
Just learning but happy to help where I can.

Look at the documentation on Github!


Application Name: EMQX
Application Site: https://www.emqx.io/

Docker Hub: https://hub.docker.com/_/emqx
Github: https://github.com/emqx/emqx

 

Application Name: blisshq
Application Site: https://www.blisshq.com/

Docker Hub: https://hub.docker.com/r/romancin/bliss
Github: https://github.com/romancin/bliss-docker

 

Application Name: PhotoPrism
Application Site: https://www.photoprism.app/

Docker Hub: https://hub.docker.com/r/photoprism/photoprism
Github: https://github.com/photoprism

Hiiii, about Affine.
I couldn't run it on docker unraid, it won't start. Any suggestions?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...