19
submitted 3 months ago by mhz@lemm.ee to c/selfhosted@lemmy.world

I have been using no-ip for around two years to remotely access my hosted service, I mostly use their free service except for a few 5 months offers I bought.

Recently, I received a full year offer in email for 8$ (COUPON CODE: MAY8), and I was wondering whether to get that or buy a 2 years domain for the same price (FROM hostinger or namecheap).

I have never bought a doamain before and my knowledge is limited to what I mostly read here. So, per your opinion, what would be better in term of usability and security, a DDNS on the router and a port open per hosted-service? or a domain with reverse proxy?

[-] mhz@lemm.ee 14 points 6 months ago

American (congress) will ban Tiktok # Americans will be banned from Tiktok

The title made it sound the other way around as if Tiktok is banning americans.

[-] mhz@lemm.ee 18 points 6 months ago

They need a swastika, I mean a good loving neighbor.

102
submitted 6 months ago* (last edited 6 months ago) by mhz@lemm.ee to c/selfhosted@lemmy.world

Hello everyone, I'd like your recommendations for a note taking app that:

  • Can be selfhosted
  • Stores the notes as plain text or *.md files, not some SQL database.
  • Can use Marddown format.
  • Have an android client or at least a mobile optimized web-interface.
  • Not a must but it would be nice to have a to-do list option.

I tried:

  • Trilium: use an encrypted litesql to store the notes.
  • Joplin: does not encrypt the notes, but store them in random named directories, making ot harder finding the notes.
  • Logseq: No firefox support, I did not check how it stores itsdatabase.
  • Standard note: Needs subscription to selfhost or to even use markdown format, otherwise it is a heavy text editor.
  • Memos: does not store plain files, instead uses a (sqlite probably) database even when setting local filesystem as current object storage.
  • CodiMD: use database to store its notes
  • Hedgedoc: the same as above
  • Silverbulet.md: This is what I will end up using if Obsidian + syncthing was not for me,It is minimal without losing much features and can be enhanced with plug-ins. . It does need a bit of getting used to and it does not have an android app but can it can be run as PWA that runs offline. The only downside is it does clutter your note directory with a bunch of dot files (if you decided to install plug-ins).

The closest I found so far is Obsidian, which:

  • Unfortunately, does not have any selfhosting option.
  • Have a client app on every platform and store.
  • Can use a custom directory to store it database as plain text files, which can be a network mounted directory (on my laptop/desktop) or a directory on my android phone that i will have to keep synchronized using a third party app.
  • I used "Remotely Save by fyears" which allows you to synchronize local obsidian note directory with a cloud directory (onedrive, dropbox, webdav...), It requires webdav for self-hosted options, kinda forcing you to use a 3th party service to run a 3rd party plug-in so you can use Obsidian with your home server directory. On top of that It can only use a folder on the root of the webdave server (say /notes instead of /documents/notes).
  • I used syncthing initially to sync my Notes directory but I ended up using it to keep a buch of directories in sync across all my devices. Leaving you to use whatever app you like on any device, not just Obsidian.

Edit: March-2nd: added memos, codimd, hedgedoc Edit: March-9th, It has been a busy week and I could not do much. I added silverbullet and both syncthing adn remotly-save for obsidian. I'm using now Silverbullet and Obsidian+syncthing until I decide on one. Thank you everyone who helped me choosing.

[-] mhz@lemm.ee 8 points 8 months ago

Mtp is your friend, here is hiw I do it on my devices (samsung a23 and both opensuse and arch):

  • I connect my phone to my pc. Then select mtp in the phone notification.

  • Start my file manager (dolphine or whatever) and access my phone storage from there.

  • Make sure to allow the notification on the phone asking if you want to sahre your storage with the external device.

29
submitted 8 months ago by mhz@lemm.ee to c/linux@lemmy.ml

Hello evryone, I need help with this annoying problem where I can’t connect to some specific wifi even though I’m entering the correct password.

I went to a coffee house near my in-laws for some alone time where I got this annoying problem again. I was able to connect normally to their wifi (TP VSTM) using my phone but not on my laptop. So I made a QR image of that wifi (on my phone while connecting to it) and read it online (on my laptop) to make sure I’m entering the correct password. I tried connecting using nmtui at first but it kept prompting me to re-enter the password, then using nmcli which showed a message about a secret not provided.

screenshot https://ibb.co/MSqtmPZ

journalctl -b 0 -f -u NetworkManager.service | tee networkmanager.log

The log shows :

Activation: (wifi) asking for new secrets
device (wlp2s0): no secrets: No agents were available for this request.
device (wlp2s0): state change: need-auth -> failed (reason 'no-secrets', sys-iface-state: 'managed')
<info>  [1704445064.8171] manager: NetworkManager state is now DISCONNECTED

but I didn't get any prompt other than the one asking my root password for connecting.

What I have: I’m running OpenSUSE Slowroll (latest upgrade as of today) with Sway WM (the openSUSEway pattern)

Infos about my system:

https://pastebin.com/HkCBwSBi___

[-] mhz@lemm.ee 12 points 8 months ago

Welcome to the linux community.

[-] mhz@lemm.ee 24 points 8 months ago

Yay, linux use was around 1% the beginning of 2023, now it's so close to 2%, I hope we see an exponential growth by the end of this year.

[-] mhz@lemm.ee 8 points 9 months ago

I can always get the media again if need be.

Doesn't that mean you already have backup? It may not be the easiest to restore, but it is a backup nevertheless.

[-] mhz@lemm.ee 14 points 10 months ago

Probably to drop support for xorg. Plasma 6 is going to be wayland by default, while xfce is slow when it comes to wayland adoption

13
submitted 10 months ago by mhz@lemm.ee to c/selfhosted@lemmy.world

Hi, I got a tiny Lenovo M720Q (i5-8400T / 8RAM / 128NVME / 1Tb 2,5" HDD) that I want to set as my home server with the ability to add 2 more drives (for RAID5 if possible) later using its two USB 3.1 Gen 2 (10gbps).

  • The OS (debian 12 + docker) will be exclusive to the nvme, I will mostly use 40/128GB of its capacity with no idea how to make use of the rest.

  • My data (medias, documents and ISO files) will resides on the HDD pool, while keeping a copy of my docs on my home pc.

I read a bit about BTRFS RAID I even experimented with it in a VM and it really got me interested in using it because of its flexibility of balancing between raid levels and the hot swapping of unequally sized drives in both stripped and mirrored arrays. However, most of what I read online predate kernel 6,2 (which improved BTRFS RAID56 reliability). So, Here I am asking if anyone here is using BTRFS RAID and if it is stable enough to use on a mostly idle server or should I stick with LVM instead. What good practices to do or bad ones to avoid?

Thank you.

[-] mhz@lemm.ee 12 points 10 months ago

Compare the SN number in the SMART output with the SN on the drive, they should be the same or else theseller showed you uncorrect SMART output or uncorrect drive.

[-] mhz@lemm.ee 16 points 10 months ago

This surely translate to less traffic, better commute times, less noises, less pollution, safer streets and the list goes on.

32
submitted 11 months ago* (last edited 11 months ago) by mhz@lemm.ee to c/selfhosted@lemmy.world

Hello everyone, My home server (intel nuc6) died on me recently, I set it to be used as my home server using OpensSUSE Leap with the following services:

  • NFS server
  • Sftp over ssh for remote file transfers and I was looking for a faster alternative for local transfers (tftp maybe)
  • Qbittorrent
  • Aria2
  • Emby
  • I was experiencing with nextcloud then pfsense after.
  • Definitely an office suite and a few nextcloud addons.

I have no alternative machine ATM to use it as a replacement but I plan to re-install everything on a VM (Virtualbox or Qemu/libvirt) on my Desktop, I have no experience with containers, but I think installing each service in a countainer would make it easier to move everything later to my new home server.

Would using debian or opensuse and use docker? Maybe even proxmox? or should I just stick with installing everything directly on my distro with no containers? I would love to know your opinion about the best approach.

Edit: I'm containerizing, I like to keep my setup simple, no OSes vertualization since I will be using a 7th or 8th gen low power minipc for my next server (Intel NUC, Hp mini, dell micro or lenovo tiny). I will use proxmox in the VM to get confortable with it and I think the web UI might be easier to use than SSHing to the VM. Later on the new server I will mostly use debain+docker (opensuse leap's futur is cloudy atm) I would still love your suggestions and any guide/tutorial that you think is helpful to read/watch. Thanks everyone.

9
submitted 1 year ago by mhz@lemm.ee to c/buildapc@lemmy.world

Hello everyone, I'm looking to upgrade my system memory, I currently have one kit 2x8gb cl16 3600mhz, I have 4 slot in my motherboard (msi mag mortar 550m wifi).

I found that CL16 kits are priced in the 90-100 euro range (Amazon germany) while the CL18 kits are priced in the 60-75 euro range. So I'm writing wondering if buying a CL18 kit would be downgrade in speed? And whether it would be noticeable or not?

[-] mhz@lemm.ee 8 points 1 year ago

I had a gtx1060 when I started using linux, then upgraded to 2060 then again to 2080, they all worked fine without any major problem (except that file system checking at boot sometimes and wayland). Last year I upgraded to RX6800 and man everything just works, no more filesystem checks at boot, Wayland is mu way to go now.

If I have a nvidia card now I would just use, but if I'm buying a new/used gpu it will definitely be AMD.

[-] mhz@lemm.ee 7 points 1 year ago

Playing terminal.

[-] mhz@lemm.ee 15 points 1 year ago* (last edited 1 year ago)

Exactly what I have been looking for this entire evening, i made a new account on lemm.ee and now I'm looking to sync my old (lemmy.world) and new accounts. I will give it a try and report back here. Thank you for your efforts

Edit: can you post a link please, I couldn't find it in the play store.

view more: next ›

mhz

joined 1 year ago