… which would be a super easy way for installation on many different linux servers without have to care about any dependencies (as they are provided in the isolated snap package (similar to a container in a way)
not sure how complex a snapped application can get actually but WeKan i.e (maybe a bit less complex) has one already.
Actually the question is more whether anybody has attempted to make a snap for ERPNext yet.
I guess we could say goodbye to all the “error on installation” issues with such a possibility … just not 100% sure how customizations or custom Apps can be run under such a scenario but doesn’t anybody else think it would be worth to explore this as an option at least?
thanks everybody. I am aware of virtual machines and containers (LXD, and docker).
Still question remains about looking at snap as a delivery system for a complex thing as ERPNExt.
Would boil down the installation and updating process to just one command (with almost no point of failure).
snapd daemon is available across many Linux distros but more importantly it works really well for those most commonly deployed for production. It is platform agnostic?
I just snap installed lxd and then snap installed open-source NextCloud in a container. The process took few minutes and have a running NextCloud server that self updates with snap releases managed by the developer. All with native Linux snapd daemon. So many apps are now distributed via SNAP
The impact for ERPNext can be dramatic. How many posts we have on this forum related to installation or improper installation? The target customer base is small companies who could use ease of installation and non resource consuming requirements like running infra for virtual machine or docker, etc.
I would definitely support a SNAPstore app development effort.
@Stephen - thanks for your guidance. I have found that the install script works in Ubuntu 18.04 KVM in a lxd container. Create user “frappe” first, add to sudo group, and then login as frappe and run install script for production with flags “–user frappe” and “–container”.
Just installed v13 beta recently and was without issue…
Snaps would be great - but building with docker would make it even more “heavy”… not an expert - far from it - so will leave that decision to the powers that understand it best :-), I did try the docker install method as well and the lxd container size was 18GB. In contrast install script container size around 1.4GB - so dont know if I installed it right… was quite the curve to get docker working inside lxd…
And I don’t doubt at all that snapping up the docker containers would add extra bloat, but I figured if they went that route they would notice less support requests, and then maybe in the future trim it down a bit, but in the meantime maintaining the snapped up docker images wouldn’t be a lot of overheard.