I
Immichβ€’5d ago
MsTek

Immich-SERVER keeps stopping

Hi... my server just stopped working and when I restart it, it just keeps stoping again. 😦 Any help would be apprecated. I can post whatever you need. New to docker/portianer/linuxx. Thanks!
44 Replies
Immich
Immichβ€’5d ago
:wave: Hey @MsTek, 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. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy). 6. :blue_square: 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.
Tempest
Tempestβ€’5d ago
We need everything the bot asked for
MsTek
MsTekOPβ€’4d ago
MsTek
MsTekOPβ€’4d ago
No description
MsTek
MsTekOPβ€’4d ago
Daniel
Danielβ€’4d ago
The permissions of your database folder are broken or your database is corrupt
MsTek
MsTekOPβ€’4d ago
I am not a linux person and am very new to this What do I do? Uninstall the stack completely?
Daniel
Danielβ€’4d ago
Has this suddenly stopped working or is this a fresh install?
MsTek
MsTekOPβ€’4d ago
Suddenly
Zeus
Zeusβ€’4d ago
What operating system are you on and where is the database stored? What folder and disk
MsTek
MsTekOPβ€’4d ago
its on a snyology NAS
Zeus
Zeusβ€’4d ago
And the docker is running on the NAS?
MsTek
MsTekOPβ€’4d ago
Yes. moment I will pull the folder structure
Zeus
Zeusβ€’4d ago
Possibly the NAS has some file permission fixer / mover that is breaking the Postgres permissions. We see this at times
MsTek
MsTekOPβ€’4d ago
No description
Daniel
Danielβ€’4d ago
It's the marius hosting tutorial :monakS:
MsTek
MsTekOPβ€’4d ago
yes. lol is it fixable? I assume that the photos are still fine ?
Zeus
Zeusβ€’4d ago
The photos should be there but presumably you have backups right? Marius had a bad reputation here because he does a lot of stuff wrong/strange. so we really don’t usually know how to help
MsTek
MsTekOPβ€’4d ago
not yet. I just moved everything
Zeus
Zeusβ€’4d ago
Uh, well first priority before fixing immich should be backing up the origjnals
MsTek
MsTekOPβ€’4d ago
I don't mind starting over agreed
Zeus
Zeusβ€’4d ago
Ok, so you have other copies?
MsTek
MsTekOPβ€’4d ago
if i can find the photos, I can put them somewhere for now no, I just imported from folders.
Zeus
Zeusβ€’4d ago
The photos are in upload/upload and upload/library
MsTek
MsTekOPβ€’4d ago
let me see what happend
Zeus
Zeusβ€’4d ago
Right but … do you have those original folders lol
MsTek
MsTekOPβ€’4d ago
I'm going to look I may have deleted them to save space. let me look It looks like it
Immich
Immichβ€’4d ago
So when people say "x is not a backup tool" what they are actually saying is "you probably don't actually want a single point in time copy of your data", which is what that tool is doing. And that "backup tools" exist today that: - can run on a schedule - only copy new/changed data (incremental) keep track of changes over time in the backup, with the option to restore to a previous version This gives you the ability to recover a file that was deleted some time ago, restore to a point prior to data corruption, etc., all while being space efficient (similar blocks are deduplicated) Popular backup tools are restic and borg. https://immich.app/docs/administration/backup-and-restore
Zeus
Zeusβ€’4d ago
You should setup backups of your precious memories before you try anything else
MsTek
MsTekOPβ€’4d ago
backup to another server? 😦 I only have one synology at the moment (poor)
Zeus
Zeusβ€’4d ago
What would you do if your house floods..?
MsTek
MsTekOPβ€’4d ago
be homeless. not in a good position at the moment.
Zeus
Zeusβ€’4d ago
I’m sorry. the concern here is working on the immich install can lead to more risk of losing your photos If this is the ONLY copy you have it is dangerous to work on it in any way
MsTek
MsTekOPβ€’4d ago
I can see if I have an external HD that is big enough to hold them all
Zeus
Zeusβ€’4d ago
That would be a good idea
Daniel
Danielβ€’4d ago
I just want to throw the disclaimer in here that gphotos is usually cheaper. You won't save money with self hosting Immich
Zeus
Zeusβ€’4d ago
You can also check in the upload/backups folder, do you have any files in that folder? That would be database backups, not the photos
MsTek
MsTekOPβ€’4d ago
this isn't about saving money. πŸ˜‰ I want off google and big corporate. I want privacy
Daniel
Danielβ€’4d ago
That's fair :)
MsTek
MsTekOPβ€’3d ago
I am the only one who will see the photos. I don't have any friends who care. its just for me. so let me keep this thread open and hunt around for some old HDs I will return once I have put the photos on the external HD I will do this as well. Thank you for not being mean to me. Still working on this. I had to order a cable I didn't have for the external HDs This is a good time for me to ask a question and get ahead of something since I have a moment to still organize since I assume we're going to blow away the previous install. I do have some logic the the folders that have my photos. When I reimport, does it make sense to reimport as a library link or whatever so I can keep some of the structure as albums when I redo this?
Tempest
Tempestβ€’3d ago
that's upto you. I did that initially but eventually ended up uploading everything to immich so it was all on the internal storage. This way the storage template applies to all of my media and I don't have artifacts here and there
MsTek
MsTekOPβ€’3d ago
then you made albums later or you just uploaded all your photos in one lump? i.e. they are organized currently into folders that I made... vacations, 2017, etc. but you're saying just dump em all in?
Tempest
Tempestβ€’3d ago
there are tools that can upload a folder as an album, I'm not sure if the immich-cli supports this off the top of my head, I do know that immich-go does, and there are also various github scripts that will accomplish similar
MsTek
MsTekOPβ€’14h ago
Okay, I thnk I have all my photos now. What do I need to copy from the current immich mess so I can reinstall and do it correctly? (and make sure I didn't lose anything.... I'm fine with reimproting everything and stuff) beep beep! πŸ™‚

Did you find this page helpful?