#Fresh install immich with docker on Windows

1 messages · Page 1 of 1 (latest)

minor ether
#

Hello I was trying to make a fresh install but problems… after clicking restore from backup

snow solsticeBOT
#

: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 immich.

References

#

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.

minor ether
naive flint
#

If you don’t use localhost but the actual IP of the server/machine how does it work?

minor ether
#

I’m going to try and I let you know just putting bed my children 🙂

minor ether
#

now is in maintanace mode... but i didn't do anything

naive flint
#

can you try on Chrome instead of edge?

#

when you press restore from backup, it will endter the maintenance mode

minor ether
#

yes I've tried on chrome

#

yes right

#

I'm sending you logs

#

of immich-server web

naive flint
#

Can you tell me what are you planning to do?

minor ether
#

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

naive flint
#

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?

minor ether
#

container deleted

naive flint
#

you also need to remove the database location for a clean installation

minor ether
#

postgress and library removed

#

*folders

#

cleaned immich_model-cache in volumes docker

#

launcihng docker compose up -d

naive flint
#

should can run docker compose up without -d to monitor the logs

minor ether
#

with env file and docker file from official immich dock

#

ok

#

here's the log

#

chrome says err_connection_timed_out if i try the ip of immich_server

naive flint
#

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

minor ether
#

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

vivid jacinth
#

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

minor ether
#

but can i still try using localhost?

#

and than kyou for your reply...

minor ether
#

this is now, no clicked yet

minor ether
#

before i click restore

vivid jacinth
#

The immich_server logs should spit out a URL when the maintenance stuff starts up

minor ether
#

and maybe it was the my.immich.app....

#

it start like this?

vivid jacinth
#

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

minor ether
#

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

vivid jacinth
minor ether
vivid jacinth
#

yes that's correct

minor ether
#

like this?

#

can save?

vivid jacinth
#

yep should be good

minor ether
#

saved

#

in loop with maintanace mode

vivid jacinth
#

what do you mean by in loop?

minor ether
#

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

vivid jacinth
#

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

minor ether
#

yes!

#

clicking again that link

naive flint
#

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

minor ether
#

yes but i don't why it doesn't appear sometimes like the first time

naive flint
minor ether
#

and if you try yo go on?

#

and clicking next? this is what i've done

#

before...

naive flint
#

?

minor ether
#

did you clicked ?

naive flint
#

yes

minor ether
#

ok now if you reload the page?

naive flint
minor ether
#

mmm other tab?

naive flint
#

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

minor ether
#

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

minor ether
#

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

naive flint
#

okay, let's we take a look at this

#

obviously the behavior is inconsistent so there seems to be something going on

minor ether
#

uff can't upload the video 1.2 min too big

#

so for now i can go on testing a backup process. But for other people can be frustrating

naive flint
#

Yeah, this seems to be not a widespread issue but something odds with the networking I believe. We will look into it though

minor ether
#

Gratefull to be helpfull for the community

naive flint
#

Thanks for reporting!