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 70 forks source link

Fix installation using postgres #152

Closed Migsi closed 3 years ago

Migsi commented 3 years ago

Fix path for database not beeing linked properly by iocage fstab, which resulted in a database stored inside the jail. Fix postgres version to match php74 client required one (postgresql12), which made the script fail due to unmet dependencies. It might be woth to investigate a "proper" fix for this, as any php upgrade might cause incompatibilites again. The postgres version could maybe be inferred somehow from the php packages?

EDIT: This is a work in progress as there seem to appear further problems down the line. Still investigating.

Migsi commented 3 years ago

Changes complete, I was able to install and start nextcloud using postgresql and a selfsigned certificate again using these changes. Still setting up accounts and other stuff though.

Migsi commented 3 years ago

Is there anything wrong about this merge request, that should be corrected? Just wondering why it is not merged yet.