• 0 Posts
  • 26 Comments
Joined 1 year ago
cake
Cake day: July 22nd, 2023

help-circle

  • There’s also the option of setting up a cloudflare tunnel and only exposing immich over that tunnel. The HTTPS certificate is handled by cloudflare and you’d need to use the cloudflare DNS name servers as your domains name servers.

    Note that the means cloudflare will proxy to you and essentially become a man-in-the-middle. You – HTTPS --> cloudflare --http–> homelab-immich. The connection between you and cloudflare could be encrypted as well, but cloudflare remains the man-in-the-middle and can see all data that passes by.









  • It’s looping back to itself? Location header is pointing back to itself.

    Is it possible your backend is sending back an http 301 redirect back to caddy, which forwards it to your browser?

    Possibly some old configuration on your backend from the letsencrypt beforehand? Can you check the logs from your backend and see what they’re sending back?

    I’m assuming the request might replace the host with the IP on your reverse Proxy and that your next cloud backend is replying with a redirect to https://nextcloud.domain.com:443

    Edit: I think this is the most incoherent message I wrote to date.

    I think your reverse Proxy is forwarding the request to your next cloud, but replacing the Host header with the IP you specified as reverse Proxy. As a result the request arrives at your next cloud with the IP as “host”.

    Your next cloud installation is then sending back a 301 redirect to tell the client that they should connect to https://nextcloud.domain.com. this arrives through caddy at your browser, goes through the same loop until you’ve reached the max redirects.

    Have a look at your next cloud backend http logs to see what requests are arriving there and what HOST( http header ) it’s trying to connect to on that IP.





  • IIRC you can also control it with the steering wheel without using the touch display as well.

    If you press the button on the handle to trigger the wipers once. It will also bring up the menu on the screen ( bottom left ). You can then use the right wheel button on your steering wheel by pushing it left or right to move between off and auto with all the different speeds in between ( slower being near off and fast being near automatic ).

    Source: I had a Tesla company car. Some things worked well. Other times the car felt quite cheap for being that expensive ( mainly interior and finishing ). The car paint seemed a lot thinner compared to European cars too. ( Company cars are common where I live, I’m not a rich big ass CEO )

    Alternatively you can use the voice control as well apparently. I’ve only used the voice to initiate calls though


  • The Tesla works just fine without the app on your phone? You get a card that works as a key and don’t need a phone at all.

    I’m assuming opening the car remotely means when you’re not near the car ( e.g.: at the office while that car is at home ). The touchscreen function isn’t nearly as horrible as you make it out to be, while I do agree a physical button is more practical in some cases.

    Hyundai/Kia have also had their fair share of recent car troubles with recalls because they spontaneously catch fire wether you’re driving them or not.

    Having said that I don’t really have an opinion on the brands. I know some people who drive it around and they all seem quite satisfied with the car. I’m sure they’re great cars :)

    The jab @kia was only in jest. There are other brands who want to use subscriptions for things like seat heating, … Which I find a fecking awful evolution ( I’m looking at you bmw ).





  • If you create a new account you should have configured a root email address for it. That one should have received an email to login and set the initial password IIRC.

    You can get an estimate of what it’s going to cost by going to https://calculator.aws

    Upload to AWS shouldn’t really cost much, unless you’re sending a lot of API put requests. Since they are backups I’m going to guess the files are large and will be uploaded as Multi-Part and will probably invoke multiple API calls to do the upload.

    My suggestion would be to upload it to s3 and have it automatically transition to glacier for you using a lifecycle rule.

    Cost explorer would be your best bet to get an idea of what it’ll cost you at the end of the month as it can do a prediction. There is (unfortunately) not a way to see how many API requests you’ve already done IIRC.

    Going by the s3 pricing page, PUT requests are $ 0.005 per 1000 requests( N. Virginia ).

    Going by a docs example

    For this example, assume that you are generating a multipart upload for a 100 GB file. In this case, you would have the following API calls for the entire process. There would be a total of 1002 API calls. 
    

    https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html

    Assuming you’re uploading 10x 100gb according to the upload scheme mentioned above you’d make 10.020 API calls which would cost you 10 * 0.005= 0.05$.

    Then there would be the storage cost on glacier itself and the 1 day storage on s3 before it transitioned to glacier.

    Retrieving the data will also cost you, as well as downloading the retrieved data from s3 back to your device. If we’re talking about a lot of small files you might incur some additional costs of the KMS key you used to encrypt the bucket.

    I typed all this on my phone and it’s not very practical to research like this. I don’t think I’d be able to give you a 100% accurate answer if I was on my pc.

    There’s some hidden costs which aren’t Hidden if you know they exist.

    Note that (imo) AWS is mostly aimed at larger organisations and a lot of things ( like VMs ) are often cheaper elsewhere. It’s the combination or everything AWS does and can do so that makes it worth the while. Once you have your data uploaded to s3 you should be able to see a decent estimate in cost explorer.

    Note that extracting all that data back from s3 to your onprem or anywhere or you decide to leave AWS will cost you a lot more than what it cost you to put it there.

    Hope this helps!


  • Yup yup! I agree wholeheartedly! WordPress is indeed a whole other mess. Never been a big fan of the php CMS systems ( WordPress joomla Drupal).

    I’ve seen the mess that can become firsthand ( though i wasn’t working on the project ).

    Go has peaked my interest as well ( for terraform modules and/or kubrrnetes operators ). I wonder if the owncloud project is working out better ( performance wise ). That aims at a different market segment than NC though. It was written in go though I think.

    It isn’t opensource anymore I think? ( didn’t google - very possible that I’m wrong ).

    Best of luck to your go project ( I’d you decide to kickstart it ). I’d contribute if I could, though you’d probably be better off code-quality wise with somebody with more experience :D.