#New install help

1 messages · Page 1 of 1 (latest)

formal marten
#

I've followed the guide on the Immich website to install in Docker. I also checked it against this guide: https://forum.openmediavault.org/index.php?thread/56960-how-to-install-immich-photo-upload-server-with-docker/

I've done this on OMV but I cannot connect at all. In both browser and app it cannot connect to the server and when I do a port test (2283) tcp connect fails. I did get this working earlier and when it stopped working I deleted the container and reinstalled and now it won't work at all.

I have noticed, once I try to connect the container will be half-down, with the 2283 port being down. I bring the container up and it shows 5432/tcp, 6379/tcp 2283->2283/tcp [0.0.0.0], 2283->2283/tcp [;;]. I try to connect and I lose the 2283 parts.. The only way to recover is take the whole container down and back up then it all happens again.

stuck fableBOT
#

:wave: Hey @formal marten,

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

References

#

Checklist

I have...

  1. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time).
  2. :ballot_box_with_check: read applicable release notes.
  3. :ballot_box_with_check: reviewed the FAQs for known issues.
  4. :ballot_box_with_check: reviewed Github for known issues.
  5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy).
  6. :blue_square: uploaded the relevant information (see below).
  7. :blue_square: 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)

Information

In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider:

  • Your docker-compose.yml and .env files.
  • Logs from all the containers and their status (see above).
  • All the troubleshooting steps you've tried so far.
  • Any recent changes you've made to Immich or your system.
  • Details about your system (both software/OS and hardware).
  • Details about your storage (filesystems, type of disks, output of commands like fdisk -l and df -h).
  • The version of the Immich server, mobile app, and other relevant pieces.
  • Any other information that you think might be relevant.

Please paste files and logs with proper code formatting, and especially avoid blurry screenshots.
Without the right information we can't work out what the problem is. Help us help you ;)

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

weak valley
#

Please check the logs, this should tell you why it's restarting

formal marten
weak valley
#

microservices worker error: Error: Failed to read: "<UPLOAD_LOCATION>/encoded-video/.immich (/data/encoded-video/.immich)

#

Your UPLOAD_LOCATION mount either failed or did not work properly when you first started immich

formal marten
#

The location where your uploaded files are stored

UPLOAD_LOCATION=/srv/dev-disk-by-uuid-92E06A82E06A6D03/immich

#

That location is in the shared folders in OMV and I can access it from devices that are able to access the NAS.

#

However this has prompted me to double check access and OMV has an appuser userID for docker which I've just given read/write access. I shall try again now.

#

Unfortunately no change.

formal marten
#

All I've changed from the default .yml file is env_file: - immich.env in both locations.

#

All I've changed in the .env file is the UPLOAD_LOCATION.

molten parcel
#

You cannot rename the env file

formal marten
#

I just changed the .yml to remove the renaming of the env and get this error:

env file /srv/dev-disk-by-uuid-780b7844-d24d-4ed9-ae38-910eb24f19da/appdata/immich/.env not found: stat /srv/dev-disk-by-uuid-780b7844-d24d-4ed9-ae38-910eb24f19da/appdata/immich/.env: no such file or directory

Doesn't happen with the renaming.

#

I believe it's due to the way OMV handles docker containers.

bold acorn
#

Did you ever change the upload location after starting the container once? The error says the mount is missing the .immich file which gets created on first start

formal marten
#

Yes... but I have also removed and recreated the container since.

bold acorn
#

That won’t do it. You also need to clean both upload and db directories if you want to start from 0. Or properly move the directories that got created including the hidden .immich file.

formal marten
#

Ahhhh, I shall find the storage location and clear it out.

formal marten
#

I've found them. Should I move them or just delete them?

bold acorn
#

Just move them to the new location

formal marten
#

I have moved them to the same location mentioned in env. I'm not getting the issue anymore but I'm also still not getting a connection from the same network.

#

Looks like it's still failing to read?

bold acorn
#

Did you move the files properly?

#

Since you are just starting maybe you should clean both DB and UPLOAD locations, might be easier at this point

formal marten
#

I'm struggling to find them currently. Any ideas? This is also becoming a tomorrow problem now.

formal marten
#

Or do you mean the locations I've just moved?

bold acorn
#

Whatever you defined in your env.