Thumbnails not showing

I have set up Immich on Docker (Running on debian on Proxmox) I have imported my current photos using the import command which looks like it worked. The issue I am having is that for whatever reason the thumbnails are not working on the browser but are showing on the iOS App I have attached the log files thank you
14 Replies
thomas
thomas2y ago
This isn’t a very helpful error, sorry. @sogan I think you looked at this recently?
bo0tzz
bo0tzz2y ago
It can't connect to the postgres database, make sure that is running
thomas
thomas2y ago
It must be able to connect to the db if it can list assets?
bo0tzz
bo0tzz2y ago
The error is a postgres timeout, so something there must be having a bad time at least
mahmoudxeid
mahmoudxeidOP2y ago
hmm the postgres container is throwing some errors as well
sogan
sogan2y ago
Can you right click in the browser, click inspect and check the console tab?

try {
const thumbnailPath = this.getThumbnailPath(asset, query.format);
return this.streamFile(thumbnailPath, res, headers);
} catch (e) {
res.header('Cache-Control', 'none');
this.logger.error(`Cannot create read stream for asset ${asset.id}`, 'getAssetThumbnail');
throw new InternalServerErrorException(
`Cannot read thumbnail file for asset ${asset.id} - contact your administrator`,
{ cause: e as Error },
);
}

try {
const thumbnailPath = this.getThumbnailPath(asset, query.format);
return this.streamFile(thumbnailPath, res, headers);
} catch (e) {
res.header('Cache-Control', 'none');
this.logger.error(`Cannot create read stream for asset ${asset.id}`, 'getAssetThumbnail');
throw new InternalServerErrorException(
`Cannot read thumbnail file for asset ${asset.id} - contact your administrator`,
{ cause: e as Error },
);
}
The server error is coming from this block. The cause is only reported in the response
mahmoudxeid
mahmoudxeidOP2y ago
OAuth Redirect URI: http://192.168.3.5:2283/auth/login api/jobs:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error) 31.c757ae21.js:6 Uncaught (in promise) Zcode: "ERR_BAD_RESPONSE"config: {transitional: {…}, transformRequest: Array(1), transformResponse: Array(1), timeout: 0, adapter: ƒ, …}message: "Request failed with status code 500"name: "AxiosError"request: XMLHttpRequest {onreadystatechange: null, readyState: 4, timeout: 0, withCredentials: false, upload: XMLHttpRequestUpload, …}response: {data: {…}, status: 500, statusText: 'Internal Server Error', headers: {…}, config: {…}, …}[[Prototype]]: Error that's what it is showing
bo0tzz
bo0tzz2y ago
How is the resource usage on your server? CPU/RAM/etc
mahmoudxeid
mahmoudxeidOP2y ago
No description
mahmoudxeid
mahmoudxeidOP2y ago
not too bad I would say , the disk read/write is also within normal
sogan
sogan2y ago
ram is looking pretty rough, though i don't know if it would cause this issue
mahmoudxeid
mahmoudxeidOP2y ago
Thanks , I will increase the allocated ram and try again
Alex Tran
Alex Tran2y ago
Have the job: finished running?
mahmoudxeid
mahmoudxeidOP2y ago
Yes #twice I redeployed the stack with new DB name and new volume and t seams to work for now, I will have to reimport my existing folder and retest

Did you find this page helpful?