Here we go again. The problem is that iX consistently can't get a new release of FreeNAS out before the FreeBSD release on which the current version is based goes EOL. We had that problem with (at least) 11.0 and 11.1, and now it looks like it's cropping up with 11.2. A couple of possible ways around it, but it may take me a couple of days to get the script fixed.
Inside the jail, can you do pkg install php73-pecl-redis
and pkg install php73-pecl-APCu
?
Hi Dan. First THANK YOU for taking the time and for producing this script that helps many people to get Nextcloud going., as it is not a trivial install!!!!
I did read the "discussion" about the issues you are mentioning in the 11.3 thread. If I understand you correctly the FreeBSD version of the Jail is already EOL..
I installed both inside the Jail but not successful. After rebooting my NAS the jail did not started and the following messages occurred. I think perhaps it is better that you fix the script instead of helping me here now. I can wait for the fixed script and then do a reinstall:
RuntimeError
mount_nullfs: /mnt/Main_Pool/Jails/Nextcloud/portsnap/db: No such file or directory jail: /sbin/mount -t nullfs -o rw /mnt/Main_Pool/Jails/Nextcloud/portsnap/db /mnt/Main_Pool/iocage/jails/nextcloud/root/var/db/portsnap: failed
There is NO db in /mnt/Main_Pool/Jails/Nextcloud/portsnap/? (perhaps because the make was terminated during the script?)
This is my mount points (fstab nextcloud):
+-------+-------------------------------------------------------------------------------------------------------------------------------------------+
| INDEX | FSTAB ENTRY |
+=======+===========================================================================================================================================+
| 0 | /mnt/Main_Pool/Jails/Nextcloud/portsnap/db /mnt/Main_Pool/iocage/jails/nextcloud/root/var/db/portsnap nullfs rw 0 0 |
+-------+-------------------------------------------------------------------------------------------------------------------------------------------+
| 1 | /mnt/Main_Pool/files /mnt/Main_Pool/iocage/jails/nextcloud/root/mnt/files nullfs rw 0 0 |
+-------+-------------------------------------------------------------------------------------------------------------------------------------------+
| 2 | /mnt/Main_Pool/db /mnt/Main_Pool/iocage/jails/nextcloud/root/var/db/mysql nullfs rw 0 0 |
+-------+-------------------------------------------------------------------------------------------------------------------------------------------+
Details:
Error: concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/local/lib/python3.6/concurrent/futures/process.py", line 175, in _process_worker
r = call_item.fn(*call_item.args, **call_item.kwargs)
File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 133, in main_worker
res = loop.run_until_complete(coro)
File "/usr/local/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete
return future.result()
File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 93, in _run
return await self._call(name, serviceobj, methodobj, params=args, job=job)
File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 85, in _call
return methodobj(*params)
File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 85, in _call
return methodobj(*params)
File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 668, in nf
return f(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/jail.py", line 623, in start
iocage.start()
File "/usr/local/lib/python3.6/site-packages/iocage_lib/iocage.py", line 1653, in start
callback=self.callback
File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_start.py", line 67, in __init__
self.__start_jail__()
File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_start.py", line 413, in __start_jail__
silent=self.silent)
File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_common.py", line 90, in logit
_callback(content, exception)
File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_common.py", line 64, in callback
raise callback_exception(message)
RuntimeError: mount_nullfs: /mnt/Main_Pool/Jails/Nextcloud/portsnap/db: No such file or directory
jail: /sbin/mount -t nullfs -o rw /mnt/Main_Pool/Jails/Nextcloud/portsnap/db /mnt/Main_Pool/iocage/jails/nextcloud/root/var/db/portsnap: failed
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 165, in call_method
result = await self.middleware.call_method(self, message)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1096, in call_method
return await self._call(message['method'], serviceobj, methodobj, params, app=app, io_thread=False)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1041, in _call
return await self._call_worker(name, *args)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1061, in _call_worker
return await self.run_in_proc(main_worker, name, args, job)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 995, in run_in_proc
return await self.run_in_executor(self.__procpool, method, *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 971, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
RuntimeError: mount_nullfs: /mnt/Main_Pool/Jails/Nextcloud/portsnap/db: No such file or directory
jail: /sbin/mount -t nullfs -o rw /mnt/Main_Pool/Jails/Nextcloud/portsnap/db /mnt/Main_Pool/iocage/jails/nextcloud/root/var/db/portsnap: failed