#Fresh install immich with docker on Windows
1 messages · Page 1 of 1 (latest)
:wave: Hey @minor ether,
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
.
References
- Container Logs:
docker compose logsdocs - Container Status:
docker ps -adocs - 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...
- :blue_square: verified I'm on the latest release(note that mobile app releases may take some time).
- :blue_square: read applicable release notes.
- :blue_square: reviewed the FAQs for known issues.
- :blue_square: reviewed Github for known issues.
- :blue_square: tried accessing Immich via local ip (without a custom reverse proxy).
- :blue_square: uploaded the relevant information (see below).
- :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 -landdf -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.
If you don’t use localhost but the actual IP of the server/machine how does it work?
I’m going to try and I let you know just putting bed my children 🙂
same thing with ip of docker
now is in maintanace mode... but i didn't do anything
can you try on Chrome instead of edge?
when you press restore from backup, it will endter the maintenance mode
yes I've tried on chrome
yes right
I'm sending you logs
of immich-server web
Can you tell me what are you planning to do?
I was trying to do a test, installing a fresh new immich in another machine to simulate a recovery
(currently I have another server at home running immich working 100%) so I was trying to test a recovery in general
got it
can you try a clean instance, then using Chrome, local IP instead of localhost and click on the restore from backup button, see how it does?
ok I've done this I mean clean instance but always with localhost... I'm trying now with local ip
container deleted
you also need to remove the database location for a clean installation
postgress and library removed
*folders
cleaned immich_model-cache in volumes docker
launcihng docker compose up -d
should can run docker compose up without -d to monitor the logs
with env file and docker file from official immich dock
ok
here's the log
docker compose up
chrome says err_connection_timed_out if i try the ip of immich_server
interesting
@vivid jacinth when you have a chance can you see if you can reproduce this?
if not then I will say it's Windows shenanigan
only few time I was able to go to the next step but suddenly it goes in maintance mode and i can't do anything...
I don't create an account, just go though recovery that's it
Just to quickly explain, Immich is put into maintenance mode for the restore but it should log you in automatically as the maintenance user
When you press the restore button from the main page, it should also print a maintenance login URL in those Docker logs which you can continue from (after it loads the maintenance page)
I'm not actually seeing the URL in your logs but I also don't see the maintenance stuff starting up either so I can only assume this is just the former part and we're missing a part of the logs?
I will try to reproduce when I get the chance and see what is causing this
Which logs should I keep an eye on?
before i click restore
The immich_server logs should spit out a URL when the maintenance stuff starts up
yeah so if you try selecting the restore backup option again
it should spit out a my.immich.app link which you can go to
it'll ask you to put an immich URL in if you haven't used it before, which right now for you is http://localhost:2283
ok i've visit the url but it didn't save anything
trying right now
right after clicking restore
giving you the full logs after clicking
okay, I guess try going to http://localhost:2283/maintenance?token=eyJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6ImltbWljaC1hZG1pbiIsImlhdCI6MTc3MTYyNjY2NSwiZXhwIjoxNzcxNjQxMDY1fQ.ex_1k3adg0ezPlTBocP4_7ewjUbDspPAKSXWGIHns2s
does it show a different interface, rather than just saying it's in maintenance mode like earlier?
yes that's correct
yep should be good
what do you mean by in loop?
that i'm no able to do anything
stuck in maintanace mode
I mean... After a fresh install of immich, and after clicking restore backup i'm stuck
oh my mistake
I didn't realise the My Immich page doesn't immediately take you to where the link goes after clicking save
Try using the link again, or refreshing that My Immich page
FWIW I can't reproduce that the page isn't refreshed (from what it looks from your case)
but now if you see this page then it's good to proceed
yes but i don't why it doesn't appear sometimes like the first time
?
did you clicked ?
ok now if you reload the page?
mmm other tab?
other tab will lead you to the maintenance mode message, which is expected
since the token is saved for this tab so you can continue
ok got it
error again 🙁
i've cancel the operation
then it let me decide to restore or not, if i refresh again this screen
this one
ok got it"
i can reproduce the problem
@naive flint I think i got it...
You've talked about token
every time it goes in maintance mode it generate another token
okay, let's we take a look at this
obviously the behavior is inconsistent so there seems to be something going on
uff can't upload the video 1.2 min too big
reduced
so for now i can go on testing a backup process. But for other people can be frustrating
Yeah, this seems to be not a widespread issue but something odds with the networking I believe. We will look into it though
Gratefull to be helpfull for the community
Thanks for reporting!