Ok so I am also trying to install nextcloud on TrueNas core 13.0 U1.1 from the official plugin and getting error:
Error: nextcloud had a failure Exception: RuntimeError Message: pkg error: - php80-pecl-imagick-im7 : Refusing to fetch artifact and run post_install.sh! Partial plugin destroyed
Preinstalled the whole TrueNas OS and I get the same error.
Tried to install Plex plug in , there were no issues with it.
Tried to reiview the logs you mentioned , but I dont think can be helpful as they are not present:
root@truenas[~]# cd /var/log/caddy
cd: no such file or directory: /var/log/caddy
root@truenas[~]# cd /var/log/
root@truenas[/var/log]# ls -l
total 68
-rw------- 1 root wheel 175 Jul 28 14:13 auth.log
-rw------- 1 root wheel 23994 Jul 28 13:51 console.log
-rw------- 1 root wheel 1820 Jul 28 14:11 cron
-rw------- 1 root wheel 19639 Jul 28 14:04 daemon.log
-rw------- 1 root wheel 272 Jul 28 13:53 debug.log
drwxr-xr-x 5 root wheel 5 Jul 28 13:49 libvirt
-rw-r--r-- 1 root wheel 63 Jul 28 13:51 lpd-errs
-rw-r----- 1 root wheel 63 Jul 28 13:51 maillog
-rw------- 1 root wheel 19682 Jul 28 14:12 messages
-rw-r----- 1 root wheel 64483 Jul 28 14:12 middlewared.log
drwxr-xr-x 2 root wheel 3 Jul 28 13:51 nginx
drwxr-xr-x 2 uucp uucp 2 Jul 28 13:49 nut
-rw-r----- 1 root network 63 Jul 28 13:51 ppp.log
drwxr-xr-x 2 root wheel 2 Jul 28 13:51 proftpd
drwxr-xr-x 2 root wheel 2 Jul 28 13:49 samba4
-rw------- 1 root wheel 63 Jul 28 13:51 security
-rw-r----- 1 uucp uucp 63 Jul 28 13:51 ups.log
-rw------- 1 root wheel 1549 Jul 28 13:48 userlog
-rw-r--r-- 1 root wheel 197 Jul 28 14:13 utx.lastlogin
-rw-r--r-- 1 root wheel 71 Jul 28 14:13 utx.log