54
submitted 4 months ago by Mir@programming.dev to c/selfhosted@lemmy.world

I'm new to selfhosting and I find myself rarely using the server, only when I need to retrieve a document or something.

I was thinking of implementing something to make it power on, on demand, but I'm not sure if this might be harmful for the HDDs, and I'm not sure how to implment it if so.

What's your recommendation to do so? I'm running a dell optiplex 3050

[-] Mir@programming.dev 19 points 4 months ago* (last edited 4 months ago)

When children are busy hiding and taking shelter instead of learning, isn't that a destruction of education? You're correct though, they haven't destroyed just the education, they have destroyed everything there.

69
submitted 6 months ago by Mir@programming.dev to c/selfhosted@lemmy.world

I would like to have a central Calendar that I could sync everything to it, from my email calendars and my to do list, is there something like that selfhosted or not, that is FOSS?

32
submitted 6 months ago* (last edited 6 months ago) by Mir@programming.dev to c/selfhosted@lemmy.world

I would like new images to be uploaded to Immich from my phone and deleted after 30 days automatically, so I was thinking about this flow:

  1. I will Sync files to the server using Syncthing

  2. I will Copy files from the Synced folder to an Immich Consume folder, (not sure how to copy only new files (maybe use created date)). Then delete images that are older than 30 days which will remove them from my phone.

  3. I will upload to Immich using Immich CLI (?) which will use the delete after upload flag.

Basically:  

(1)

Camera, Screenshots, etc =Syncthing=> SyncthingImageConsume/{Folder}

(2)

{Script on SyncthingImageConsume}

SyncthingImageConsume/{Folder} =CopyNewFiles=> ImmichConsume/{Folder}

Then delete older than 30 days.

(3)

{Script on ImmichConsume}

Upload to immich and then delete

 

would this work? and is there a better way to do it? any tips?

19
submitted 6 months ago* (last edited 6 months ago) by Mir@programming.dev to c/selfhosted@lemmy.world

Edit: Solution is in Nginx I disabled these: Cache Assets, Block Common Exploits, Websockets Support.

I can login using the local IP 192.168.1.2:9101, but when I route that with Nginx, It won't.

I have the GUI listen address as : 0.0.0.0:9101

I've been googling for hours but I can't find anything, In browser console it says

Failed to load resource: the server responded with a status of 403 ()
syncthing.my.domain.com/:1  Refused to execute script from 'https://syncthing.my.domain.com/meta.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
[-] Mir@programming.dev 6 points 6 months ago

I used chatgpt to create the exact steps, commands and configurations I needed for my setup and achieved this the seemingly cheatful way. I used nginx and certbot. Worked like a charm. Congrats!

It's impressive that you was able to get it to help you correctly. It usually just spew things i need to fix that's why I didn't ask him, thank you for the tip.

Btw did you use a custom local domain name or did you use an actual domain ?

[-] Mir@programming.dev 12 points 6 months ago* (last edited 6 months ago)

Thank you for the* so much wanted advice, it's one of the reasons I actually posted this, to get advices on how to do things better.

I've been trying to do that for a specific service running (firefly) but I can't figure out what to do exactly, about the domain name, Is there a way to do that without one?

285
submitted 6 months ago* (last edited 6 months ago) by Mir@programming.dev to c/selfhosted@lemmy.world

I spent all day today trying to get the routing to work correctly between Tailscale, Nginx and Adguard.

Basically I wanted to be able to be able to use **http://immich.network ** to route to 192.168.1.2:9000

I wanted to share the steps I took so people don't have to go through what I did.

First a few things Local Server IP: 192.168.1.2

  1. I installed Ngnix and Adguard, in a Docker Containers, and gave Adguard IPs 3000, 3001 instead of 80 and 443 because Ngnix took it.
  2. I went to my router and made it use the DNS: 192.168.1.2
  3. I configured Proxy Host in Ngnix ..... immich.network => 192.168.1.2:9000
  4. I configured DNS rewrite in Adguard .... *.network => 192.168.1.2

At this point I was able to use http://immich.network finally. I installed Tailscale to be able to access when I'm outside but http://immich.network didn't work.

These helped me https://tailscale.com/kb/1019/subnets + https://tailscale.com/kb/1054/dns?q=global+nameserver

  1. I created a subnet..... tailscale up --advertise-routes=192.168.1.0/24
  2. I approved it on Tailscale login

At this point I was able to access home server using its local IP 192.168.1.2 but I couldn't get http://immich.network to work.

  1. I created a nameserver dns with split DNS but I used my local ip.. 192.168.1.2 => network

Finally everything is working.. I have a feeling that I'm doing it wrong but I'm too tired and it's finally working.

[-] Mir@programming.dev 14 points 7 months ago

I would want to go that appros but it feels very inconvenient having to connect to VPN every time I want to check something, also the battery drain if I stayed connected all the time

18
alternative to OneTab? (programming.dev)
submitted 7 months ago by Mir@programming.dev to c/firefox@lemmy.ml

I just lost all my tabs within it, any recommendations for an alternative?

155
submitted 8 months ago by Mir@programming.dev to c/selfhosted@lemmy.world

Hello, I'm planning on creating a home server and getting some cameras.

I would like to have the server, cameras and all IOT devices be disconnected from the internet but still be able to access them within the house from different devices and maybe have limited access to them when outside.

Do I need a specific hardware for this? And what router would support this? I'm still in the planning phase but I'm looking for budget friendly solutions.

Thank you

[-] Mir@programming.dev 5 points 8 months ago

Putting both in the same category is strange as one is an armed resistance and the other is an occupation force.

[-] Mir@programming.dev 8 points 9 months ago* (last edited 9 months ago)

I would say tipping the change is reasonable, anything more is not reasonable.

He is not doing the shopping for him, he gets paid a salary to do this job. And the salary being very low is irrelevant to this.

[-] Mir@programming.dev 7 points 9 months ago

Plus for other people who are curious but just browsing.

I was curious about that last week for some reason but I didn't really have time to look it up and now I saw it in the feed.

[-] Mir@programming.dev 5 points 9 months ago* (last edited 9 months ago)

I'm being sincere in that question, I don't have much information about the Bible. But how are they the good guys when they killed Jesus? Isn't that reason enough to think they are not the good guys?

[-] Mir@programming.dev 16 points 10 months ago* (last edited 10 months ago)

What about all the deaths before they got any hostages? Before Hamas?

What about what is happening in the west bank where there is no Hamas? Hamas was created because of what Israel has done and keep on doing. Giving up won't change anything

[-] Mir@programming.dev 35 points 10 months ago

Yes and maybe make it trackable, like a number or a barcode, just to make sure

[-] Mir@programming.dev 20 points 10 months ago* (last edited 10 months ago)

No one outside the west did before

[-] Mir@programming.dev 34 points 1 year ago

Can you please reread what you just said? You're saying it's okay to kill children and innocent people in order to kill someone else you actually want to kill?

view more: next ›

Mir

joined 1 year ago