# Is it better to install Nextcloud via snap or setup a web server?

**URL:** <https://help.nextcloud.com/t/is-it-better-to-install-nextcloud-via-snap-or-setup-a-web-server/77237>\
**Category:** ℹ️ Support\
**Created:** [April 9, 2020, 4:50pm UTC](https://help.nextcloud.com/t/is-it-better-to-install-nextcloud-via-snap-or-setup-a-web-server/77237 "2020-04-09T16:50:16Z")\
**Posts on this page:** 7\
**Page:** 2

<div class="post-metadata">

**Author:** ![anon9582441](https://help.nextcloud.com/letter_avatar/anon9582441/32/6_22734026db12803ebb3e059622ac3534.png) [@anon9582441](https://help.nextcloud.com/u/anon9582441)\
**Post date:** [April 15, 2020, 4:23pm UTC](https://help.nextcloud.com/t/is-it-better-to-install-nextcloud-via-snap-or-setup-a-web-server/77237/21 "2020-04-15T16:23:33Z")

</div>

Regarding docker:

1. More complicated network setup, especially if routing, firewalling and other http servers are on use on the same machine.
2. Does not support unified cgroups (a.k.a cgroups v2).
3. local storage set up, including backup might be more difficult.

---

<div class="post-metadata">

**Author:** ![anon99283430](https://help.nextcloud.com/letter_avatar/anon99283430/32/6_22734026db12803ebb3e059622ac3534.png) [@anon99283430](https://help.nextcloud.com/u/anon99283430)\
**Post date:** [April 15, 2020, 4:54pm UTC](https://help.nextcloud.com/t/is-it-better-to-install-nextcloud-via-snap-or-setup-a-web-server/77237/22 "2020-04-15T16:54:36Z")

</div>

> [@KarlF12](#):
>
> That’s just mincing words. The dependencies are automatically and permanently satisfied inside the image such that you don’t have to install them or ever have any conflicts or broken packages.

I was thinking of the dependencies docker and toolings pull in - not the ones that are moved into the container.

---

<div class="post-metadata">

**Author:** ![Reiner\_Nippes](https://help.nextcloud.com/user_avatar/help.nextcloud.com/reiner_nippes/32/9479_2.png) [@Reiner\_Nippes](https://help.nextcloud.com/u/Reiner_Nippes)\
**Post date:** [April 15, 2020, 5:40pm UTC](https://help.nextcloud.com/t/is-it-better-to-install-nextcloud-via-snap-or-setup-a-web-server/77237/23 "2020-04-15T17:40:15Z")

</div>

> [@anon99283430](#):
>
> and you learn more about what and why are you doing things.

and after that you can apply one of the scripts around.

examples:

> **[GitHub - nextcloud/vm: 💻☁📦 The Nextcloud VM (virtual machine appliance),...](https://github.com/nextcloud/vm)**
>
> 💻☁📦 The Nextcloud VM (virtual machine appliance), Home/SME Server and scripts for RPi (4). Community developed and maintained. - GitHub - nextcloud/vm: 💻☁📦 The Nextcloud VM (virtual machine applian...

> **[Nextcloud 23 (Nextcloud Hub II) Installationsskript - Carsten Rieger IT-Services](https://www.c-rieger.de/nextcloud-installation-mit-nur-einem-skript/)**
>
> Nextcloud Installationsskript auf Ubuntu 20.04 focal und Debian 11 bullseye mit nginx, MariaDB, PHP8, Let’s Encrypt, redis, ufw, fail2ban

> **[GitHub - ReinerNippes/nextcloud at nextcloud-reloaded](https://github.com/ReinerNippes/nextcloud/tree/nextcloud-reloaded)**
>
> nextcloud-reloaded

> **[GitHub - ReinerNippes/nextcloud\_on\_docker: Run Nextcloud in Docker Container...](https://github.com/ReinerNippes/nextcloud_on_docker)**
>
> Run Nextcloud in Docker Container on various Linux Hosts - GitHub - ReinerNippes/nextcloud\_on\_docker: Run Nextcloud in Docker Container on various Linux Hosts

> [@joshmorel](#):
>
> you will be in nightmare land

same nightmare without docker. but yes. knowledge is an advandage if thinks go wrong. or ask here in the forum. 😉

---

<div class="post-metadata">

**Author:** ![joshmorel](https://help.nextcloud.com/user_avatar/help.nextcloud.com/joshmorel/32/8709_2.png) [@joshmorel](https://help.nextcloud.com/u/joshmorel)\
**Post date:** [April 15, 2020, 8:52pm UTC](https://help.nextcloud.com/t/is-it-better-to-install-nextcloud-via-snap-or-setup-a-web-server/77237/24 "2020-04-15T20:52:21Z")

</div>

We can agree to disagree. You are obviously passionate about your approach and put a lot of work into the guide and I do appreciate the defenses against the criticisms.

Haven’t changed my mind, that given the information the OP has provided, on average guzzisti’s followed by own are better paths to start with. But hey maybe you’ve pushed me to try it for myself (even in prod 😉).

---

<div class="post-metadata">

**Author:** ![KarlF12](https://help.nextcloud.com/user_avatar/help.nextcloud.com/karlf12/32/46873_2.png) [@KarlF12](https://help.nextcloud.com/u/KarlF12)\
**Post date:** [April 15, 2020, 10:00pm UTC](https://help.nextcloud.com/t/is-it-better-to-install-nextcloud-via-snap-or-setup-a-web-server/77237/25 "2020-04-15T22:00:18Z")

</div>

I tried the snap install myself at first and was almost immediately put off that there was no way to add SMB support, so I tried a manual installation. I don’t use SMB at home but I was also trying out Nextcloud potentially for my clients at the time and lack of SMB support was a non-starter for snap. The Docker version doesn’t include SMB support either but they have a Dockerfile you can download that adds it to the image automatically.

My next hurdle was no matter what I did I could not get Collabora to work. At the time I could only find documentation for running it in Docker, so I was already having to figure Docker out at this point even before putting NC in it.

After messing with it for maybe a couple days I decided to try putting the whole setup in Docker to see if that would help. Still took a while to get the kinks worked out of Collabora but I got everything working. The compose file makes the setup very easy to reproduce. You can literally copy and paste it, change names and passwords, and flip the on switch, and the whole thing comes up (minus the reverse proxy and LE). That makes it really easy to reproduce on other networks which I’ve done several times now.

Been running like a champ ever since and haven’t looked back. I even have Kodi stream movies over WebDAV from it in the house.

---

<div class="post-metadata">

**Author:** ![system](https://help.nextcloud.com/user_avatar/help.nextcloud.com/system/32/29333_2.png) [@system](https://help.nextcloud.com/u/system)\
**Post date:** [September 23, 2024, 4:48pm UTC](https://help.nextcloud.com/t/is-it-better-to-install-nextcloud-via-snap-or-setup-a-web-server/77237/26 "2024-09-23T16:48:53Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 12, 2024, 6:18am UTC](https://help.nextcloud.com/t/is-it-better-to-install-nextcloud-via-snap-or-setup-a-web-server/77237/27 "2024-12-12T06:18:37Z")

</div>



[Previous page](https://help.nextcloud.com/t/is-it-better-to-install-nextcloud-via-snap-or-setup-a-web-server/77237.md?page=1)
