Starting afresh with portainer deployment

Hi, following some issues, I've decided to start again and deploy immich with portainer this time... Reading the official doc... simple I thought... https://immich.app/docs/install/portainer Following these instructions I've copied and pasted the docker compose file, changed the .env to stack.env, changed the password value for the DB_Password, and then hit deploy stack. I repeatedly get error messages along the lines of "Failed to deploy a stack: compose up operation failed: Error response from daemon: Bind mount failed '/data/compose/7/postgres' does not exist" I can't find anything in the immich docs that references these. Any help, would be greatly appreciated. Thanks.
17 Replies
Immich
Immichβ€’4w ago
:wave: Hey @bicolorebore586, 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 - Container Logs: docker compose logs docs - Container Status: docker ps -a docs - Reverse Proxy: https://immich.app/docs/administration/reverse-proxy - Code Formatting https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline#h_01GY0DAKGXDEHE263BCAYEGFJA Checklist I have... 1. :blue_square: verified I'm on the latest release(note that mobile app releases may take some time). 2. :blue_square: read applicable release notes. 3. :blue_square: reviewed the FAQs for known issues. 4. :blue_square: reviewed Github for known issues. 5. :blue_square: 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.
NoMachine
NoMachineβ€’4w ago
share your env and compose file
JamieB
JamieBβ€’4w ago
If you're using Portainer, you'll need to set UPLOAD_LOCATION and DB_DATA_LOCATION to absolute paths
bicolorebore586
bicolorebore586OPβ€’4w ago
Ok, I have created /Data/immich/uploads and /Data/immich/db, and written those in the env file, however it's now erroring telling me /Data/immich/db doesn't exist
Tempest
Tempestβ€’4w ago
Does that folder actually exist? What are permissions like on it?
Mraedis
Mraedisβ€’4w ago
Did you put Data or data, capitals matter on Linux
bicolorebore586
bicolorebore586OPβ€’4w ago
yes they both exist, but they needed the 'volume1' adding: volume1/Data/immich
Tempest
Tempestβ€’4w ago
ah, this is on synology which unit do you have?
bicolorebore586
bicolorebore586OPβ€’4w ago
DS918+
Tempest
Tempestβ€’4w ago
in theory, as long as you have about 8-12gb of ram free, you can run it with HWA, if that's something that would matter to you
bicolorebore586
bicolorebore586OPβ€’4w ago
HWA? Is that the hardware assist? What benefits does that offer?
Tempest
Tempestβ€’4w ago
facial recognition and smart search are about 8x faster
bicolorebore586
bicolorebore586OPβ€’4w ago
oooh, interesting, I think the facial recognition was excellent, before something went wrong with my previous install and it stopped doing it all together once it's back up and running with the imports I may look into this thanks πŸ™‚ So whilst the install of immich is now in portainer, the original issue is still present. I was hoping that starting from fresh would mean all the photos were uploaded correctly, but I still have photos that are between 1 and 5 years old uploaded in the incorrect timeline, looking at the metadata, it shows incorrect data, but I've no idea where it got these from an example of this is photos taken at Christmas 2023 in March 2024 and April 2024, along with photos from before Covid lockdown in the UK, also in April 2024. I know I shouldn't rely on immich as my only backup, but it was my step away from google photos, it also used to work flawlessly. I'm not sure where to start.
NoMachine
NoMachineβ€’4w ago
try #immich-power-tools if you want to fix dates in bulk
bicolorebore586
bicolorebore586OPβ€’3w ago
I’ve tried for the best part of a day to get power tools to work, but to no avail. It’s in the same stack as Immich server etc. as a side not I also have a magic mirror dashboard and use Immich as the background, but since replying Immich it no longer displays any images 😫😫😫
bicolorebore586
bicolorebore586OPβ€’3w ago
Just for interest, and to vent my frustrations this is just one of the images showing incorrectly in Immich. Left hand photo shows the metadata through metadata view, an app for iOS and right hand side shows the metadata for the same photo in Immich
No description
No description

Did you find this page helpful?