NCP Curl Installer on LXC swap errors

Has anyone successfully installed NCP using the curl installer on an lxc I am running into errors near the very end with Failed to start dphys-swapfile - set up, mount/unmount, and delete a swap file.

I am running a fresh and updated Debian 10.5 LXC on proxmox.

Her is my config and the full error, every thing was running smoothly up until here. I cannot access nextcloud or NCP at this point.
image

Installing nc-snapshot
--2020-09-11 05:00:18--  https://raw.githubusercontent.com/nachoparker/btrfs-snp/master/btrfs-snp
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.128.133, 151.101.64.133, 151.101.192.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.128.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3603 (3.5K) [text/plain]
Saving to: '/usr/local/bin/btrfs-snp'

/usr/local/bin/btrfs-snp                       100%[====================================================================================================>]   3.52K  --.-KB/s    in 0s

2020-09-11 05:00:18 (28.1 MB/s) - '/usr/local/bin/btrfs-snp' saved [3603/3603]

Installing nc-static-IP
Installing nc-swapfile
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://ftp.debian.org/debian buster InRelease
Hit:3 http://ftp.debian.org/debian buster-updates InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  dc
The following NEW packages will be installed:
  dc dphys-swapfile
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 93.6 kB of archives.
After this operation, 218 kB of additional disk space will be used.
Get:1 http://ftp.debian.org/debian buster/main amd64 dc amd64 1.07.1-2+b1 [72.3 kB]
Get:2 http://ftp.debian.org/debian buster/main amd64 dphys-swapfile all 20100506-5 [21.3 kB]
Fetched 93.6 kB in 1s (114 kB/s)
Selecting previously unselected package dc.
(Reading database ... 27750 files and directories currently installed.)
Preparing to unpack .../dc_1.07.1-2+b1_amd64.deb ...
Unpacking dc (1.07.1-2+b1) ...
Selecting previously unselected package dphys-swapfile.
Preparing to unpack .../dphys-swapfile_20100506-5_all.deb ...
Unpacking dphys-swapfile (20100506-5) ...
Setting up dc (1.07.1-2+b1) ...
Setting up dphys-swapfile (20100506-5) ...
Job for dphys-swapfile.service failed because the control process exited with error code.
See "systemctl status dphys-swapfile.service" and "journalctl -xe" for details.
invoke-rc.d: initscript dphys-swapfile, action "start" failed.
* dphys-swapfile.service - dphys-swapfile - set up, mount/unmount, and delete a swap file
   Loaded: loaded (/lib/systemd/system/dphys-swapfile.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2020-09-11 05:00:23 UTC; 16ms ago
     Docs: man:dphys-swapfile(8)
  Process: 28404 ExecStart=/sbin/dphys-swapfile setup (code=exited, status=0/SUCCESS)
  Process: 28437 ExecStart=/sbin/dphys-swapfile swapon (code=exited, status=255/EXCEPTION)
 Main PID: 28437 (code=exited, status=255/EXCEPTION)

Sep 11 05:00:23 nctest systemd[1]: Starting dphys-swapfile - set up, mount/unmount, and delete a swap file...
Sep 11 05:00:23 nctest dphys-swapfile[28404]: computing size, want /var/swap=4116MByte, restricting to 50% of remaining disk size: 3919MBytes, restricting to config limit: 2048MBytes, generating swapfile ... of 2048MBytes
Sep 11 05:00:23 nctest dphys-swapfile[28437]: swapon: /var/swap: swapon failed: Operation not permitted
Sep 11 05:00:23 nctest systemd[1]: dphys-swapfile.service: Main process exited, code=exited, status=255/EXCEPTION
Sep 11 05:00:23 nctest systemd[1]: dphys-swapfile.service: Failed with result 'exit-code'.
Sep 11 05:00:23 nctest systemd[1]: Failed to start dphys-swapfile - set up, mount/unmount, and delete a swap file.
dpkg: error processing package dphys-swapfile (--configure):
 installed dphys-swapfile package post-installation script subprocess returned error exit status 1
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for systemd (241-7~deb10u4) ...
Errors were encountered while processing:
 dphys-swapfile
E: Sub-process /usr/bin/dpkg returned an error code (1)
Running nc-init
Setting up a clean Nextcloud instance... wait until message 'NC init done'
Setting up database...
Setting up Nextcloud...
Nextcloud was successfully installed
Set mode for background jobs to 'cron'
System config value tempdirectory set to string /var/www/nextcloud/data/tmp
System config value mysql.utf8mb4 set to boolean true
System config value trusted_domains => 11 set to string [redacted]
System config value trusted_domains => 1 set to string [redacted]
System config value trusted_domains => 5 set to string nextcloudpi.local
System config value trusted_domains => 7 set to string nextcloudpi
System config value trusted_domains => 8 set to string nextcloudpi.lan
System config value mail_smtpmode set to string sendmail
System config value mail_smtpauthtype set to string LOGIN
System config value mail_from_address set to string admin
System config value mail_domain set to string ownyourbits.com
cp: cannot stat '/var/www/ncp-app': No such file or directory
root@nctest:~#

btrfs does not support swap
check https://github.com/nextcloud/nextcloudpi/issues/713

also resolved here Help please to install NCP on Armbian (Cubietruck)