Hi samuel-emrys. I'm trying to follow your guide to install NextCloud 15 in FreeNAS 11.1-U6 using php72. When I got to the part about running the OCC command, the command fails as it seems OCC is missing from /usr/local/www/nextcloud/ and I have no idea how to proceed.
I accidentally installed php71-pecl-redis but later installed php72-pecl-redis which removed php71-pecl-redis so I thought I was still good to go. Output from terminal:
Any idea what I did wrong? I'm going to try starting over again later but if this can be figured out I'd rather do that.
I accidentally installed php71-pecl-redis but later installed php72-pecl-redis which removed php71-pecl-redis so I thought I was still good to go. Output from terminal:
root@nextcloud:/usr/local/etc/apache24/Includes # pkg install php72-pecl-redis
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 3 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
php72-pecl-redis: 4.2.0
php72-session: 7.2.13
php72: 7.2.13
Number of packages to be installed: 3
The process will require 25 MiB more space.
131 KiB to be downloaded.
Proceed with this action? [y/N]: y
[nextcloud] [1/1] Fetching php72-pecl-redis-4.2.0.txz: 100% 131 KiB 134.1kB/s 00:01
Checking integrity... done (3 conflicting)
- php72-pecl-redis-4.2.0 conflicts with php71-pecl-redis-4.2.0 on /usr/local/include/php/ext/redis/redis_commands.h
- php72-session-7.2.13 conflicts with php71-session-7.1.25 on /usr/local/include/php/ext/session/php_session.h
- php72-7.2.13 conflicts with php71-7.1.25 on /usr/local/bin/php
Checking integrity... done (0 conflicting)
Conflicts with the existing packages have been found.
One more solver iteration is needed to resolve them.
The following 7 package(s) will be affected (of 0 checked):
Installed packages to be REMOVED:
php71-pecl-APCu-5.1.16
php71-7.1.25
php71-session-7.1.25
php71-pecl-redis-4.2.0
New packages to be INSTALLED:
php72: 7.2.13
php72-session: 7.2.13
php72-pecl-redis: 4.2.0
Number of packages to be removed: 4
Number of packages to be installed: 3
The process will require 1 MiB more space.
Proceed with this action? [y/N]: y
[nextcloud] [1/7] Deinstalling php71-pecl-redis-4.2.0...
[nextcloud] [1/7] Deleting files for php71-pecl-redis-4.2.0: 100%
[nextcloud] [2/7] Deinstalling php71-pecl-APCu-5.1.16...
[nextcloud] [2/7] Deleting files for php71-pecl-APCu-5.1.16: 100%
[nextcloud] [3/7] Deinstalling php71-session-7.1.25...
[nextcloud] [3/7] Deleting files for php71-session-7.1.25: 100%
[nextcloud] [4/7] Deinstalling php71-7.1.25...
[nextcloud] [4/7] Deleting files for php71-7.1.25: 100%
[nextcloud] [5/7] Installing php72-7.2.13...
[nextcloud] [5/7] Extracting php72-7.2.13: 100%
[nextcloud] [6/7] Installing php72-session-7.2.13...
[nextcloud] [6/7] Extracting php72-session-7.2.13: 100%
[nextcloud] [7/7] Installing php72-pecl-redis-4.2.0...
[nextcloud] [7/7] Extracting php72-pecl-redis-4.2.0: 100%
root@nextcloud:/usr/local/etc/apache24/Includes # pkg install php72-pecl-APCu
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
php72-pecl-APCu: 5.1.16
Number of packages to be installed: 1
Proceed with this action? [y/N]: y
[nextcloud] [1/1] Installing php72-pecl-APCu-5.1.16...
[nextcloud] [1/1] Extracting php72-pecl-APCu-5.1.16: 100%
root@nextcloud:/usr/local/etc/apache24/Includes # su -m www -c 'php /usr/local/www/nextcloud/occ config:system:set redis host --value="/tmp/redis.sock"'
Could not open input file: /usr/local/www/nextcloud/occ
root@nextcloud:/usr/local/etc/apache24/Includes # ls /usr/local/www/nextcloud/occ
ls: /usr/local/www/nextcloud/occ: No such file or directory
root@nextcloud:/usr/local/etc/apache24/Includes # cd /usr/local/www/nextcloud/
root@nextcloud:/usr/local/www/nextcloud # ls -la
total 11
drwxr-xr-x 5 www www 6 Dec 31 23:46 .
drwxr-xr-x 4 root wheel 4 Dec 31 21:53 ..
-rw-r--r-- 1 www www 2928 Dec 31 23:22 .htaccess
drwxr-xr-x 2 www www 3 Dec 31 23:46 config
drwxr-xr-x 2 www www 4 Dec 31 23:21 data
drwxr-xr-x 2 www www 2 Dec 31 23:46 themes
root@nextcloud:/usr/local/www/nextcloud # locate occ
/usr/bin/proccontrol
/usr/include/sys/ioccom.h
/usr/include/sys/procctl.h
/usr/local/lib/perl5/site_perl/mach/5.28/sys/ioccom.ph
/usr/local/lib/perl5/site_perl/mach/5.28/sys/procctl.ph
/usr/sbin/procctl
/usr/share/man/man2/procctl.2.gz
/usr/share/man/man3/sysdecode_procctl_cmd.3.gz
/usr/share/man/man8/procctl.8.gz
/usr/src/lib/libc/sys/procctl.2
/usr/src/sys/kern/kern_procctl.c
/usr/src/sys/sys/ioccom.h
/usr/src/sys/sys/procctl.h
/usr/src/usr.bin/proccontrol
/usr/src/usr.bin/proccontrol/Makefile
/usr/src/usr.bin/proccontrol/Makefile.depend
/usr/src/usr.bin/proccontrol/proccontrol.c
/usr/src/usr.sbin/procctl
/usr/src/usr.sbin/procctl/Makefile
/usr/src/usr.sbin/procctl/Makefile.depend
/usr/src/usr.sbin/procctl/procctl.8
/usr/src/usr.sbin/procctl/procctl.c
root@nextcloud:/usr/local/www/nextcloud #
Any idea what I did wrong? I'm going to try starting over again later but if this can be figured out I'd rather do that.