Hi again,
and thank you for your patience.
I played alround a bit and did a test installation of owncloud on the native webserver of N4F and the included SQLite installation of ownCloud.
No problem to mount the folder there. Al rights set properly.
So this is definitely an issue of handing over the folder to the jail.
Nostalgist92 wrote:
Some other things i'd probably check:
Is the dataset set up correctly in the jail configuration?
I tend to just use the fstab for mounting instead of the "ZFS dataset, mounted to jail" option with thebrig.
Here's an example of the fstab entry out of my jail, it mounts my music/videos etc. as read only in to the owncloud jail
/mnt/Storage/Media /mnt/Storage/System/Jails/OwnCloud/mnt/Media nullfs ro 0 0
"Tried the ZFS dataset" mounting option before and now also tried your suggestion with the fstab.
In both cases my jail doen't start correctly anymore. Got no jail IP/ID afterwards and can't access to ownCloud.
Don't know what's going wrong?
When I do neiher of both mount ways and got ownCloud running in the jail, I tried mounting from inside ownCloud. I simply entered the path to the folder there like: /mnt/pool/Datafolder. I got the green dot, saying owncloud found the folder. But when I want to access, I just get thrown back to the home directory of ownCloud without any message or warning.
Found this output in ownCloud error log related to the folder to mount:
Code: Select all
Error PHP filesize(): stat failed for /mnt/pool1/Datenschleuder/ at /usr/local/www/owncloud/lib/private/largefilehelper.php#196 2015-08-19T16:19:20+00:00
Error PHP stat(): stat failed for /mnt/pool1/Datenschleuder/ at /usr/local/www/owncloud/lib/private/files/storage/local.php#123 2015-08-19T16:19:20+00:00
Error PHP Array to string conversion at /usr/local/www/owncloud/lib/private/template/functions.php#36 2015-08-19T16:19:09+00:00
Any ideas?
By the way: Every time I do some changes in the jail and then save the changes, I have to readd mySQL as a user like you showed before.