Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)TR
trilobite @lemmy.ml
Posts 4
Comments 25
What tool do you use to display your self-hosting infrastructure
  • This is an intersting thread because I read through the lines the concerns that many have about losing parts of their homelab. Something I too am concerned about. While I have learnt to put my data securely on NAS with docker compose (I.e. docker image runs on VM while data i s stored on NAS and nas dataset is mounted via NFS on VM), in still not clear ho I save the config on the docker container. Basicalky, if I want to move that docker image to a new VM, how do I go about it?

  • *Permanently Deleted*
  • Mate, something like Immich or digikam (if you want local) will do a good job at this. Not perfect but perfection is utopia. I fed 40k images to Immich and it did a reasonable job in not too many hrs.

  • *Permanently Deleted*
  • Well, this is what I thought too. Also, any other country under US influence would have handed him over to the US. See the saga that poor Assange has gone through. What worries me is that public opinion is rather silent to stories like those of Assange and Snowden. Whistle blowing should be seen as a right. If the organization I work for is ethically and morally misbehaving, I have the right to blow the whistle through the right internal channels to start with. If nobody listens, then you take it to the next level.

  • what foss phone OS do you use and why?
  • I totally agree. Used pixels are superb with grapheneos. Syncthing is what i use ad a backup. I think the problemi is that google stops releasing updates after 5 yearss old units don't get updates I think. I have the 5th June build and it reports a security update of December 2023.

  • Looking for Self-hosted Bookmark Manager
  • I'm also looking into this a bit as I'm ditching Nextcloud and need a more modulare approach to managing the three things i care about: calendards, files and bookmarks. Sorted calendars with Radicale (superb) and files with Syncthing but now looking at the bookmarks. This (https://github.com/awesome-selfhosted/awesome-selfhosted?tab=readme-ov-file#bookmarks-and-link-sharing) has several solutions proposed. lingding and linkwarden seem to be good and reasonable active on Github. Anyone compared these?

  • Getting Radicale to work system wide
  • Turned out I had created /etc/radical rather than /etc/radicale and of course the app was looking for a folder that didn't exist. I can confirm the above procedure works for anyone trying to install it.

  • Getting Radicale to work system wide

    Hi folks,

    I installed Radicale earlier today and when I installed it as a user as described on the homepage using $ python3 -m pip install --upgrade radicale.

    I initially created a local storage and ran as normal user $ python3 -m radicale --storage-filesystem-folder=~/.var/lib/radicale/collections. I was able to see the webpage when I type the server address (VM on Truenas) http://192.168.0.2:5234. So the install went well. But I wanted to create system wide so that I can have multiple users loggin in (family members).

    So i did the following:

    • $sudo useradd --system --user-group --home-dir / --shell /sbin/nologin radicale

    • $sudo mkdir -p /var/lib/radicale/collections && sudo chown -R radicale:radicale /var/lib/radicale/collections

    • sudo mkdir -p /etc/radicale && sudo chown -R radicale:radicale /etc/radicale

    Then I created the config file which looks like:

    ``` [server]

    Bind all addresses

    hosts = 192.168.0.2:5234, [::]:5234 max_connections = 10

    100 MB

    max_content_length = 100000000 timeout = 30

    [auth] type = htpasswd htpasswd_filename = /etc/radicale/users htpasswd_encryption = md5

    [storage] filesystem_folder = /var/lib/radicale/collections

    [logging] level = debug ```

    Of course the users file also exists in the /etc/radicale. Then I created the service file as per the guidance without changing anything:

    ``` [Unit] Description=A simple CalDAV (calendar) and CardDAV (contact) server After=network.target Requires=network.target

    [Service] ExecStart=/usr/bin/env python3 -m radicale Restart=on-failure User=radicale

    Deny other users access to the calendar data

    UMask=0027

    Optional security settings

    PrivateTmp=true ProtectSystem=strict ProtectHome=true PrivateDevices=true ProtectKernelTunables=true ProtectKernelModules=true ProtectControlGroups=true NoNewPrivileges=true ReadWritePaths=/var/lib/radicale/collections

    [Install] WantedBy=multi-user.target ``` Then I hit the usual sequence:

    $ sudo systemctl enable radicale $ sudo systemctl start radicale $ sudo systemctl status radicale and of course it all seems to be running:

    ``` user@vm101:/$ sudo systemctl status radicale ● radicale.service - A simple CalDAV (calendar) and CardDAV (contact) server Loaded: loaded (/etc/systemd/system/radicale.service; enabled; vendor preset: enabled) Active: active (running) since Sat 2024-05-25 19:44:54 BST; 18min ago Main PID: 313311 (python3) Tasks: 1 (limit: 4638) Memory: 13.1M CPU: 166ms CGroup: /system.slice/radicale.service └─313311 python3 -m radicale

    May 25 19:44:54 vm101 systemd[1]: Started A simple CalDAV (calendar) and CardDAV (contact) server. ```

    When I run $ journalctl --unit radicale.service it only provide the following output, despite the logging level is set to debug:

    user@vm101:/etc/radical$ sudo journalctl --unit radicale.service -- Journal begins at Sat 2022-12-31 15:45:51 GMT, ends at Sat 2024-05-25 20:04:37 BST. -- May 25 19:25:46 vm101 systemd[1]: Started A simple CalDAV (calendar) and CardDAV (contact) server. May 25 19:44:46 vm101 systemd[1]: Stopping A simple CalDAV (calendar) and CardDAV (contact) server... May 25 19:44:46 vm101 systemd[1]: radicale.service: Succeeded. May 25 19:44:46 vm101 systemd[1]: Stopped A simple CalDAV (calendar) and CardDAV (contact) server. May 25 19:44:54 vm101 systemd[1]: Started A simple CalDAV (calendar) and CardDAV (contact) server.

    Any clue as to why i get "Can't establish a connection ..." error when I type http://192.168.0.2:5234. I'm clearly missing something but can't quite get what it is. Any help would be appreciated.

    BTW, I'm connecting to the Truenas server (where the VM runs) from my laptop, the same one that allowed me to connect when I used the normal user approach described at the start.

    9
    Syncthing ... where are the users?
  • Thanks. I'll give this a try over the weekend since it appears to have worked for others. This is something I would have expected the developers to have implemented. Multiuser computers is not that rare ...

  • Syncthing ... where are the users?
  • Server is Truenas Scale. Syncthing is running as app. I and wife have it installed on Android phones. We both share a Debian 12 laptop with different logins. We both want to keep respective phone synced with laptop login. We want to have a folder shared on nas where we can exchange files.

  • Syncthing ... where are the users?
  • I actually do have an always on server and I was planning on using it as a client-server type system. I think that the file sharing option is complicated to implement. I tried to launch syncthing in my wifes environment on the laptop and while I get a new ID, when I register it with the server, it complains saying that there are conflicts with the IDs for the device. I wonder if its getting confused by having two IDs against the same IP

  • Syncthing ... where are the users?
  • Mmm, Seafile is is developed by an for-profit organisation. Looks interesting but might stick with nextcloud if I have to move to Seafile. Syncthing seems really robust and simple. I think its just the file sharing bit that I'm missing. Nextcloud is just a beast.

  • Syncthing ... where are the users?
  • Its an unlikely event that both would be editing the same file at the same time. I think I've achieved this. Been messing with Syncthing today. we each have a "shared" folder on our phones and the server has one too. I selected to share with both devices.

    The trick now is when you have a PC with multiple users that want to share that "shared" folder. I need to work that one out ... :-)

  • www.truenas.com Configuring Host Path Validation

    Provide information on host path validation in TrueNAS SCALE.

    I'm trying to get my head around this. If I have a media folder of videos that I mount via NFS so that I can access from my laptop, my understanding is that I need to disable "Configuring Host Path Validation" if I then have an app like Jellyfin reading that folder for serving videos to my family. It this correct or am I misunderstanding?

    The alternative is that I would need two difference datasets created, one for the NFS share and one for Jellyfin but this defeats the purpose, plus is an incredible waste of space. Please tell me I have it all wrong ...

    0
    Syncthing ... where are the users?
  • So this is where I'm getting confused. Say I want to share a folder with my wife. We each have a phone: Phone_1 and Phone_2. I need to create two devices (Phone_1 and Phone_2) and 3 folders (my_folder, wife_folder, shared_folder). Phone_1 would sync to my_folder + shared_folder whereas my wifes phone (phone_2) would sync to wife_folder + shared_folder. All shared files would go in shared_folder. Both of us can edit files in the shared_folder?

  • Syncthing ... where are the users?

    Just installed Syncthing on my Scale server. It looks like it doesn't have users but rather folder IDs that are then used to sync devices. One of the cool features of Nextcloud is the ability to share files with other users. Can this be done with Syncthing?

    41

    Is Radicale the way forward?

    www.cloudron.io Install Cloudron

    Learn more about how to install Cloudron

    Install Cloudron

    Just thinking of ditching nextcloud and its just too much for my family use. All i needis carddav, caldav and file sync. Have a Debian VM running on Scale and was thinking of using Cloudron docker install. Is this the way others are installing on VMs?

    58