danb35 / freenas-iocage-nextcloud

Script to create an iocage jail on FreeNAS for the latest Nextcloud 28 release, including Caddy, MariaDB or PostgreSQL, and Let's Encrypt
GNU General Public License v3.0
258 stars 71 forks source link

Disable ports and move ports pkgs #117

Closed PrivatePuffin closed 4 years ago

PrivatePuffin commented 4 years ago

TL:DR

Long story: One package are adviced by the Nextcloud documentation to be installed, it's little work to just add it: "php73-bcmath"

One package should actually be required to use APCu caching but isn't currently included. I just added it, because it's no work at all: "php73-pecl-APCu"

Two Packages are installed using ports. But are currently available to be installed using pkgs and work fine. Installing them using pkgs instead of ports speeds up install significantly.

The jail side of ports commands are commented out. They are not removed to make it as easy as possible to use them again if needed in the future.

danb35 commented 4 years ago

At the time, there was a problem installing those packages using the pkg, though it's been a while ago so I don't remember the exact problem. They install and work properly using the pkg now?

PrivatePuffin commented 4 years ago

@danb35 Well, I applied the same fix here: https://github.com/jailmanager/jailman/pull/130

And it installs fine, I can login fine and I can browse the basic apps+settings fine... So I think I can say: I tested it and it works fine...