• 421 Posts
  • 432 Comments
Joined 2 years ago
cake
Cake day: June 15th, 2023

help-circle
  • Not OP, but having files and folder structures accessible in the OS helps with a lot of tasks and interoperability.

    If I want to add media files to Jellyfin, etc, I can’t just drop them into the video folder remotely because I have it mapped to a particular folder on the drive. If I want to make a copy of a large folder, I first have to mount the cloud as a “remote” drive, then do the operation from there.

    It’s much easier to access files and folders outside of a database if they are needed for anything outside of the cloud service. I know that there may also be some security and efficiency factors that make a database favorable, but in terms of ease of use, it is just more effort to use a fileserver that operates through a database.





  • I found this: https://codeberg.org/mysearchhistory123/lms

    LMS - Lightweight Music Server

    LMS is a self-hosted music streaming software: access your music collection from anywhere using a web interface!

    I also found this: https://codeberg.org/thororen/Feishin

    Feishin

    Rewrite of Sonixd.

    Features:

    • MPV player backend
    • Web player backend
    • Modern UI
    • Scrobble playback to your server
    • Smart playlist editor (Navidrome)
    • Synchronized and unsynchronized lyrics support

    Some elements of these are on github and I can’t attest to either. Neither has recent updates, but should function. Web interfaces and API support should mean that you have some mobile options. Like others, I object to your reasoning, but this is a community to help one another, so your reasoning for your goals doesn’t really matter to me.

    I don’t think that you are likely to find any software that meets all of your requirements, but I hope this helps.


  • gedaliyah@lemmy.worldOPtoSelfhosted@lemmy.worldAutomating Restic backups
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    3 months ago

    my Files look like this:

    # /etc/systemd/system/restic-backup.service
    
    [Unit]
    Description=Generate a restic backup snapshot
    After=network.target
    
    [Service]
    Type=oneshot
    WorkingDirectory=/
    EnvironmentFile=/etc/restic-env
    PassEnvironment=AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY RESTIC_REPOSITORY RESTIC_PASSWORD_FILE
    Environment=XDG_CACHE_HOME=/var/cache
    ExecStart=/usr/bin/restic backup -r s3:https://s3.us-west-004.backblazeb2.com/XXXBUCKETNAMEXXX /home/XXXX /etc /media/XXXX/Storage --tag auto
    ExecStart=/usr/bin/restic forget --prune --keep-hourly 6 --keep-daily 7 --keep-weekly 4 --keep-monthly 6 --tag auto
    ExecStart=/usr/bin/restic check --read-data
    
    Nice=19
    IOSchedulingClass=best-effort 
    IOSchedulingPriority=7
    TimeoutSec=3600
    Restart=no
    
    [Install]
    WantedBy=multi-user.target
    
    # /etc/restic-env
    
    export AWS_ACCESS_KEY_ID=004XXXXXXXXXXXXXX
    export AWS_SECRET_ACCESS_KEY=K00XXXXXXXXXXXXXXXXXXXXXXXX
    export RESTIC_REPOSITORY=s3:s3.us-west-004.backblazeb2.com
    export RESTIC_PASSWORD_FILE=/etc/restic-password
    
    DEBUG_LOG=restic.log
    

    I’m running the systemd commands from a root terminal and the permissions on restic-env and restic-password are 700






  • gedaliyah@lemmy.worldtoSelfhosted@lemmy.world*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    4 months ago

    use ls command, as in the video, to list the contents of a directory, then use cd to change directory based on what you see. You can use cd .. to navigate to the parent directory of your current location if needed.

    Also make note of the Local path shown when cloning the repository in the previous step to help find it. When you see “tailscale.sh” as one of the items after typing ls, then you will know you are in the right place.



  • Tailscale client definitely needs to be installed and logged in on the destination device (Steam Deck in this case). Is it possible that you are typing “Sudo” instead of “sudo” in the command after opening Konsole? Linux commands are case-sensitive.

    I’m not knowledgeable about the steam deck, but it is also possible that sudo is not installed by default, in which case you will have to install it. sudo is a command that allows you to run other commands as root (basically admin).

    I found this article that might help: https://pimylifeup.com/steam-deck-sudo-password/


  • Checking the log again, I think it may be related to:

    {"reqId":"7e34c78e-49b9-4a97-87db-da79ab0d33bd","level":3,"time":"2025-06-19T22:18:31+00:00","remoteAddr":"XXX.XX.X.X","user":"USERNAME","app":"PHP","method":"GET","url":"\/remote.php\/dav\/files\/USERNAME\/misc\/m-t0627-01511-00434%20(2).jpg?x=336&y=336&c=&preview=1","message":"exif_read_data(): Incorrect APP1 Exif Identifier Code at \/var\/www\/owncloud\/lib\/private\/legacy\/image.php#399"}
    

    (I’ve removed my name and the IP Address listed)

    Following this message, there are about 30 errors related to different contacts that look like:

    {"reqId":"6fptn8sCXT16xmUGIWc6","level":2,"time":"2025-06-19T09:06:07+00:00","remoteAddr":"XXX.XX.X.X","user":"USERNAME","app":"dav","method":"DELETE","url":"\/remote.php\/dav\/addressbooks\/users\/USERNAME\/contacts\/04bc3d9c-f55a-4241-96a2-929245fe8433.vcf","message":"Could not get node for path: \"addressbooks\/users\/USERNAME\/contacts\/04bc3d9c-f55a-4241-96a2-929245fe8433.vcf\" : Card not found"}
    

    With some searching, it looks like there is something wrong with an image, presumably a contact image, which I was updating around the time the service went down.

    I still have no idea what do do with this information.



  • I appreciate the thought but I do believe that there are some steps involved after installation before it is fully functional.

    I am planning to test it in the future at some point, but right now I am looking to get my present server working again.

    Given your experience with a similar system, however, do you know if it is possible to reset the cardDAV without disrupting the other components? How would one do it in Nextcloud?