#immich suddenly not detecting storage

1 messages · Page 1 of 1 (latest)

vestal parcel
#

it actively refused to show the thumnails and photos even though it was working fine this morning
logs-2024-07-23 00:03:34 at async access (node:internal/fs/promises:603:10)
2024-07-23 00:03:34 at async sendFile (/usr/src/app/dist/utils/file.js:51:9)
2024-07-23 00:03:34 at async AssetMediaController.viewAsset (/usr/src/app/dist/controllers/asset-media.controller.js:57:9)
2024-07-23 00:03:34 [Nest] 19 - 07/22/2024, 6:33:34 PM ERROR [Api:ExceptionsHandler~1jhxucbh] ENOENT: no such file or directory, access 'upload/thumbs/1a21c6d7-34e1-48e5-bf50-f603389d7076/d6/98/d698c40b-e282-477d-b20a-2b8546706eb0-thumbnail.webp'
2024-07-23 00:03:34 Error: ENOENT: no such file or directory, access 'upload/thumbs/1a21c6d7-34e1-48e5-bf50-f603389d7076/d6/98/d698c40b-e282-477d-b20a-2b8546706eb0-thumbnail.webp'
2024-07-23 00:03:34 at async access (node:internal/fs/promises:603:10)
2024-07-23 00:03:34 at async sendFile (/usr/src/app/dist/utils/file.js:51:9)
2024-07-23 00:03:34 at async AssetMediaController.viewAsset (/usr/src/app/dist/controllers/asset-media.controller.js:57:9)

patent swanBOT
#

:wave: Hey @vestal parcel,

Thanks for reaching out to us. Please follow the recommended actions below; this will help us be more effective in our support effort and leave more time for building Immich immich.

References

Checklist

  1. :ballot_box_with_check: I have verified I'm on the latest release(note that mobile app releases may take some time).
  2. :ballot_box_with_check: I have read applicable release notes.
  3. :ballot_box_with_check: I have reviewed the FAQs for known issues.
  4. :ballot_box_with_check: I have reviewed Github for known issues.
  5. :ballot_box_with_check: I have tried accessing Immich via local ip (without a custom reverse proxy).
  6. :ballot_box_with_check: I have uploaded the relevant logs, docker compose, and .env files, making sure to use code formatting.
  7. :ballot_box_with_check: I have tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable

(an item can be marked as "complete" by reacting with the appropriate number)

If this ticket can be closed you can use the /close command, and re-open it later if needed.

vestal parcel
empty lance
#

Please post the compose and env file

vestal parcel
empty lance
#

can you copy paste the .env as a code block?

#

I can't view it

vestal parcel
#

You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables

The location where your uploaded files are stored

UPLOAD_LOCATION=I:\immich

The location where your database files are stored

DB_DATA_LOCATION=./postgres

To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List

TZ=Etc/UTC

The Immich version to use. You can pin this to a specific version like "v1.71.0"

IMMICH_VERSION=release

Connection secret for postgres. You should change it to a random password

DB_PASSWORD=postgres

The values below this line do not need to be changed

###################################################################################
DB_USERNAME=postgres
DB_DATABASE_NAME=immich

empty lance
#

ok, so the I:\immich mount is broken

#

was it working before?

vestal parcel
#

yes it was

empty lance
#

so it's some kind of docker desktop / windows issue

#

you can check this by running docker exec -it immich_server find /usr/src/app/upload

#

to see if there are any files mounted

vestal parcel
#

this is the result-
PS C:\immich-app> docker exec -it immich_server find /usr/src/app/upload
/usr/src/app/upload
/usr/src/app/upload/library
failed to resize tty, using default size

What's next:
Try Docker Debug for seamless, persistent debugging tools in any container or image → docker debug immich_server
Learn more at https://docs.docker.com/go/debug-cli/

Docker Documentation
empty lance
#

yep, so there are no files in the mount point

#

otherwise that should show you all the images

#

you will need to debug why the I:\immich folder is not mounted anymore

vestal parcel
#

i did restart the server should i just reinstall it

#

oh and also the default storage was changed in the env file form I to X and i had change it again

#

it changed the value itself

empty lance
#

reinstalling sounds like overkill but docker on windows is really nota great experience

#

it would be better to just install on linux