🌿 Vegan 🌿

🏳️‍⚧️ She/Her 🏳️‍⚧️

credits:

  • 5 Posts
  • 21 Comments
Joined 1 year ago
cake
Cake day: June 25th, 2023

help-circle
  • I’m using the Immich app from TrueNAS, how do I properly update it? Or is it being taken care off by TrueNAS?

    Edit: I asked on the TrueNAS discord for help and someone who already updated their Immich figured out how to fix the installation afterwards. I copy&paste the guide here:

    This guide assumes that Heavyscript is installed and pgAdmin.
    https://github.com/Heavybullets8/heavy_script
    https://truecharts.org/charts/stable/pgadmin/

    • Upgrade Immich to v.1.95.1.

    • If Immich fails to deploy check the logs heavyscript pod --logs immich. If the logs complain that indexes need to be deleted continue with this guide.

    • Access the shell for the postgres pod heavyscript pod -s immich.

    • Select the postgres pod.

    • Inside the pod run env and record the password. Then type exit to exit the pod.

    • Get the DNS address and port for Immich postgres pod. heavyscript dns -a

    • Launch pgAdmin and right-click on Servers select Register > Server.

    • In the Connection tab put the hostname and port from step 6. The username is immich and use the password from step 3.

    • Once connected create a backup by expanding Servers > Immich > Databases and right-click on immich then select Backup.... Follow the prompts to create a backup.

    • Right-click on immich and select Query Tool.

    • Use the following query to delete your indexes.

        FROM pg_index X JOIN
             pg_class I ON I.oid = X.indexrelid JOIN
             pg_am A ON A.oid = I.relam
        WHERE A.amname = 'vectors';
    
    • Stop Immich with heavyscript heavyscript app --stop immich.

    • Once all pods have scaled down start Immich heavyscript app --start immich.

    The SQL query will complain about a syntax error but it will work regardless. It just takes some time to redeploy immich.

    Credit goes to @verbalsiegeengine on Discord






  • I think I had the same problem not so long ago. Every proxy host was working except NPM itself. My problem was that I just entered the wrong IP for the proxy host. I had to enter localhost or 127.0.0.1 to get it to work and everything else was like the tutorial you linked (I followed the same one)

    Since you want NPM to proxy to itself but using the SSL certificate and the domain you set in the proxy host.





  • I don’t quite follow? The domain resolves to IP address I want it to resolve. My TrueNAS server has the IP 192.168.178.167 and on it I have NPM installed as an app. The admin page of NPM is accessible via the same IP on port 10582. Syncthing is also installed and accessible via the same IP address and port 8384. I have both of them configured in NPM so that theoretically subdomain.mydomain.com should resolve correctly and that I can access their respective admin pages. For Syncthing and any other app this is working except for the admin page of NPM itself. I’m trying to figure out why that is.