I
Immich•5mo ago
Jason

Immich Apache

Hello everyone, I hope that someone here can help me, I've been trying for hours to make myself reachable via apache2 via a reserve proksy, which is now finally working, but now I have the error message: Error: 404 () Stacktrace Error: Error: 404 at Object.it [as ok] (https://illg.me/_app/immutable/chunks/fetch-client.DUPjmxtR.js:1:7428) at async Promise.all (index 0) at async f (https://illg.me/_app/immutable/chunks/server-config.store.BzGKcRFK.js:1:530) at async o (https://illg.me/_app/immutable/chunks/server.D8H948S5.js:1:189) at async ra (https://illg.me/_app/immutable/nodes/0.BxxAOE7V.js:1:2489) at async Ue (https://illg.me/_app/immutable/chunks/entry.DTR95pgu.js:1:15801) at async fe (https://illg.me/_app/immutable/chunks/entry.DTR95pgu.js:1:19444) at async ht (https://illg.me/_app/immutable/chunks/entry.DTR95pgu.js:1:22115) at async J (https://illg.me/_app/immutable/chunks/entry.DTR95pgu.js:1:20568) However, if I enter the IP everything works, but I also wanted to make it accessible from outside
54 Replies
Immich
Immich•5mo ago
:wave: Hey @Jason, 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. :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.
Tempest
Tempest•5mo ago
Are you using a subdirectory or is it installed at domain root?
Daniel
Daniel•5mo ago
Ideally just post all the information the bot asked for
Jason
JasonOP•5mo ago
I installed it in the home directory .env 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=./Bilder 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=Europe/Berlin 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=xxxx The values below this line do not need to be changed ################################################################################### DB_USERNAME=xxxx DB_DATABASE_NAME=immich
Jason
JasonOP•5mo ago
Jason
JasonOP•5mo ago
system: Linux mint 21.3 apatche conf: SSLProxyEngine On ProxyPreserveHost On ProxyRequests off ProxyPass /immich http://localhost:2283/ ProxyPassReverse /immich http://localhost:2283/
Daniel
Daniel•5mo ago
What tempest says is your issue. You cannot run Immich on a subpath
Jason
JasonOP•5mo ago
Now that means exactly what? how and where do I install it correctly? because when I call up my IP with the port it only works via my domain
Daniel
Daniel•5mo ago
You're trying to reach Immich at mydomain.de/immich, correct?
Jason
JasonOP•5mo ago
Daniel
Daniel•5mo ago
Well yes, same thing Immich doesn't support that Immich must be on its own domain, e.g. https://immich.illg.me
Jason
JasonOP•5mo ago
ah ok then I'll probably have to create one for that. How do I enter this into Apache?
Daniel
Daniel•5mo ago
Idk apache, sorry
Jason
JasonOP•5mo ago
No problem then I'll take a look, but that's how I've moved on Does anyone else have an idea or template?
Tempest
Tempest•5mo ago
For what exactly?
Jason
JasonOP•4mo ago
Hi guys, I solved the problem like this:
Jason
JasonOP•4mo ago
Jason
JasonOP•4mo ago
I have 2 or 3 questions, should they be re-created or ask questions here?
Tempest
Tempest•4mo ago
Either is fine
Jason
JasonOP•4mo ago
Hello people, The first question is, my wife is currently using it and she seems to be creating albums automatically. Is that right? Because it hasn't been done with me yet. - 2nd question, I still have several albums that I want to upload, but I don't get a connection via npm, but npm is installed with me alone because of sass. I also read that there is always go, but with yours the question is whether I will upload the album, so can it automatically share with one who is registered? - 3rd question how exactly does this work with the updates, I read that you can do this with docker pull but have to delete the old ones manually?
bo0tzz
bo0tzz•4mo ago
1. That's a setting in the app 2. I don't entirely get the question 3. https://immich.app/docs/install/docker-compose#upgrading
Mraedis
Mraedis•4mo ago
What do you mean sass? Is NPM running as a docker container on the same host as immich? If yes then that will require extra tweaking.
Jason
JasonOP•4mo ago
Ok, then I'd have to see what it's about 2. Well, almost over 100 albums want to upload over the cli or immch go, but don't feel like having to unlock it manually if that's how it works
Daniel
Daniel•4mo ago
"unlock" what?
Jason
JasonOP•4mo ago
Npm leuft as a compiler directly on the server has a dock connection, so it probably doesn't. Then I guess I should test the other one. docker run -it -v "$(pwd)":/import:ro -e IMMICH_INSTANCE_URL=https://your-immich-instance/api -e IMMICH_API_KEY=your-api-key ghcr.io/immich-app/immich-cli:latest When I upload an album, I want it to be released, because otherwise I would have to give it to her manually for 100 albums. Which is quite tedious
Daniel
Daniel•4mo ago
You want to have a way to automatically upload&share albums?
Jason
JasonOP•4mo ago
Can you tell me where I can find the settings for it? Yes
bo0tzz
bo0tzz•4mo ago
In the backup panel
Daniel
Daniel•4mo ago
The Immich cli doesn't support that, not sure about immich-go
Jason
JasonOP•4mo ago
Ok, I'll take a look at it, but I'm sure I've adjusted everything like I did Ok, I'll deal with it again tomorrow and then report it when it's ok. I've looked again in the app and in the web browser but haven't found anything that could cause it.
bo0tzz
bo0tzz•4mo ago
No description
bo0tzz
bo0tzz•4mo ago
That sync albums option
Jason
JasonOP•4mo ago
Oh, that. With her, however, some albums are always created under albums, which are always called camera and then me 2 pictures or 3 and so Immich-go probably not like I thought, if I read this correctly, he then only imports albums from Google Photos that you have shared. For me Must then release each album for my wife 😂
Mraedis
Mraedis•4mo ago
You could look into scripting it maybe? 🤔
Jason
JasonOP•4mo ago
So I can't create something like that, I've only gone to the immich-go page now: https://github.com/simulot/immich-go where this only for google photos probably gives. What if I add the folder as an external library? Can I then release the folders accordingly? Or create albums from it?
Mraedis
Mraedis•4mo ago
But it still will be manual work?
Jason
JasonOP•4mo ago
Yes, but if there is no other way, I have to do it gradually. https://github.com/Salvoxia/immich-folder-album-creator Here could be the solution I was looking for, it should be possible, but one thing I still wonder, what does it look like when pictures are double? Whether he added the picture or he leaves it out. So I have now built an environment on a 2nd server to test this. However, I get an error message that I don't understand. I have created a test folder and everything but it finds nothing.
Jason
JasonOP•4mo ago
No description
bo0tzz
bo0tzz•4mo ago
I don't think anyone here is familiar with that tool, you're better off asking the creator
Jason
JasonOP•4mo ago
Ok I'll try, shall I put the result here?
Mraedis
Mraedis•4mo ago
Sure 🙂
Jason
JasonOP•4mo ago
If you list the beginning and follow it at the end quite simply 😂. So: 1. Add folders to me as a volume. 2. Add folders via External Library via the Admin Panel 3. Switch to the folder via cd and run the script. What looked like this in my example: python3 ./immich_auto_album.py --share-with "<<email address user>" --share-role "editor" /root/ImportImmich <<ip or domain>/api <<api key>> 4. Let go and check and press enter Now I have a new problem after which I added the External Library and moved some pictures. Now he always indicates a mistake, i.e. error when loading the picture. I've read the library and everything but somehow it doesn't work anymore. Do you have an idea?
Daniel
Daniel•4mo ago
Did you move images from the internal (default) upload library to the external library? If so, that won't work The asset will be a "new" one for Immich in that case
Jason
JasonOP•4mo ago
No, I moved everything in the internal external folder and deleted a few folders but everything inside in the external folder
Daniel
Daniel•4mo ago
Sorry but I don't understand that message
Jason
JasonOP•4mo ago
I just moved and changed everything in the external folder, but now it seems like I was watching.
Mraedis
Mraedis•4mo ago
That doesn't make a lot of sense either... 👀
Daniel
Daniel•4mo ago
What's your native language?
Jason
JasonOP•4mo ago
German and I always translate everything
Daniel
Daniel•4mo ago
Oh German is perfect though. Could you ask your question again in German then? Maybe that makes it clearer (without a translator mangling it completely) Also, how comfortable are you with reading english? Do you need to translate text from others, too?
Jason
JasonOP•4mo ago
Well read minimally, since I read many instructions in English I understand very little. Nevertheless, Ich habe alles im selben Ordner gemacht den ich über die env conf definiert habe. Ich habe alles in den ein oder geändert da er er lokal da ist und ich rechte habe darauf
Daniel
Daniel•4mo ago
I'll reply in English for now, if you don't understand something let me know and I can switch to German. When you say that you have everything in one folder and that you changed files within that, are you referring to an external library, or the default library (UPLOAD_LOCATION) where e.g. uploads from your phone will end up in?
Jason
JasonOP•4mo ago
In den Fall nur auf die Externe Bibliothek. Der ein Ordner ist auf dem server. Wo ich mal angefangen habe Galerien als Ordner Struktur zu erstellen. Jedoch wahren die Bilder Teiles doppelt was ich minimieren wollte In this case, only to the External Library. One folder is on the server. Where I started to create galleries as a folder structure. However, the pictures do twice what I wanted to minimize

Did you find this page helpful?