SOLVED - THANKS EVERYONE

I have been hoping to figure this out by myself and a lot of reading, but so far I’ve either missed the obvious or something is blocking access. While searching, I’ve found a lot of threads and GitHub posts with similar issues, but none seem to apply for me, that I could find.

I have installed proxmox and docker etc. Following a couple of videos, initially I had Debian 12, then Nix and now Ubuntu, I get the same error every time.

I cannot access immich from web browser or my phone app. I can access and setup via localhost:2283

I am completely stumped as to where I should now be looking, would love if anyone could help me.

EDIT:

WOW!!! I wasn’t expecting fast answers nor as many on Lemmy.

🤯

Thanks everyone for replying. Unfortunately I get the same error with or without /API at the end. I know it’s something I’m doing/not doing, but I don’t know what. I was hoping to learn by teaching myself as I went along, but this has me stumped.

NEW EDIT:

Thank you everyone. I am able to access the Immich app now. I was using the incorrect IP address. I was using my ‘public IP address’. As a few mentioned, I used the command ip a in terminal and it gave me my public IP address, but further down another IP address that I hadn’t seen before, and that one worked. beginning with 192.168

Again a huge thanks to everyone, Lemmy here was a great help and I found replies and information a great help. :D I am chuffed to bits, but very tired, and a bit worried about what lays ahead for me with what else I may get stuck on, as that seemed like something I probably should have figured out… But if I didn’t know, I couldn’t…

Immich is now ‘building the timeline’ after succesfully logging in, and I am looking forward to learning more tomorrow and hosting other apps. Also checking out the scripts for proxmox.

Goodnight all :)

  • Goodeye8@piefed.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    2 days ago

    Since you seem to be testing a lot of different things I’m going to throw out a lot of different ideas and maybe something helps. Worst case you have to start rummaging through logs.

    The most basic idea is that if its your home server it should be available on your home network. That means, unless you have some custom configurations, the IP has to be something starting with 192.168. If it’s not starting with that you’re probably way off. Someone assumed your IP starts with a 5 so it’s definitely worth checking out. And a small sidenote, in case you plan on exposing Immich to the web definitely follow their suggestions.

    What else you mentioned was that you had installed Proxmox. If you’re still using Proxmox VE there are helper scripts to make your life easier. There’s a script for Immich that sets up an LXC with Immich services. It works without issues right out the box, but assigning a different upload location takes a bit tinkering. And just as a security advice, always open up the scripts and understand what they do because you should never run scripts you got from the web that you do not 100% understand.

    You also mentioned docker (compose) which the recommended way to set it up according to Immich documentation. The official docker compose doesn’t seem to have anything special in it, so it should start a container on port 2283 on whatever your servers IP is. Also check if the container is running without issues when you start it up. I don’t know what you use to manage containers but a simple “docker ps” in terminal should be enough to check that the container is running and the port is properly mapped.

    I don’t know what you’re running the docker container in as you mentioned different operating systems, but just in case its worth going through ufw (or whatever Firewall your system might be using) to check if there aren’t any rules that are shutting traffic down by default. There shouldn’t be any rules but if you’re stumped it’s one of those things to cross off the list.

    And it’s also worthwhile to check your router, that there aren’t any firewall rules in the router that are blocking LAN traffic for whatever reason. Again shouldn’t be any in the first place, but should be crossed off just in case. And if you’re already checking the router you can also check what IP your the router has assigned to your home server to make sure you’re trying the correct IP (and you might want to consider giving it a static IP if you plan on using IP address to connect).

    And final note, I’m not sure if its relevant or not but maybe try accessing it through a web browser before trying to access through the app? I remember there being some sort of a first time admin setup, but I don’t know if that was also available through the app.

    Maybe something from this list of random suggestions helps you.

    • Babalugats@feddit.ukOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      20 hours ago

      Thanks for that, i’m still reading through your post/going back to it. The scripts look really handy. Should I purchase a decent VPN to use for the server to connect to apps like Immich outside my home network, or is wireguard enough? Sorry, I am brand new to this, and I am going to start a new install of proxmox in the morning but with real login details and setup (not a test one). Thanks again for the above post.

      • Goodeye8@piefed.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 hours ago

        Exposing services to the web is a huge topic with a lot to consider. I could probably write an essay on this topic, but the short answer is that Wireguard is sufficient, however the setup can be pretty complex. If you have a low amount of users you can try Tailscale. It’s built ontop of Wireguard but it is much easier to set up and is free up to 3 users, but you can probably attach more users if you add all their devices under one user, which is probably fine if you trust those people and you’re going to use it only for Immich.

        I would recommend starting with something simple you can understand and then look into alternatives when you get a better understanding of what your actual needs are and where your current solution starts lacking.

        • Babalugats@feddit.ukOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          10 hours ago

          Thanks a million again. I have seen tailscale appear a few times while I was looking aroundi will look into it today.

          I have just one more question (sorry). Tailscale VPN Wire guard

          Which is the best option, paid or otherwise.

          • Goodeye8@piefed.social
            link
            fedilink
            English
            arrow-up
            1
            ·
            9 hours ago

            It’s hard to say what is best. It comes down to what you’re trying to achieve. For example Tailscale and Wireguard are both VPN-s, but the purpose of those two is to set up your own personal VPN so that you could securely access devices and services that are available only in your personal VPN. The difference between Tailscale and Wireguard is basically the monetary cost of having an easy setup vs the complexity of setting it up yourself. Wireguard is an open source protocol and software that allows you to set up your own VPN if you have the technical know-how how to set it up. Tailscale is built ontop of Wireguard so at its core it does what Wireguard does, but it offers easier setup at the cost of asking for money if your network starts expanding beyond the free tier.

            And then there’s “VPN” which are actually VPN service providers. Some of them allow setting up your own personal VPN but more often than not they offer VPN tunneling where you securely connect your device to their VPN server to route your traffic through their servers. The purpose of that is to hide your online activity. For example if your country really cracks down on illegal torrents you pretty much have to torrent through a VPN. And another purpose is to circumvent regional laws or trademarks. For example VPN usage in the UK went up in response to the Online Safety Act because a VPN lets you circumvent those laws. And another example is if a streaming service doesn’t offer a show in your country but offers it in another country and your VPN provider has a server there you can tunnel yourself into that server and you get to see your show because technically you’re in that country.

            Depending on what you’re planning on doing with your home server you might need both kind of “VPN”.

            • Babalugats@feddit.ukOP
              link
              fedilink
              English
              arrow-up
              1
              ·
              9 hours ago

              Thank you very much. I think I will try tailscale first with setup, asv I’ll only be using it and maybe one other person. I will likely be torrenting as I’ve seen some tutorials on what can be done with the correct setup, and most tutorials include a list of apps. I’m hoping to add a few of those.

    • Babalugats@feddit.ukOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days ago

      Thanks, I will definitely be looking at those scripts. When I set up Proxmox VE initially, I have a 192.168.x.x IP address. I’ve tried that too, in immich app. No difference. But when I look up my IP address while using Ubuntu VM it gives me an IP address beginning with 5, which is the one I have been trying to access using immich.