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
250 stars 71 forks source link

autostart on boot, #195

Closed EhabKan closed 1 year ago

EhabKan commented 1 year ago

the nextcloud jail is not autostarting on truenas boot. it's starting normally when I press start on the jails GUI in truenas but not auto starting, note: the jail setting is set to Boot: on

Thought about creating an init script from Init/shutdown scripts from truenas Tasks to start it on boot by putting this command "/etc/rc.d/jail onestart nextcloud" but it didn't start giving me this: "Starting jails: /etc/rc.d/jail: WARNING: Invalid configuration for nextcloud (no jail.conf, no hostname, or no path). Jail nextcloud was ignored."

danb35 commented 1 year ago

That sounds like a bug in TrueNAS; suggest you report it at https://ixsystems.atlassian.net/jira/