#Change name of .env

1 messages · Page 1 of 1 (latest)

onyx storm
#

The readme says example.env must be changed to .env. However my mac says that is not allowed.

red pollenBOT
#

:wave: Hey @onyx storm,

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.

red pollenBOT
shut aurora
#

Just... do it anyways?

#

The file needs to be called .env

onyx storm
#

Im not following? If it wont let me, it wont let me

shut aurora
#

Use the terminal then

onyx storm
#

Ok interesting. I would not have thought that would work

shut aurora
#

If you can't do something with a terminal you'd be actually fucked :P

onyx storm
#

Thanks

shut aurora
#

Did you manage to do it? :)

onyx storm
#

Yeah it worked great. Immich took it, changes backup location to my external drive, but oddly still shows the "storage" space from the internal in the app

shut aurora
#

Did you recreate the container after you changed it in your env file?

#

I.e. ran docker compose up again

onyx storm
#

Yeah started all over

#

Im unna try again

shut aurora
#

Oh wait you said you changed the "backup location"?

#

You want to change UPLOAD_LOCATION if you want to change where Immich stores the images

onyx storm
#

Yeah i mispoke. I changed upload location

shut aurora
onyx storm
#

Sure. Thanks

#

Same problem. I have not touched the docker compose file and literally the only think ive changed in the .env is the upload location

shut aurora
#

You changed the upload location

#

And then you ran docker compose up -d?

#

And yuo saved the env file?

onyx storm
#

Yep. I can even see that it build the folder structure in the new location

shut aurora
#

Oh ok

#

Can you run df -h in the Volumes/Photo Backup/Immich folder?

onyx storm
shut aurora
#

Can you run docker container inspect immich-server?

#

I feel like that space in the path may be screwing up stuff

#

Spaces in paths are generally cursed

onyx storm
#

Sounds logical. Im removing it now and re trying

#

No cigar

#

I guess it is not a huge deal. It is putting things where they should be

shut aurora
#

Oh wait you said you were on macos right?

#

There's an issue with displaying the storage capacity on macos lmao

#

Sometimes it says like 200TiB or something insane

onyx storm
#

Yea i an

#

Yeah it is doing that for sure

#

It has a massive number

shut aurora
#

I thought it was too small 😅

shut aurora
onyx storm
#

👍