Comments (6)
Yeah, Snapcraft was required to use Multipass as the default backend for political reasons (a straight ask from Mark, hoping that it would make Multipass more popular). It works for simple cases, but anything more complex and it really gets in the way. The Snapcraft devs have maintained the LXD backend as a first-class citizen knowing that a significant number of people would use it instead. Just export SNAPCRAFT_BUILD_ENVIRONMENT=lxd
in your ~/.bashrc
and move on with your life.
from nextcloud-snap.
I guess you should have some swap partition/file if you are gonna do this with 8GB or RAM.
from nextcloud-snap.
@pachulo is right, you need a sort of ridiculous amount of RAM to build MySQL. I'm not actually sure how much the GitHub runners give us, to be honest, but we haven't had an issue there. Definitely had problems in this area in the past, though.
from nextcloud-snap.
Ok, but I have a machine with physically 32GB of RAM (not fully used during compilation) and the issue persists. The problem is that snapcraft always creates the VM with only 2GB of RAM and I have not found a solution how to avoid that (by using configuration from this repository).
from nextcloud-snap.
That sounds like a snapcraft bug. I personally use the lxd backend instead of multipass, which doesn't have those kinds of limitations. I'm not really sure what knobs snapcraft exposes these days to make that VM usable.
from nextcloud-snap.
That sounds like a snapcraft bug. I personally use the lxd backend instead of multipass, which doesn't have those kinds of limitations. I'm not really sure what knobs snapcraft exposes these days to make that VM usable.
Perfect! Thanks for the suggestion. The use of snapcraft --use-lxd
solves the issue. Unfortunately the multipass is used by default for snapcraft without parameters.
from nextcloud-snap.
Related Issues (20)
- PHP SOAP in SNAP-container 'nextcloud_39212.snap' HOT 1
- Keep getting 526 invalid cert error from cloudflare (full) HOT 14
- Upgrade Nextcloud to 28.0.2 HOT 2
- nextcloud: update to 26.0.11 HOT 1
- Error on mail app after update to 3.5.0 HOT 5
- Need Help my installation isn't accessible from ip adress on what it were Broadcasting! :( HOT 14
- Upgrade from 27.1.4.1 to 27.1.6.2 FAILED - Stuck in maintenance mode HOT 8
- [BROKEN TRASH BIN] Upgrade Nextcloud to 27.1.7 (Once released) HOT 4
- Snap's MariaDB/MySQL prevents use of other DB on host, while also not usable by other applications HOT 35
- Nextcloud Snap prevents any other apps from using any MariaDB HOT 2
- Cannot activate https with existing certificates HOT 9
- Is there a way to boost the speed and lower the weight on access devices? HOT 34
- How to Complete those things? HOT 6
- How to enable-https with a tailscale cert? HOT 7
- Dav endpoints redirecting incorrectly HOT 4
- how to show upload speed HOT 11
- Update Nextcloud to 28.0.3 HOT 1
- Update nextcloud to 27.1.7 HOT 4
- Apparmor errors smaps_rollup with CODE HOT 2
- PHP OPcache performance tuning to benefit the Nextcloud snap HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nextcloud-snap.