Nextcloud Pi Container Error

Hi all, I’ve been unable to get Nextcloud Pi to deploy correctly on my mounted SSD. I want to use my SSD due to space issues. Every time I try to deploy it, it runs into some kind of permissions issue with /usr/local/bin that I’ve been unable to figure out how to fix. I’ve attached the log below. Any help would be appreciated!

Starting PHP-fpm

Starting Apache

INFO: Docker container detected.

Starting mariaDB

2022-12-22 18:59:48 0 [Note] mysqld (mysqld 10.5.15-MariaDB-0+deb11u1) starting as process 245 …

2022-12-22 18:59:48 0 [Warning] The parameter innodb_file_format is deprecated and has no effect. It may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/

2022-12-22 18:59:48 0 [Warning] The parameter innodb_buffer_pool_instances is deprecated and has no effect.

2022-12-22 18:59:48 0 [Note] InnoDB: Uses event mutexes

2022-12-22 18:59:48 0 [Note] InnoDB: Compressed tables use zlib 1.2.11

2022-12-22 18:59:48 0 [Note] InnoDB: Number of pools: 1

2022-12-22 18:59:48 0 [Note] InnoDB: Using ARMv8 crc32 instructions

2022-12-22 18:59:48 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)

2022-12-22 18:59:48 0 [Note] InnoDB: Using Linux native AIO

2022-12-22 18:59:48 0 [Note] InnoDB: Initializing buffer pool, total size = 268435456, chunk size = 134217728

2022-12-22 18:59:48 0 [Note] InnoDB: Completed initialization of buffer pool

2022-12-22 18:59:48 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=1240157,1240157

2022-12-22 18:59:48 0 [Note] InnoDB: Starting final batch to recover 31 pages from redo log.

2022-12-22 18:59:49 0 [Note] InnoDB: 128 rollback segments are active.

2022-12-22 18:59:49 0 [Note] InnoDB: Removed temporary tablespace data file: “ibtmp1”

2022-12-22 18:59:49 0 [Note] InnoDB: Creating shared tablespace for temporary tables

2022-12-22 18:59:49 0 [Note] InnoDB: Setting file ‘./ibtmp1’ size to 12 MB. Physically writing the file full; Please wait …

2022-12-22 18:59:49 0 [Note] InnoDB: File ‘./ibtmp1’ size is now 12 MB.

2022-12-22 18:59:49 0 [Note] InnoDB: 10.5.15 started; log sequence number 1317971; transaction id 2783

2022-12-22 18:59:49 0 [Note] InnoDB: Loading buffer pool(s) from /data/database/ib_buffer_pool

2022-12-22 18:59:49 0 [Note] Plugin ‘FEEDBACK’ is disabled.

2022-12-22 18:59:49 0 [Note] Server socket created on IP: ‘127.0.0.1’.

2022-12-22 18:59:49 0 [Note] Reading of all Master_info entries succeeded

2022-12-22 18:59:49 0 [Note] Added new Master_info ‘’ to hash table

2022-12-22 18:59:49 0 [Note] mysqld: ready for connections.

Version: ‘10.5.15-MariaDB-0+deb11u1’ socket: ‘/run/mysqld/mysqld.sock’ port: 3306 Debian 11

2022-12-22 18:59:49 0 [Note] InnoDB: Buffer pool(s) load completed at 221222 18:59:49

Starting Redis

Starting Cron

Starting Postfix

������

Provisioning

Provisioning Redis password

Updating NextCloud config with Redis password

Provisioning MariaDB password

Updating NextCloud config with MariaDB password

Running nc-limits

Using 6143090688 for PHP max memory

Using 6 PHP threads

INFO: Restoring template to default settings

2022-12-22 19:00:01 0 [Note] mysqld (initiated by: root[root] @ localhost ): Normal shutdown

2022-12-22 19:00:01 0 [Note] Event Scheduler: Purging the queue. 0 events

2022-12-22 19:00:01 0 [Note] InnoDB: FTS optimize thread exiting.

2022-12-22 19:00:01 0 [Note] InnoDB: Starting shutdown…

2022-12-22 19:00:01 0 [Note] InnoDB: Dumping buffer pool(s) to /data/database/ib_buffer_pool

2022-12-22 19:00:01 0 [Note] InnoDB: Buffer pool(s) dump completed at 221222 19:00:01

2022-12-22 19:00:01 0 [Note] InnoDB: Removed temporary tablespace data file: “ibtmp1”

2022-12-22 19:00:01 0 [Note] InnoDB: Shutdown completed; log sequence number 1318509; transaction id 2784

2022-12-22 19:00:01 0 [Note] mysqld: Shutdown complete

Stopping MariaDB database server: mariadbd.

Starting MariaDB database server: mariadbd.

Stopping redis-server: redis-server.

Starting redis-server: redis-server.

Starting notify_push daemon

Configuring Domain

/usr/local/bin/nextcloud-domain.sh: line 22: /usr/local/bin/ncc: Permission denied

/usr/local/bin/nextcloud-domain.sh: line 23: /usr/local/bin/ncc: Permission denied

/usr/local/bin/nextcloud-domain.sh: line 27: /usr/local/bin/ncc: Permission denied

/usr/local/bin/nextcloud-domain.sh: line 27: /usr/local/bin/ncc: Permission denied

/usr/local/bin/nextcloud-domain.sh: line 27: /usr/local/bin/ncc: Permission denied