Appoxo

joined 2 years ago
[–] [email protected] 3 points 8 hours ago
[–] [email protected] 1 points 9 hours ago

ISO-QWERTZ is a thing. Same for other flavors of the ISO european style.

[–] [email protected] 8 points 19 hours ago (1 children)

Müssten die Texte verkehrt herum angeordnet werden?

[–] [email protected] 3 points 2 days ago

Regarding rythm: https://youtu.be/SthcxWPXG_E

Maybe it would end like this at one point if multiple clocks won't get enough power.

[–] [email protected] 1 points 3 days ago

If I read that between the lines, I'd have a 9 on the 1st position on my stock depot.

[–] [email protected] 5 points 3 days ago

Man denkt in Anime ists eine Übertreibung, dass plötzlich eine Bazooka abgeschossen wird oder die Schüler in der letzten Reihe ein Kasino aufmachen, aber nein. Es ist scheinbar doch realistisch...

[–] [email protected] 3 points 3 days ago* (last edited 3 days ago)

Wir kaufen Orangen in Kistenformat (5kg) von einem Bekannten aus Italien.
Immer wieder schön eine zu essen und das ganze Zimmer rieht auch danach

[–] [email protected] 4 points 3 days ago

My way: Invest all the money in stocks and other financial products.
It can accumulate worth and I can't reach it without seeing a fat "red -" when drawing out my money which is a deterrent for me.

[–] [email protected] 1 points 3 days ago (2 children)

Ich wäre dankbar für die Information, warum man einen so volatilen Treiber wie für Grafikkarten diesen in den Kernel integrieren sollte wenn es (zumindest in Windows) auch einfach so parallel geht.

[–] [email protected] 3 points 3 days ago* (last edited 3 days ago)

Can confirm.
When I commuted by bus without doing any activity outside of walking and then needed to sprint (+ fully packed backpack) to get the bus, I'd be floored once reached.
Nowadays by riding bike to work, I get my regular workout and improve my fitness (for the frail future of my senior body)

[–] [email protected] 3 points 4 days ago

Wenn nicht alles gerade investiert ist um genau das zu erreichen: Vermögensaufbau

80
submitted 3 months ago* (last edited 3 months ago) by [email protected] to c/[email protected]
 

###Update###

I tried a bit of Notesnook. While it wasnt bad it didnt quite fit the expectation that obsidian created for me for what I want. Maybe it was user error but I honestly can't say what specific aspect bothered me.
For now I decided to stay with what I have experience witg and bought a year of Obsidian-sync for 1 Remote-Vault

Thanks to everyone that suggested me solutions to my really specific problem. I appreciate that and I love(d) the discouse I seemingly sparked in this post.
Please continue commenting. Maybe someone else still hasnt found their solution yet :)

Original Post:

Hello fellow lemmy users, for the lack of a better fitting community I hope my request for help fits here the best.

I am a bit of a scatter-brain, have some notes in Google Keep, OneNote, Obsidian and in GitHub or other places. This is partially multiplied by splitting my work stuff with my home stuff.

What I like about every app I use so far

  • OneNote: I like the way I can write on something like a canvas. Very useful if the note does fit the general theme of the page but not at the exact position. Also helps by utilizing the big space of a horizontal monitor. Also it now sports a very good mobile editor.
  • Obsidian: So easy to backlink between notes and I love the graph view. I also like the extension "code styler" which lets me format inline code blocks with syntax highlighting (e.g.: `{powershell icon} Get-ChildItem -Path C:\Path\To\Folder -Filter XYZ*`).
    I like to learn scripting but I also use obsidian for RL-stuff and technical non-code like keeping track of configs, settings, wishlists etc.
  • Google Keep: I bastardize the check-box feature to keep track of (online) shop orders. Mostly the only reason is that checked items get hidden in a collapsed section

    Any other program that let's me to that (even with plugin/extension) is a valid replacement candidate

What I dislike:

  • OneNote:
    • Quite difficult to link between notes (unsupported on mobile)
    • Limited to 1 folder deep notes. Currently work around that by using the horizontal space or multi notes.
    • A bit clunky to edit bigger notes
    • By microsoft.
  • Obsidian:
    • No native way to have everything on a server outside of using the obsidian-sync service for $4 or the community plugin which requires me to use some novel type of db called couch-db (ugh, another service to keep updated/troubleshoot). I can stomach the $4 but am limited to only one vault which I don't really like.
  • Google Keep:
    • Google
    • No real way to have everything backed up. Only use it for quick notes or for my shipment list. Everything else is probably exported to Obsidian/OneNote if I feel like doing house-keeping.

How I currently manage/store my files:

  • Right now I use
  • OneNote which is stored on OneDrive (I like how Outlook (classic) works and I got 1TB of cloud storage),
  • Obsidian which syncs with the plugin "remotely sync" to my OneDrive folder.
  • Google Keep: Dunno. Probably some account storage on google

What I want:

  • A primarily server-side setup or with a native sync feature that works like on OneNote: The true source is my server or the cloud, the client only streams/caches the data locally. I have no problem with individual markdown files.
    I just dislike the general need to sync them manually with external tools like syncthing.
    I already have a good backup solution on my main server and secondary server (For the curious: Veeam backup and replication that backs my proxmox VMs). No need to manage another set of backups. Another reason I want everything in one spot as I already have everything scattered.
  • A tree view of my notes like obsidian and OneNote does. Plus point if the app can even do sections like OneNote does.
  • (Optional) A way change-log of the edits done. Some apps do it by implementing git or have a very rudimentary way to manage that
  • Mobile/desktop companian app: PWA is okay but I would probably miss out on the caching feature. I would prefer an actual (android) app on my phone. Same for Windows.

What I found so far but have issues so far:

  • silverbullet: Server-side but seems to miss the side bar with the tree view (which can probably be added by another extension). Seems like the best candidate so far
  • Joplin: Seems alright to use but I can't use callouts which (to me) is mandatory to use with coding/scripting tasks.
  • Obsidian: Fits best of all I found but I dislike the $4. But still miles better as the former option which was (i believe) $15 monthly
  • BookStack: I bit limited how it manages the change-log. Seems okay
  • Outline: No way to sync it without paying beyond manual sync. Didnt try it out much but I like how it looks.
  • Logseq: Same issues as with obsidian: Paid sync. Didnt look much beyond
  • Joplin: Sufficient but no callouts :(
  • Trilium Notes: Maintenance mode. Not a deal-breaker but I don't want to migrate something that could maybe die :/

Thanks for reading the wall of text and I wish you a good start into the year of 2025. ✌️

 

Script is made to control Veeam VBR
Thanks for taking a look at my massive feature creep ;)

<#
    .SYNOPSIS
        Startet ein Veeam VBR Job

    .DESCRIPTION
        Startet einen VBR Job basierend auf den Namen.
        Ursprünglicher Zweck war ein Verknüpfung von Jobs (z.B. als Pre-Execution Skript)

    .PARAMETER JobName
        Job-Name des Backup Jobs

    .PARAMETER JobType
        Typ des Backup Jobs
        Erlaubte Typen: VAW, VAL, VMware,
        Nicht erlaubte: Typen: HyperV, PVE

        $Get-VBRBackup | Select-Object -Property Name,TypeToString,JobType
        Backup              Pretty                  Verbose                 Typ im Skript   Notizen
        ########################################################################################################
        Backup Copy Job     Backup Copy             SimpleBackupCopyPolicy  /               /
        VAW Managed SRV     Windows Agent Backup    EpAgentBackup           VAW             CMDlet deprecated for Agent backups
        VAW Managed PC      Windows Agent Policy    EpAgentPolicy           VAW             CMDlet deprecated for Agent backups
        VAL Managed SRV     Linux Agent Backup      EpAgentBackup           VAL             CMDlet deprecated for Agent backups
        VAL Managed PC      Linux Agent Policy      EpAgentPolicy           VAL             CMDlet (probably) deprecated for Agent backups # UNGETESTET WERTE! 
        Proxmox VE          Proxmox Backup          VmbApiPolicyTempJob     PVE             Nicht nutzbar mit Powershell via Start-VBRJob
        VMware              VMware Backup Backup    Backup                  VMware
        Hyper-V

    .EXAMPLE
        Start-VeeamJob.ps1 -JobName 
        passes F1234567-1abc-1234-ab1c-1a2345b6c78d to $JobName
        
    .NOTES
        Author  : Appoxo
        Version : 2.0
    
    .LINK
        Job-ID auslesen:
            Get-VBRComputerBackupJob | Where-Object Name -CLike "*Name*" | Select-Object -Property Id, Name
#>

[CmdletBinding()]
Param(
    [Parameter(Mandatory = $true,
    HelpMessage = "Enter Job-Name of the VBR-Job")]
    [String]
    $JobName,

    [Parameter(Mandatory = $true,
    HelpMessage = "Art des VBR-Jobs. Die Bezichnung ist NICHT canse-sensitiv!")]
    [string]
    $JobType
)

Begin {
    Write-Host "Script started successfully"
    $ExitCode = 0  

    #TimeStamp Logging:
    function Get-TimeStamp {return "{0:yy/MM/dd} {0:HH:mm:ss}" -f (Get-Date)}
    
    <#
    #Debug Values:
    $JobName = "L1 Backup Appoxo-PC2 (Games)"
    $JobType = "VAW"
    #>

    # Variablen
    $workingDir = "C:\Skripte\SkriptLogs"
    $log = "$($workingDir)\Log-StartVeeamJob.log"
    $JobDetails = Get-VBRBackup | Where-Object Name -EQ "$($JobName)"
    $timeout = 9

    # Vorbereitung
    if ($JobType -in @("VAW","VAL","VMware")){
        Write-Host "Valid backup type selected"
        $JobTypUnbestimmt = 0
    }
    else {
        Write-Host "Invalid backup type selected. Please choose something else :)"
        $ExitCode = 1
        exit $ExitCode
    }

    if (Test-Path -Path $workingDir) {
    } else {
        New-Item -ItemType Directory -Path "$workingDir"
    }

    if (-not (Test-Path -Path $log -PathType Leaf)) {
        New-Item -ItemType file -Path $log
        Add-Content -Path $log "Log zur Überprüfung der Start von VBR-Jobs"
    }
}

Process {
    Write-Host "You passed the following information:"
    $data = @([PSCustomObject]@{"Job Details"="$($JobDetails.Name)"; "Selected Job Type"="$($JobType)"})
    $data | Format-Table -AutoSize
    Write-Host "The following Job-ID was found for this job: $($JobDetails.JobId)"

    Write-Host "If there is an error please abort NOW." 
    while ($timeout -gt 0) {
        Write-Host -NoNewline "`rThe script starts in $($timeout)"
        Start-Sleep -Seconds 1
        $timeout--
    }
    Write-Host "Starting script now!"
    Write-Output "$(Get-TimeStamp) Start des Backup Job Skripts. Für den Job '$($JobDetails.Name)' wurde die Job-ID $($JobDetails.JobId) gefunden!" | Add-Content -Path $log

    try{
        $startTime = Get-Date
        Write-Host "Validating input... This may take a while"
        if((($JobType -in @("VAW","VAL"))) -AND (($JobDetails.JobType -in @("EpAgentBackup","EpAgentPolicy")))) {
            Write-Host "Valid backup type '$($JobDetails.TypeToString)' was found. Starting now!"
            Start-VBRComputerBackupJob -Job $JobName | Select-Object -OutVariable JobResult
        }
        elseif (($JobType -in @("VMware")) -AND (($JobDetails.JobType -in @("Backup")))) {
            Write-Host "Valid backup type '$($JobDetails.TypeToString)' was found. Starting now!"
            Start-VBRJob -Job $JobName | Select-Object -OutVariable JobResult
        }
        elseif (($JobType -in @("PVE")) -AND (($JobDetails.JobType -in @("VmbApiPolicyTempJob")))) {
            Write-Host "Der Job des Typs $JobType ist aktuell nicht implementiert"
            $ExitCode = 1
            exit $ExitCode
            <#
            Write-Host "Valid backup type '$($JobDetails.TypeToString)' was found. Starting now!"
            Start-VBRJob -Job $JobName | Select-Object -OutVariable JobResult
            #>
        }
        else {
            Write-Host "Invalid backup type '$($JobDetails.TypeToString)' was found. Please restart the script!"
            Write-Output "$(Get-TimeStamp) Bestimmung des Typs für den Job '$($JobDetails.Name)' nicht erfolgreich. Angegeben wurde '$($JobType)'" | Add-Content -Path $log
            $ExitCode = 1
            $JobTypUnbestimmt = 1
        }

        # Job Result report
        if(($JobTypUnbestimmt -EQ 0) -AND ($JobResult.State -EQ "Stopped") -AND ($JobResult.Result -EQ "Success")){
            Write-Host "Execution of the Job '$($JobName) was successful"
            Write-Output "$(Get-TimeStamp) Backup Job $($JobDetails.Name) erfolgreich ausgeführt" | Add-Content -Path $log
            $ExitCode = 0
        } else{
            Write-Host "Execution of the Job '$($JobName) encountered an error. Please check the VBR-Console"
            Write-Output "$(Get-TimeStamp) Fehler beim ausführen vom Backup Job '$($JobDetails.Name)'" | Add-Content -Path $log
            $ExitCode = 1
        }
        #Stats
        $endTime = Get-Date
        $executionTime = $endTime - $startTime
    } catch {
        Write-Host "Something went wrong during execution"
        Write-Host $_  # This prints the actual error
        Write-Output "$(Get-TimeStamp) Error: $($_)" | Add-Content -Path $log
        $ExitCode = 1 
    }
}

End {
    Write-Output "$(Get-TimeStamp) Skript abgeschlossen für $($JobDetails.Name) Job-ID $($JobDetails.Id)" | Add-Content -Path $log
    Write-Host "Script ended."
    $seconds = "{0:N2}" -f $executionTime.TotalSeconds
    $minutes = "{0:N2}" -f ($executionTime.TotalSeconds / 60)
    Write-Host "Time for stats! The script took $($seconds) seconds or $($minutes) minutes)"
    exit $ExitCode
}
 

9
submitted 6 months ago* (last edited 6 months ago) by [email protected] to c/[email protected]
 

Trying to set tight permissions on my future NAS.
The essential on what I have:
TrueNAS NFS storage <- mounted via NFS -> Proxmox VE Host <-> Debian 12 VM
That's all fine and so on.
My little Debian VM:

NAME   FSTYPE FSVER LABEL  UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda
├─sda1 vfat   FAT32        A5D7-88E3                             505.1M     1% /boot/efi
└─sda2 ext4   1.0          3c43a477-51fd-425b-aee8-a6e75224f781   48.5G    16% /
sdb
└─sdb1 ext4   1.0   media  e3e0eac5-806a-44e9-a0e9-07fb99a18281  933.2G     0% /srv/dev-disk-by-uuid-e3e0eac5-806a-44e9-a0e9-07fb99a18281
sdc
└─sdc1 ext4   1.0   nas    0f3a3d74-901d-4243-b20b-59210c1cee18   46.4G     0% /srv/dev-disk-by-uuid-0f3a3d74-901d-4243-b20b-59210c1cee18
sdd
└─sdd1 ext4   1.0   backup fbe21b9f-2339-4223-ac7e-00e75374fc32   46.4G     0% /srv/dev-disk-by-uuid-fbe21b9f-2339-4223-ac7e-00e75374fc32
sr0

Background:

  • media = media library for Jellyfin
  • nas = small (future) file server for my PC running Windows
  • backup = used to store backups of various services like Firewall backups with SFTP etc.

The storage on the debian VM will be mounted by a NUC running bare metal Debian due to hardware acceleration. The proxmox host is unable to do it due to it also being a NUC. But I like the flexibility I will soon have because I can just nuke my bare-metal NUC without loosing any data.

Anyway my real problem is with permissions on my media drive.
My permissions right now are as following:

1. /srv/dev-disk-by-uuid-e3e0eac5-806a-44e9-a0e9-07fb99a18281# ls -l media
drwxrwxr-x 3 nobody nogroup 4096 Oct 12 20:45 media

2. /srv/dev-disk-by-uuid-e3e0eac5-806a-44e9-a0e9-07fb99a18281/media# ls -l data
drwxrwsr-x+ 6 mediaU serviceG 4096 Oct 13 00:21 data

3. /srv/dev-disk-by-uuid-e3e0eac5-806a-44e9-a0e9-07fb99a18281/media/data# ls -l *
drwxrwsr-x+ 7 mediaU serviceG 4096 Oct 13 00:21 media
drwxrwsr-x+ 2 mediaU serviceG 4096 Oct 13 00:21 recycle_bin
drwxrwsr-x+ 2 mediaU serviceG 4096 Oct 13 00:21 torrents
drwxrwsr-x+ 2 mediaU serviceG 4096 Oct 13 00:21 usenet

4. /srv/dev-disk-by-uuid-e3e0eac5-806a-44e9-a0e9-07fb99a18281/media/data/media# ls -l *
drwxrwsr-x+ 2 mediaU serviceG 4096 Oct 13 00:21 anime
drwxrwsr-x+ 3 mediaU serviceG 4096 Oct 13 00:22 movie
drwxrwsr-x+ 2 mediaU serviceG 4096 Oct 13 00:21 music
drwxrwsr-x+ 2 mediaU serviceG 4096 Oct 13 00:21 soundtrack
drwxrwsr-x+ 2 mediaU serviceG 4096 Oct 13 00:21 tv

Current directory tree:

srv-dev-disk-by-uuid-XXX/
└── media
    └── data
        ├── media
        │   ├── anime
        │   ├── movie
        │   ├── music
        │   ├── soundtrack
        │   └── tv
        ├── recycle_bin
        ├── torrents
        └── usenet

What I am trying is:

  • Docker host mounts /srv/dev-disk-by-uuid-e3e0eac5-806a-44e9-a0e9-07fb99a18281/media via NFS
  • The docker containers should only be able to access the the data directory inside it (2. ls -l) as mediaU:serviceG
  • In addition I wanna access, modify and move files with my windows user without being part of the service group. Because of this I have setup SGID and ACL on the /media/data/media folder. The ACL was set recursive as follows:
/srv/dev-disk-by-uuid-e3e0eac5-806a-44e9-a0e9-07fb99a18281/media/data# getfacl media/
# file: media/
# owner: mediaU
# group: serviceG
# flags: -s-
user::rwx
group::rwx
group:extUserG:rwx
mask::rwx
other::r-x
default:user::rwx
default:group::rwx
default:group:extUserG:rwx
default:mask::rwx
default:other::r-x

So far so good. mediaU:serviceG has RWX permissions (2775).
My user is part of the group extUserG also with 775 permission.

My issue and how I tested it under the root user executing commands via su:

  • Works:
    root@NAS01:/srv/dev-disk-by-uuid-e3e0eac5-806a-44e9-a0e9-07fb99a18281/media/data# su mediaU -c 'mkdir dir-mediaU'
  • Doesn't work:
    root@NAS01:/srv/dev-disk-by-uuid-e3e0eac5-806a-44e9-a0e9-07fb99a18281/media/data# su appoxo -c 'mkdir dir-extUserG' mkdir: cannot create directory ‘dir-extUserG’: Permission denied

BUT if I enter one level deeper inside the freshly created dir-mediaU folder I am able to create files with my personal account:

root@NAS01:/srv/dev-disk-by-uuid-e3e0eac5-806a-44e9-a0e9-07fb99a18281/media/data# cd dir-mediaU/
root@NAS01:/srv/dev-disk-by-uuid-e3e0eac5-806a-44e9-a0e9-07fb99a18281/media/data/dir-mediaU# su appoxo -c 'mkdir dir-extUserG'
root@NAS01:/srv/dev-disk-by-uuid-e3e0eac5-806a-44e9-a0e9-07fb99a18281/media/data/dir-mediaU# ls -l
total 4
drwxrwsr-x+ 2 appoxo serviceG 4096 Oct 13 00:45 dir-extUserG
root@NAS01:/srv/dev-disk-by-uuid-e3e0eac5-806a-44e9-a0e9-07fb99a18281/media/data/dir-mediaU# getfacl dir-extUserG/
# file: dir-extUserG/
# owner: appoxo
# group: serviceG
# flags: -s-
user::rwx
group::rwx
group:extUserG:rwx
mask::rwx
other::r-x
default:user::rwx
default:group::rwx
default:group:extUserG:rwx
default:mask::rwx
default:other::r-x  

So dear Lemmy Community:
Have I done something wrong in my setup or thinking? I have no problem as it is right now but I am sure it will be annoying to troubleshoot in the future so might as well fix it while still setting it up.

Thanks in advance for helping slowly escaping the windows world :)

 

Background

Hello fellow self-hosters and homelabbers, A few weeks ago I was able to fill my new NAS with the proper hardware I needed to expand on my earlier setup.
Due to the new capabilities I also wanted a fresh restart. But the more I think about doing one thing, the more I hit other road blocks amd think about doing Y.
So I wanted to ask how you would solve my goal.

My current (main) setup:

  • Hardware: 11th Gen i5 Nuc with a 8TB HDD attached via USB
  • OS: Debian 11
  • Software: OMV6 for management and Docker for a diverse set of containers
  • Current containers: HortusFox + MongoDB, *arrs-stack, Jellyfin, uptime kuma, unifi network application + mariaDB, traefik, wallos

Current available hardware for use:

1x 13th gen i3 NUC running Proxmox 8.2
1x 11th gen i5 NUC
1x uGreen DXP4800+ NAS with 4x15TB HDDs in Raidz2. The OS is TrueNAS scale

My plans:

  • NAS storage made accessible via NFS to the proxmox VE.
  • NAS storage mainly planned as mass-storage for Jellyfin.
  • Reimage my 11th gen NUC with a bare-metal Debian install for Docker.
    (I will not virtualize on the 11th Gen NUC because I can't pass the iGPU to the VM and not really interested in LXC containers)

Problems and questions I have at this moment:

1: Should I do a media-storage VM only utilized for serving media and do the computing on another VM or do a general VM for both?

  • Upside to an all-in-one VM: Less problems with serving storage between many different nodes and keeping it organized.
    Upside to specialized VMs (storage & compute VM): Better focus on ressources like CPU and RAM.
    2: Should I place my whole docker stack again on the 11th Gen NUC or place the stacks in their own VM(s)? Example:
    service stack in service-focused VM
    media-focused stack in media VM (which also serves the files for jellyfin)
    Jellyfin bare-metal/dockerized on NUC 11th Gen

I hope someone can maybe help me untangle my grown mess and plans. My skills with Linux are not very deep and very beginner level. If you are willing to help please be patient with stupid questions.

If you have any better solutions, pointers to research, (blog) articles on architecting such solutions, examples how you solved storage/management or just willing to help me, I'd be very grateful :)

 

So often they go end of sale. Once gone and restocked I will hoard it.

 

cross-posted from: https://lemmy.dbzer0.com/post/20923434

Was grown from seed.
Last time I posted about it: https://lemmy.dbzer0.com/post/5241154

 

Was grown from seed.
Last time I posted about it: https://lemmy.dbzer0.com/post/5241154

1
Does this look like graft? (lemmy.dbzer0.com)
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]
 

Plant is a Yuzu Tree

The tree is declared as a "Citrus Ichangensis x Citrus reticula" but the buldge looks suspiciously like something after a grafting process.
I don't have a problem with it but the seller didn't mention any grafting being done.
I am also cautious because I live in a zone 7a area and don't wanna kill my first attempt.

Any help is appreciated :)

More pictures:

 

cross-posted from: https://lemmy.dbzer0.com/post/5519216

Species: Aeshna cyanea

Yes, it was alive at the time and left alone (outside of taking a picture)

 

Update from last post. Steadily growing :)

view more: next ›