• 0 Posts
  • 12 Comments
Joined 1 year ago
cake
Cake day: October 1st, 2024

help-circle


  • In addition to podman unshare (which you would just prefix in front of commands like chmod), you can just temporarily do podman unshare chown -R root: <path> if you backup while the container is down. Don’t try that command on live containers.

    For a more permanent solution, you can investigate which user (ID) is the default in the container and add the option --user-ns=“keep-id:uid=$the_user_id. This does not work with all images, especially those that use multiple users per container, but if it works, the bind mount will have the same owner as the host.

    To find the user ID, you can run podman exec <container> id. In most of the images I use, it’s usually 1000.


  • I haven’t looked much into the differences, but from my brief research, it appears that Forgejo has just recently updated such that migration from Gitea is no longer possible. I knew that they had become a “hard” fork last year but it has now diverged.

    From a feature standpoint, I know that Forgejo is working on Fediverse integration. Beyond that, I think the differences are less apparent.

    So to answer your question, I use Gitea and have for a long time. They’ll still remain MIT-licensed even if it’s no longer fully open source. However, the owning company can (and may) cease open source development. If I had known of Forgejo breaking away earlier, or if I were a new user, I would have probably started with Forgejo. That’s my recommendation.



  • You may or may not be a developer, but I would like to vote for Gitea/Forgejo. Should you ever get a grasp of git, a git forge is great for keeping code and even plain text documents recorded. It’s my favorite self-hosted service by far.

    It can even operate as an OIDC server, so you can create a single login for all your services (that support OIDC).

    I’ll also recommend Grist, an alternative to Google Sheets (and Notion, I believe?). It’s a web interface to spreadsheets that supports Python code as formulas. (I’ve also tried Nocodb, another Notion alternative, and I much prefer Grist.)




  • excess0680@lemmy.worldtoSelfhosted@lemmy.worldTIL - Caddy
    link
    fedilink
    English
    arrow-up
    16
    ·
    edit-2
    8 months ago

    If you’re using git to version Caddy configuration, you can use a pre-commit hook to test it, ensuring that you’ll never have invalid configuration. That’s what I do.

    caddy validate
    

    There’s some extra command args that may be necessary but that should be an adequate first step.