nextcloud-snap
bubblewrap
nextcloud-snap | bubblewrap | |
---|---|---|
53 | 75 | |
1,649 | 3,653 | |
0.4% | 2.4% | |
7.5 | 6.6 | |
4 days ago | 5 days ago | |
Shell | C | |
GNU General Public License v3.0 only | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nextcloud-snap
-
A quite disaster
First of all I don't really know much about snaps, but after reading https://github.com/nextcloud-snap/nextcloud-snap for a bit I understood that the nextcloud installation is stored in /var/snap/nextcloud/current/ and the files are stored in /var/snap/nextcloud/common/ While you could just backup the folders, this would not solve moving, and for that I think that the easiest way would be moving from a snap installation to a php installation. I found this guide, but the main thing is that it's old, complicated and I don't think it is the best way: https://github.com/nextcloud-snap/nextcloud-snap/wiki/Migrating-from-nextcloud-snap-to-Nextcloud-server I'd do it like this: 1. Change the nextcloud snap ports into something else than 80 and 443 2. Install the mysql, apache, php and the needed php and apache modules normally. 3. Install nextcloud in this configuration 4. Copy the data and apps from snap into the webserver directory that I installed nextcloud to 5. Copy the database 6. Get a ssl certificate with certbot
- Former Canonical developer is working on a script that replaces Snaps with Flatpaks
-
Current state of snaps security (particularly confinement) on Fedora?
As pointed out by people at nextcloud, snaps are not confined on ditros other than Ubuntu.
-
In practice, do flatpaks or snaps have stronger sandboxes?
I don't know which one is the "best" however there are concerns over how "universal" snap's sandbox strength is, like here.
-
Help: Nextloud MYSQL doent't start anymore
I found this github page, where they describe a problem similar to yours https://github.com/nextcloud-snap/nextcloud-snap/issues/1618
-
[snap] How should I attach external storage to NC?
Hello. I am following this guide: Change data directory to use another disk partition · nextcloud-snap/nextcloud-snap Wiki · GitHub to attach NFS share which is mounted to my Ubuntu VM to NC which was installed via snap After completing all the steps from section “If you have already created an admin user” I am getting the following error message:
- MySQL Crash in Nextcloud Snap installation
-
Https://local-ip-adress no answer/no website. Webminer works on port :10000
To be honest, this sound like an aweful strategy. I think you would be better off using a regular ubuntu VM and install nextcloud-snap. It is auto-updating and self-contained, so that you do not have to manage any dependencies yourself. It also includes a built-in backup machanism, so you could also reinstall the whole VM if upgrading goes wrong and simply restore your nextcloud from scratch.
-
Help with setting up Nextcloud
But also if you just want to run Nextcloud, the snap package is a lot better to be honest, stays up to date better and can be accessed directly instead of having to log into umbrel and then nextcloud. I started the same way as you but ended up going the direct route instead. My Ubuntu machine is called “server” so I can just log in via http://server.local. https://github.com/nextcloud-snap/nextcloud-snap
- [Nextcloud] HEIC-Vorschauunterstützung
bubblewrap
-
I Use Nix on macOS
Nothing nix specific but you may be interested in https://github.com/containers/bubblewrap
- I reduced the size of my Docker image by 40% – Dockerizing shell scripts
- Exploring Podman: A More Secure Docker Alternative
-
Using GitLab Kubernetes Runners to Build Melange Packages
Recently, I came across Chainguard and wrote the article How to build Docker Images with Melange and Apko. As a fervent supporter of Kubernetes and GitLab CI, I was eager to experiment with building images using Melange in this particular setup. GitLab's shared Runners work seamlessly with Bubblewrap, eliminating the need for additional configurations. This post is intended for enthusiasts like myself, interested in hosting their own Kubernetes Runners and leveraging the Kubernetes Runner Type of Melange.
- how strong is the steam (runtime) sandbox for games?
- Server-side sandboxing: Containers and seccomp
-
A Study of Malicious Code in PyPI Ecosystem
```
This is basically manually invoking what Flatpak does:
https://github.com/containers/bubblewrap
This is also useful for more than just security. E.G., you can test how your app would behave on a fresh install by masking your user configuration files. I personally also have a tool that uses it to basically bundle all dependencies from an entire Linux distribution in order to make highly portable AppImages— Been meaning to post that, will get around to it eventually maybe.
The flags above should hide your user data (`--tmpfs`), disable network access (`--unshare-all`), hide/virtualize devices and OS state (`--dev` and `--proc`), and make the rest of the root filesystem read-only (`--ro-bind`— Including the insecure X11 socket in `/tmp`, which you might want to expose for GUI apps).
Check them against `bwrap --help`; I might have omitted one or two more things you'd need.
- Bubblewrap – Low-level unprivileged sandboxing tool used by Flatpak
-
Firejail: Light, featureful and zero-dependency security sandbox for Linux
While trying to find out more comparison information, found this light on details issue:
https://github.com/containers/bubblewrap/issues/81
It mentions nsjail and minijail.
What are some alternatives?
all-in-one - 📦 The official Nextcloud installation method. Provides easy deployment and maintenance with most features included in this one Nextcloud instance.
firejail - Linux namespaces and seccomp-bpf sandbox
hassio-addons - :heavy_plus_sign: Docker add-ons for Home Assistant [Moved to: https://github.com/home-assistant/addons]
flatpak - Linux application sandboxing and distribution framework
nextcloud - Ansible playbook to install nextcloud, php, nginx or apache, mariadb or postgres, redis-server, onlyoffice or collabora office
flathub - Issue tracker and new submissions
onedrive - OneDrive Client for Linux
nsjail - A lightweight process isolation tool that utilizes Linux namespaces, cgroups, rlimits and seccomp-bpf syscall filters, leveraging the Kafel BPF language for enhanced security.
docker - ⛴ Docker image of Nextcloud
distrobox - Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox
previewgenerator - Nextcloud app to do preview generation in the background.
multipass - Multipass orchestrates virtual Ubuntu instances