I
Immich•5mo ago
avdo060606

Container already running with the name

I have accidentally deleted my docker-compose.yml file. After I ran the docker run --rm -v /var/run/ docker. sock:/var/run/docker. sock ghcr.io/red5d/docker-autocompose f0733fbe8735 I have managed to pull the yml file from the container. I saved it again in the immich-app location, tried to restart the container, but I get Network immich_default default 0.1s Container immich_server Creating Error response from daemon: Conflict. The container name "/immich_server" is already in use by container "f0733fbe87359162657d561 deb39876e0 95329682 cce7578dab41 a201 0a1795e" . You have to remove (or rename) that container to be able to reuse that name How is this a conflict and can I force the container to use the yml file? Also, in the yml file that I have retrieved from the container there are no user email, password and stuff but I see that the upload location is correct
20 Replies
Immich
Immich•5mo ago
:wave: Hey @avdo060606, 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. :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. :ballot_box_with_check: uploaded the relevant information (see below). 7. :ballot_box_with_check: 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.
Questionario
Questionario•5mo ago
Oh, no information the bot asked for filled out yet. Ok, maybe I will check back later once you have provided the requested info. in the meantime, you can simply stop and remove that container, that happens if you dont down containers before deleting/moving yml files
avdo060606
avdo060606OP•5mo ago
No description
avdo060606
avdo060606OP•5mo ago
It's creating the container from scratch. How can I access the old one where my files are stored?
avdo060606
avdo060606OP•5mo ago
avdo060606
avdo060606OP•5mo ago
Won't I lose all my photos this way?
CrushedAsian255
CrushedAsian255•5mo ago
Are you images store within Immich container? They should be bind mounted to the host FS
Questionario
Questionario•5mo ago
First of all, please take some effort into providing the info that is asked for... incomplete files are worse than none at all sometimes! Check the things you post and think Second, exactly which (incorrect) guide did you follow? It is best to follow the official instructions and if you have any doubts with the OFFICIAL instructions from immich, come and clear any doubts here gotta go now, bye
avdo060606
avdo060606OP•5mo ago
Which info is missing? Please specify so I can send it.I have sent the logs, docker-compose, .env. My container is running, but it's unreachable from the browser/app. I retrieved the .yml from the running container with autocompose, this .yml however doesn't have my email or my password info in it.
Questionario
Questionario•5mo ago
did you read what I wrote? did you check what you posted after I told you it is incomplete? Also, you did not answer my question! You have to put some effort into it yourself! I don't have much time this weekend but maybe if you try to think what we might need to help you and you provide this, give some explanations around it and answer questions... then maybe someone might be able to help out PS: https://immich.app/docs/install/docker-compose/
Alex Tran
Alex Tran•5mo ago
Can you run docker ps?
Daniel
Daniel•5mo ago
Getting the complete files is more important I think. The part that got sent looks kinda odd, so wondering how the rest looks like
CrushedAsian255
CrushedAsian255•5mo ago
I think they copied output from Nano
Daniel
Daniel•5mo ago
Yes I noticed 😅
CrushedAsian255
CrushedAsian255•5mo ago
Maybe their distro doesn’t come with cat /j
Daniel
Daniel•5mo ago
Something something dd if=file of=/some/tty/stuff/surely :P

Did you find this page helpful?