#Immich is showing that its the first time Ive used it

1 messages · Page 1 of 1 (latest)

silk sonnet
#

I have updated my OMV system but now after running my dockers Immich is showing that Im new and the get started screen

delicate solsticeBOT
#

:wave: Hey @silk sonnet,

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

References

Checklist

  1. :ballot_box_with_check: I have verified I'm on the latest release(note that mobile app releases may take some time).
  2. :ballot_box_with_check: I have read applicable release notes.
  3. :ballot_box_with_check: I have reviewed the FAQs for known issues.
  4. :ballot_box_with_check: I have reviewed Github for known issues.
  5. :ballot_box_with_check: I have tried accessing Immich via local ip (without a custom reverse proxy).
  6. :ballot_box_with_check: I have uploaded the relevant logs, docker compose, and .env files, making sure to use code formatting.
  7. :blue_square: I have 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)

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

delicate solsticeBOT
urban crest
#

You've posted no info, how do you expect anyone to help you further?

silk sonnet
#

Whats needed mate

serene vessel
#

☑️

silk sonnet
#

I dont understand

#

so if its a backup i need to reinstall or something else how will I find out

#

So I havent started a new login how will I use a backup to get back to what I had

serene vessel
#

Version, old/new,compose files, any log files...

silk sonnet
barren glade
silk sonnet
#

Thats the file I have in that location

barren glade
#

What was the Immich version you came from?

silk sonnet
#

I was on the latest

#

I updated my OMV and then got that with the immich docker

#

where it thinks Im new

serene vessel
#

I can't really see any errors there, did you check the directory of the compose file for the database @silk sonnet ?

#

And by can't see errors I mean there are hardly any logs 😛

silk sonnet
serene vessel
#

if you leave the env as it is the database is at ./postgres which is the folder where the compose file is

silk sonnet
silk sonnet
#

I have no idea what needs to be done

serene vessel
#

The folder log will contain a log that might be helpful (check the recent file of cours) but the size of the folder will indicate how large the install might be

silk sonnet
silk sonnet
serene vessel
#

it was a typo for "of course"

silk sonnet
#

The recent log was what I sent first

serene vessel
#

anything in those?

silk sonnet
#

the latest has this ```2024-11-28 13:52:40.988 UTC [1] LOG: received fast shutdown request
2024-11-28 13:52:42.026 UTC [1] LOG: aborting any active transactions
2024-11-28 13:52:42.049 UTC [1] LOG: background worker "logical replication launcher" (PID 43) exited with exit code 1
2024-11-28 13:52:42.762 UTC [38] LOG: shutting down
2024-11-28 13:52:44.505 UTC [1] LOG: database system is shut down

serene vessel
#

I presume that's when you shut it down

silk sonnet
#

I wudnt know what Im looking for

#

As everything was working fine before I did my OMV update

serene vessel
#

How are you running these on OMV

#

straight docker or portainer or GUI or ... ?

silk sonnet
#

I have a docker

#

I also have portainer

serene vessel
#

"How are you going to work?"
"I have a car, I have a bicycle"

#

You see how neither of those actually answers the question 👀

silk sonnet
#

Straight from docker via terminal but can also view it on Portainer as I also have that

serene vessel
#

Could you post:
docker inspect immich_server | grep DB_DATA_LOCATION

#

and if that is just ./postgres then docker inspect immich_server | grep working_dir

silk sonnet
#

Just on school run will try as soon as bk in front of computer

silk sonnet
#

Right Im bk got side tracked

#

docker inspect immich_server | grep DB_DATA_LOCATION Ran this in the path where the docker file is and got this

#

"DB_DATA_LOCATION=./postgres",

#

Ran the 2nd command and got this "com.docker.compose.project.working_dir": "/srv/mergerfs/Media/Daniel/new_immich_app",

serene vessel
#

Well that just raises more questions

#

docker ps --all

serene vessel
#

Idk man, it looks like it's all OK but we both know it's not, anything in omv update notes?

silk sonnet
#

nah. Wud it be an idea to stop immich container and pull it again see if I get something

#

Also what wud happen if I filled out the get started stuff will if want to start from the beginning or will I be able to show it the libary thats already there

urban crest
#

What happened is that your DB_DATA_LOCATION got lost/deleted/something like that

urban crest
#

It's either that or restore a database backup at this point

#

But without being able to figure out what went wrong, odds are it'll just happen again at some point

silk sonnet
#

Even tho all my library is there

silk sonnet
urban crest
#

or restoring a backup

silk sonnet
delicate solsticeBOT
#

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.

silk sonnet
#

Where are backups stored

urban crest
#

Ideally, wherever you configured your own backup setup to store them

#

If you neglected to do that, since recent versions there's database backups in UPLOAD_LOCATION/backups

#

But you'll need to make sure to use one from before everything broke

silk sonnet
#

Ok. I’ll read through what u linked above.

#

Will that be in the Immich docker folder or in another location

#

So I just update wen immich say to update so was on the latest version of immich

urban crest
#

And do you read the release notes before updating?

silk sonnet
#

To 1.20.0 or 1.21.0

urban crest
#

Things almost certainly broke because you didn't read the release notes, and are made worse by not taking proper backups

silk sonnet
#

It was working fine had been using it then yesterday updated my OMV OS and got the problem with Immich

urban crest
#

The upside is you might still have the old postgres data. What does docker volume ls output?

silk sonnet
#
DRIVER    VOLUME NAME
local     0bb60015c76324ea5d763c5f9f5ede7975689811d64727f8247b419a42b7f163
local     7b7916d669d9cb768dca545c4fd2cf7f331cacaf0d073d8aacc73ab91f1e539e
local     7fc5f2c663d2d505bc2711c904abd46e951446e94fe205a2f5b64e1b60f0a478
local     22efded6bbb9b299ae2be09a84f6ba9a846f4bc743b8b0fbbd3da632cafd1f92
local     0038e1610c85758ee95df6217a2f4e805e9d0bc4e926fdecd7f4c4a3225df3cf
local     149b34319a5fb173eab82e3c7e6f3698c9ae6408ec4954507c89873b8a9eeba4
local     98038f38c6b211018a619e08282f41c4115540b5f9bb8e7253399b828057068d
local     6343919ee9a4e4fd1ab3b0a1cfe4f06e5a3b325521138b490cbb75cfb381776d
local     PMM_PATH_GOES_HERE
local     ab45de0f7eb2b8abb8f7e064e1a05f5f72212f9fd20ce247ebe0ae8470ca0330
local     c0295e6c674bfdd293cf5a74c3b5117355880156ef653bcbfedddfd6bb54a168
local     e5d839254215aa8b489138894408824303ef2f8bfe9985ed1112308688436d68
local     immich_model-cache
local     portainer_data
local     wireguard_etc_wireguard
local     yacht```
urban crest
#

There was a chance your old postgres data would still be there, but no luck

silk sonnet
#

So what do I need to do now

silk sonnet
#

Start from the beginning and import all my photos again

#

Wud this help

#

or is that just Photo lib bkups

weary dove
#

Those are your DB backups

silk sonnet
#

which I was looking for - will they work

#

Will one of these work to restore my stuff?

weary dove
#

Yes. You will want to restore the latest one.

warm oxide
#

It doesn’t seem that your stuff needs restoring because the backups as of this morning are still full size lol

#

Your setup seems fundamentally broken

silk sonnet
#

Like I said it worked fine until a OMV OS update then Immich restarted with the get started screen but wen I checked folders on the system everything was there

#

Do I start again and then add all the data in the lib folders or is there a way to restore this from that bkup

silk sonnet
#

So now I’ve found where the DB backups can I restore my Immich setup? Also will all of this affect the mobile app?

silk sonnet
#

Can someone help me with what I need to do or is there no more advise or help to be given?

delicate solsticeBOT
warm oxide
#

You can try a new install and restore the DB backup using our instructions

#

Otherwise i think we are at the limit of what can be helped with

silk sonnet
silk sonnet