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

Shared person shows blank image placeholders w/Error fetching thumbnail Not found or no asset.view access #118

Open
iolaire opened this issue Jan 19, 2025 · 1 comment

Comments

@iolaire
Copy link

iolaire commented Jan 19, 2025

When I share a person a thumbnail the images are not displayed and I see an error in the log for "Error fetching thumbnail Not found or no asset.view access".

Here are the visuals:

  1. Clicking on a person I see the thumbnails and images
Image
  1. When I share the the person it doesn't show thumbnails or images
Image

When I review the log I see errors:

2025-01-19 11:07:53 Error: Error: Error fetching thumbnail Not found or no asset.view access
2025-01-19 11:07:53     at c (/app/.next/server/pages/api/immich-proxy/asset/share-thumbnail/[id].js:1:1225)
2025-01-19 11:07:53     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2025-01-19 11:07:53     at async K (/app/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js:20:16853)
2025-01-19 11:07:53     at async U.render (/app/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js:20:17492)
2025-01-19 11:07:53     at async NextNodeServer.runApi (/app/node_modules/next/dist/server/next-server.js:600:9)
2025-01-19 11:07:53     at async NextNodeServer.handleCatchallRenderRequest (/app/node_modules/next/dist/server/next-server.js:269:37)
2025-01-19 11:07:53     at async NextNodeServer.handleRequestImpl (/app/node_modules/next/dist/server/base-server.js:816:17)
2025-01-19 11:07:53     at async invokeRender (/app/node_modules/next/dist/server/lib/router-server.js:174:21)
2025-01-19 11:07:53     at async handleRequest (/app/node_modules/next/dist/server/lib/router-server.js:353:24)
2025-01-19 11:07:53     at async requestHandlerImpl (/app/node_modules/next/dist/server/lib/router-server.js:377:13)

I'm on a mac running with docker compose, images are stored on a volume. My .env settings specific to immich-power-tools.

IMMICH_API_KEY="key for image owner" # your_immich_api_key
IMMICH_URL="http://10.0.1.56:2283" # Your immich instance ip address and port
EXTERNAL_IMMICH_URL="http://xx.domain.net:2289" # External address of immich #note I've mapped this internally to 2283 on my router
DB_HOST="immich_postgres"
DB_PORT = "5432" # Postgres Port number (Default: 5432)
# Optional
GOOGLE_MAPS_API_KEY="mymapskey"# Google Maps API Key
GEMINI_API_KEY="mygeminikey"# Gemini API Key
JWT_SECRET = "long string"  #generated at https://jwtsecret.com
# Immich Share Link
IMMICH_SHARE_LINK_KEY="key for user with no images" # Share link key for Immich #created new user without any images
POWER_TOOLS_ENDPOINT_URL="http://xx.domain.net:7001" # URL of the Power Tools endpoint (Used for share links) #note I've mapped this internally to 8001 on my router

I'm guessing the error is a user issue, thanks for any help.

@iolaire
Copy link
Author

iolaire commented Jan 25, 2025

Two questions on my effort to debug my error above:

  1. Does immich need to be on https for power tools? When I try to share directly via immich it says "Cannot copy to clipboard, make sure you are accessing the page through https"
  2. What is this key? IMMICH_SHARE_LINK_KEY="" # Share link key for Immich. I've assumed it should be a blank user API key but I could be way off

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

No branches or pull requests

1 participant