I
Immich4mo ago
r4t

error code 500

help i get this error code when i try to open immich on the web in my house and when i open the app on my phone it loads forever saying bulding timeline (i got it arfter trying to update immich to the latest and was working fine before) i dont have anything on there that i dont have anywere else so if its easy could someone tell me how to remove immich and start from scrach below is the error i see on the website Error: 500 () Stacktrace Error: Error: 500 at Object.ht [as ok] (http://192.168.88.13:2283/_app/immutable/chunks/fetch-client.DqMPutSq.js:1:7918) at async Promise.all (index 0) at async n (http://192.168.88.13:2283/_app/immutable/chunks/server-config.store.XMfZ6l4i.js:1:530) at async o (http://192.168.88.13:2283/_app/immutable/chunks/server.B4tEetpj.js:1:224) here is my .env file You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables The location where your uploaded files are stored UPLOAD_LOCATION=/root/immich/data/ The location where your database files are stored DB_DATA_LOCATION=./postgres To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List TZ=Etc/UTC The Immich version to use. You can pin this to a specific version like "v1.71.0" IMMICH_VERSION=release Connection secret for postgres. You should change it to a random password Please use only the characters A-Za-z0-9, without special characters or spaces DB_PASSWORD=postgres The values below this line do not need to be changed ################################################################################### DB_USERNAME=postgres DB_DATABASE_NAME=immich and for some resion my docker-compose.yml is empty
10 Replies
Immich
Immich4mo ago
:wave: Hey @r4t, 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
Immich
Immich4mo ago
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.
GitHub
immich-app immich · Discussions
Explore the GitHub Discussions forum for immich-app immich. Discuss code, ask questions & collaborate with the developer community.
GitHub
Issues · immich-app/immich
High performance self-hosted photo and video management solution. - Issues · immich-app/immich
Immich
Immich4mo ago
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
r4t
r4tOP4mo ago
dont worry i fixed it
dem0ngo
dem0ngo4mo ago
What was the solution? I'm having a similar issue Nvmd I had forgotten to update the name of the container in the api block of my nginx proxy.conf
r4t
r4tOP4mo ago
my problem was that i didint have anything in the docker-compose.yml so i just deleated immich and made it from scrach by running these commands in a folder i named immich (if you follow what i did put it in a place where you know because thats where itll be stored. i put mine in home) firstly make your folder mkdir ./immich then get the docker compose yml (what docker uses to make immich work) wget -O docker-compose.yml https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml get .env file. all your settings (i leave everything as is exept for the password where i button mash) wget -O .env https://github.com/immich-app/immich/releases/latest/download/example.env (the env file might just be called .env or example.env (doesint matter but if its example env you need to rename it to .env)) heres the insides of the .env if it doeseint come with them ( # You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables # The location where your uploaded files are stored UPLOAD_LOCATION=./library # The location where your database files are stored DB_DATA_LOCATION=./postgres # To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List # TZ=Etc/UTC # The Immich version to use. You can pin this to a specific version like "v1.71.0" IMMICH_VERSION=release # Connection secret for postgres. You should change it to a random password # Please use only the characters A-Za-z0-9, without special characters or spaces DB_PASSWORD=postgres # The values below this line do not need to be changed ################################################################################### DB_USERNAME=postgres DB_DATABASE_NAME=immich ) (btw if you copy the file the \ before the # is just so discord dosent do strange formating. just git rid of the )
Mraedis
Mraedis4mo ago
Did you accidentally delete the compose file then?
r4t
r4tOP4mo ago
nah it was there, never deleated it just was empty fixed now anyway to make docker work run this arfter all of that docker compose up -d
Mraedis
Mraedis4mo ago
Weird. Immich can't touch that file (unless you mounted it somehow) so you must've accidentally deleted/overwritten it
r4t
r4tOP4mo ago
nope it just kinda did that

Did you find this page helpful?